Previous 199869 Revisions Next

r23833 Friday 21st June, 2013 at 14:44:06 UTC by Miodrag Milanović
changed rest of devices (except cpu cores) to have shortname and sourcefile (nw)
[src/emu]device.h diserial.c screen.c softlist.c speaker.c timer.c
[src/emu/imagedev]bitbngr.c cartslot.c cassette.c chd_cd.c flopdrv.c floppy.c harddriv.c midiin.c midiout.c printer.c serial.c snapquik.c
[src/emu/machine]53c810.c 6522via.c 6525tpi.c 6526cia.c 6526cia.h 6532riot.c 6821pia.c 6840ptm.c 6850acia.c 68681.c 7200fifo.c 74123.c 74145.c 74148.c 74153.c 7474.c 8257dma.c aakart.c adc0808.c adc083x.c adc083x.h adc1038.c adc1213x.c adc1213x.h am53cf96.c am9517a.c amigafdc.c at28c16.c at29040a.c at45dbxx.c at45dbxx.h ataintf.c ataintf.h ay31015.c ay31015.h bankdev.c cdp1852.c cdp1871.c com8116.c ctronics.c ds1302.c ds2401.c ds2404.c ds75160a.c ds75161a.c e0516.c eeprom.c er2055.c er59256.c f3853.c i2cmem.c i8155.c i8212.c i8214.c i8243.c i8251.c i8255.c i8279.c i8355.c idectrl.c idectrl.h im6402.c ins8154.c intelfsh.c intelfsh.h jvsdev.c jvsdev.h jvshost.c jvshost.h k033906.c k053252.c k056230.c latch8.c lc89510.c m6m80011ap.c mb14241.c mb3773.c mb87078.c mb89371.c mc146818.c mc2661.c mc6843.c mc6846.c mc6852.c mc6854.c mc68901.c mccs1850.c mcf5206e.c microtch.c microtch.h mm58274c.c mm74c922.c mos6526.c mos6526.h mos6529.c mos6530.c mos6551.c msm5832.c msm58321.c msm6242.c n68681.c ncr539x.c netlist.c nmc9306.c nscsi_bus.c nvram.c pcf8593.c pci.c pd4990a.c pic8259.c pit8253.c pit8253.h pla.c pla.h ram.c roc10937.c roc10937.h rp5c01.c rp5c15.c rp5h01.c rtc4543.c rtc65271.c rtc9701.c s3520cf.c s3c2400.c s3c2410.c s3c2440.c scsibus.c secflash.c secflash.h seibu_cop.c serflash.c smc91c9x.c smc91c9x.h spchrom.c tc009xlvc.c timekpr.c timekpr.h tms6100.c tms6100.h tms9901.c tms9902.c upd1990a.c upd1990a.h upd4701.c upd7002.c v3021.c vt83c461.c wd11c00_17.c wd17xx.c wd17xx.h wd2010.c wd33c93.c wd_fdc.c wd_fdc.h x2212.c x76f041.c x76f100.c z80ctc.c z80dart.c z80dma.c z80pio.c z80sio.c z80sti.c z8536.c
[src/emu/sound]speaker.c
[src/emu/video]315_5124.c 315_5124.h cdp1861.c cdp1862.c crt9007.c crt9021.c crt9212.c dl1416.c dl1416.h dm9368.c ef9340_1.c hd44102.c hd44352.c hd63484.c hd66421.c huc6202.c huc6260.c huc6261.c huc6270.c huc6272.c i8244.c i8244.h i8275.c i8275x.c k053250.c mc6845.c mc6845.h mc6847.c mc6847.h pc_vga.c pc_vga.h psx.c psx.h ramdac.c s2636.c tlc34076.c tms3556.c tms9927.c tms9927.h tms9928a.c tms9928a.h upd3301.c upd7227.c voodoo.c voodoo.h
[src/mame/drivers]cobra.c
[src/mame/machine]jvs13551.c megavdp.c mie.c zs01.c
[src/mess/audio]alesis.c arcadia.c channelf.c dai.c gb.c mac.c mea8000.c socrates.c special.c svision.c tvc.c upd1771.c vboy.c vc4000.c vrc6.c wswan.c
[src/mess/drivers]apexc.c esq5505.c pdp1.c pv1000.c tm990189.c tx0.c
[src/mess/machine]3c505.c 64h156.c 68561mpcc.c 6883sam.c 8530scc.c 990_tap.c a2bus.c a2eauxslot.c abc1600_bus.c abcbus.c abckb.c adamexp.c adamnet.c amigakbd.c apollo.c apollo_kbd.c atarifdc.c bw2exp.c c64exp.c c64user.c cbm2exp.c cbm2user.c cbmiec.c coco_vhd.c cococart.c comxexp.c concept_exp.c cpc_rom.c cpcexp.c cs4031.c cs8221.c docg3.c ds1315.c e05a03.c ecbbus.c econet.c einstein.c ep64exp.c epson_sio.c esqvfd.c esqvfd.h fm_scsi.c gb_slot.c gb_slot.h gba_slot.c genpc.c hd63450.c hd64610.c hp48.c i8271.c ieee488.c iq151cart.c isa.c isa.h isa_gus.c kb3600.c kc_keyb.c kcexp.c kcexp.h keyboard.c kr2376.c lh5810.c macrtc.c mb8795.c mb89352.c mc68328.c md_slot.c md_slot.h microdrv.c micropolis.c mos8706.c mos8722.c mos8726.c ncr5380.c nes_slot.c nes_sunsoft_dcs.c nextkbd.c nextmo.c nubus.c nubus_image.c omti8621.c osborne1.c pc9801_cbus.c pc9801_kbd.c pc_kbdc.c pc_lpt.c pce220_ser.c pce_slot.c petcass.c petexp.c petuser.c plus4exp.c plus4user.c psion_pack.c psxcard.c psxcport.c rx01.c s100.c s3c44b0.c sat_slot.c sc499.c sega8_slot.c sega8_slot.h serial.c smartmed.c smc92x4.c smsctrl.c sns_slot.c sns_slot.h strata.c terminal.c thomson.c tms5501.c tvcexp.c upd65031.c upd71071.c vcsctrl.c vic10exp.c vic20exp.c vic20user.c vidbrain_exp.c vip_byteio.c vip_exp.c wangpcbus.c x1.c x68k_hdc.c x68kexp.c z88cart.c zx8302.c
[src/mess/machine/ti99]datamux.c genboard.c joyport.c peribox.c peribox.h ti99_hd.c ti_rs232.c
[src/mess/video]733_asr.c 911_vdt.c crt.c crtc_ega.c ef9345.c gf4500.c gime.c gime.h k1ge.c k1ge.h mos6566.c mos6566.h newport.c s3virge.c t6a04.c uv201.c vic4567.c vtvideo.c vtvideo.h zx8301.c

trunk/src/mame/drivers/cobra.c
r23832r23833
499499const device_type COBRA_JVS = &device_creator<cobra_jvs>;
500500
501501cobra_jvs::cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
502   : jvs_device(mconfig, COBRA_JVS, "COBRA_JVS", tag, owner, clock)
502   : jvs_device(mconfig, COBRA_JVS, "COBRA_JVS", tag, owner, clock, "cobra_jvs", __FILE__)
503503{
504504}
505505
r23832r23833
557557const device_type COBRA_JVS_HOST = &device_creator<cobra_jvs_host>;
558558
559559cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
560   : jvs_host(mconfig, COBRA_JVS_HOST, "COBRA_JVS_HOST", tag, owner, clock)
560   : jvs_host(mconfig, COBRA_JVS_HOST, "COBRA_JVS_HOST", tag, owner, clock, "cobra_jvs_host", __FILE__)
561561{
562562   m_send_ptr = 0;
563563}
trunk/src/mame/machine/megavdp.c
r23832r23833
4141const device_type SEGA_GEN_VDP = &device_creator<sega_genesis_vdp_device>;
4242
4343sega_genesis_vdp_device::sega_genesis_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
44   : sega315_5124_device( mconfig, SEGA315_5246, "Sega Genesis VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true )
44   : sega315_5124_device( mconfig, SEGA315_5246, "Sega Genesis VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega_genesis_vdp", __FILE__)
4545{
4646   m_genesis_vdp_sndirqline_callback = genesis_vdp_sndirqline_callback_default;
4747   m_genesis_vdp_lv6irqline_callback = genesis_vdp_lv6irqline_callback_default;
trunk/src/mame/machine/jvs13551.c
r23832r23833
3131   return INPUT_PORTS_NAME(sega_837_13551_coins);
3232}
3333
34sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "SEGA-837-13551", tag, owner, clock)
34sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "SEGA-837-13551", tag, owner, clock, "sega_837_13551", __FILE__)
3535{
3636   memset(port_tag, 0, sizeof(port_tag));
3737}
trunk/src/mame/machine/mie.c
r23832r23833
7777}
7878
7979mie_jvs_device::mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : jvs_host(mconfig, MIE_JVS, "MIE-JVS", tag, owner, clock)
80   : jvs_host(mconfig, MIE_JVS, "MIE-JVS", tag, owner, clock, "mie_jvs", __FILE__)
8181{
8282}
8383
trunk/src/mame/machine/zs01.c
r23832r23833
3535}
3636
3737zs01_device::zs01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
38   : device_secure_serial_flash(mconfig, ZS01, "ZS01", tag, owner, clock)
38   : device_secure_serial_flash(mconfig, ZS01, "ZS01", tag, owner, clock, "zs01", __FILE__)
3939{
4040}
4141
trunk/src/emu/video/i8275x.c
r23832r23833
8080//-------------------------------------------------
8181
8282i8275x_device::i8275x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
83   : device_t(mconfig, I8275x, "I8275", tag, owner, clock),
83   : device_t(mconfig, I8275x, "I8275", tag, owner, clock, "i8275x", __FILE__),
8484      m_status(0),
8585      m_param_idx(0),
8686      m_param_end(0),
trunk/src/emu/video/crt9212.c
r23832r23833
5353//-------------------------------------------------
5454
5555crt9212_device::crt9212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
56   : device_t(mconfig, CRT9212, "SMC CRT9212", tag, owner, clock)
56   : device_t(mconfig, CRT9212, "SMC CRT9212", tag, owner, clock, "crt9212", __FILE__)
5757{
5858}
5959
trunk/src/emu/video/mc6845.c
r23832r23833
114114}
115115
116116
117mc6845_device::mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
118   : device_t(mconfig, type, name, tag, owner, clock)
117mc6845_device::mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
118   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
119119{
120120}
121121
122122mc6845_device::mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
123   : device_t(mconfig, MC6845, "mc6845", tag, owner, clock)
123   : device_t(mconfig, MC6845, "mc6845", tag, owner, clock, "mc6845", __FILE__)
124124{
125125}
126126
r23832r23833
13701370
13711371
13721372r6545_1_device::r6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1373   : mc6845_device(mconfig, R6545_1, "R6545-1", tag, owner, clock)
1373   : mc6845_device(mconfig, R6545_1, "R6545-1", tag, owner, clock, "r6545_1", __FILE__)
13741374{
13751375}
13761376
13771377
13781378h46505_device::h46505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1379   : mc6845_device(mconfig, H46505, "H46505", tag, owner, clock)
1379   : mc6845_device(mconfig, H46505, "H46505", tag, owner, clock, "h46505", __FILE__)
13801380{
13811381}
13821382
13831383
13841384mc6845_1_device::mc6845_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1385   : mc6845_device(mconfig, MC6845_1, "MC6845-1", tag, owner, clock)
1385   : mc6845_device(mconfig, MC6845_1, "MC6845-1", tag, owner, clock, "mc6845_1", __FILE__)
13861386{
13871387}
13881388
13891389
13901390hd6845_device::hd6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1391   : mc6845_device(mconfig, HD6845, "HD6845", tag, owner, clock)
1391   : mc6845_device(mconfig, HD6845, "HD6845", tag, owner, clock, "hd6845", __FILE__)
13921392{
13931393}
13941394
13951395
13961396c6545_1_device::c6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1397   : mc6845_device(mconfig, C6545_1, "C6545-1", tag, owner, clock)
1397   : mc6845_device(mconfig, C6545_1, "C6545-1", tag, owner, clock, "c6545_1", __FILE__)
13981398{
13991399}
14001400
14011401
14021402sy6545_1_device::sy6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1403   : mc6845_device(mconfig, SY6545_1, "SY6545-1", tag, owner, clock)
1403   : mc6845_device(mconfig, SY6545_1, "SY6545-1", tag, owner, clock, "sy6545_1", __FILE__)
14041404{
14051405}
14061406
14071407
14081408sy6845e_device::sy6845e_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1409   : mc6845_device(mconfig, SY6845E, "SY6845E", tag, owner, clock)
1409   : mc6845_device(mconfig, SY6845E, "SY6845E", tag, owner, clock, "sy6845e", __FILE__)
14101410{
14111411}
14121412
14131413
14141414hd6345_device::hd6345_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1415   : mc6845_device(mconfig, HD6345, "HD6345", tag, owner, clock)
1415   : mc6845_device(mconfig, HD6345, "HD6345", tag, owner, clock, "hd6345", __FILE__)
14161416{
14171417}
14181418
14191419
14201420ams40041_device::ams40041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1421   : mc6845_device(mconfig, AMS40041, "40041", tag, owner, clock)
1421   : mc6845_device(mconfig, AMS40041, "40041", tag, owner, clock, "ams40041", __FILE__)
14221422{
14231423}
14241424
14251425
1426mos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
1427   : mc6845_device(mconfig, type, name, tag, owner, clock),
1426mos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
1427   : mc6845_device(mconfig, type, name, tag, owner, clock, shortname, source),
14281428      device_memory_interface(mconfig, *this),
14291429      m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos8563_videoram_map))
14301430{
r23832r23833
14321432
14331433
14341434mos8563_device::mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1435   : mc6845_device(mconfig, MOS8563, "MOS8563", tag, owner, clock),
1435   : mc6845_device(mconfig, MOS8563, "MOS8563", tag, owner, clock, "mos8563", __FILE__),
14361436      device_memory_interface(mconfig, *this),
14371437      m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos8563_videoram_map))
14381438{
r23832r23833
14401440
14411441
14421442mos8568_device::mos8568_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1443   : mos8563_device(mconfig, MOS8568, "MOS8568", tag, owner, clock)
1443   : mos8563_device(mconfig, MOS8568, "MOS8568", tag, owner, clock, "mos8568", __FILE__)
14441444{
14451445}
14461446
trunk/src/emu/video/cdp1862.c
r23832r23833
7777//-------------------------------------------------
7878
7979cdp1862_device::cdp1862_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, CDP1862, "CDP1862", tag, owner, clock),
80   : device_t(mconfig, CDP1862, "CDP1862", tag, owner, clock, "cdp1862", __FILE__),
8181      m_read_rd(*this),
8282      m_read_bd(*this),
8383      m_read_gd(*this)
trunk/src/emu/video/mc6847.c
r23832r23833
128128//-------------------------------------------------
129129
130130mc6847_friend_device::mc6847_friend_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,
131      const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines)
132   : device_t(mconfig, type, name, tag, owner, clock),
131      const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines, const char *shortname, const char *source)
132   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
133133      m_character_map(fontdata, is_mc6847t1)
134134{
135135   m_tpfs = tpfs;
r23832r23833
542542//  ctor
543543//-------------------------------------------------
544544
545mc6847_base_device::mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs)
546   :   mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, (type == MC6847T1_NTSC) || (type == MC6847T1_PAL), tpfs, 25+191, true)
545mc6847_base_device::mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs, const char *shortname, const char *source)
546   :   mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, (type == MC6847T1_NTSC) || (type == MC6847T1_PAL), tpfs, 25+191, true, shortname, source)
547547{
548548   m_palette = s_palette;
549549
r23832r23833
16821682//-------------------------------------------------
16831683
16841684mc6847_ntsc_device::mc6847_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1685   : mc6847_base_device(mconfig, MC6847_NTSC, "MC6847_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.0)
1685   : mc6847_base_device(mconfig, MC6847_NTSC, "MC6847_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.0, "mc6847_ntsc", __FILE__)
16861686{
16871687}
16881688
r23832r23833
16931693//-------------------------------------------------
16941694
16951695mc6847_pal_device::mc6847_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1696   : mc6847_base_device(mconfig, MC6847_PAL, "MC6847_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0)
1696   : mc6847_base_device(mconfig, MC6847_PAL, "MC6847_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0, "mc6847_pal", __FILE__)
16971697{
16981698}
16991699
r23832r23833
17041704//-------------------------------------------------
17051705
17061706mc6847y_ntsc_device::mc6847y_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1707   : mc6847_base_device(mconfig, MC6847Y_NTSC, "MC6847Y_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.5)
1707   : mc6847_base_device(mconfig, MC6847Y_NTSC, "MC6847Y_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.5, "mc6847y", __FILE__)
17081708{
17091709}
17101710
r23832r23833
17151715//-------------------------------------------------
17161716
17171717mc6847y_pal_device::mc6847y_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1718   : mc6847_base_device(mconfig, MC6847Y_PAL, "MC6847Y_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0)
1718   : mc6847_base_device(mconfig, MC6847Y_PAL, "MC6847Y_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0, "mc6847y_pal", __FILE__)
17191719{
17201720}
17211721
r23832r23833
17261726//-------------------------------------------------
17271727
17281728mc6847t1_ntsc_device::mc6847t1_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1729   : mc6847_base_device(mconfig, MC6847T1_NTSC, "MC6847T1_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, 262.0)
1729   : mc6847_base_device(mconfig, MC6847T1_NTSC, "MC6847T1_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, 262.0, "mc6847t1_ntsc", __FILE__)
17301730{
17311731}
17321732
r23832r23833
17371737//-------------------------------------------------
17381738
17391739mc6847t1_pal_device::mc6847t1_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1740   : mc6847_base_device(mconfig, MC6847T1_PAL, "MC6847T1_PAL", tag, owner, clock, pal_round_fontdata8x12, 313.0)
1740   : mc6847_base_device(mconfig, MC6847T1_PAL, "MC6847T1_PAL", tag, owner, clock, pal_round_fontdata8x12, 313.0, "mc6847t1_pal", __FILE__)
17411741{
17421742}
trunk/src/emu/video/huc6202.c
r23832r23833
3939
4040
4141huc6202_device::huc6202_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42   : device_t(mconfig, HUC6202, "HuC6202", tag, owner, clock)
42   : device_t(mconfig, HUC6202, "HuC6202", tag, owner, clock, "huc6202", __FILE__)
4343{
4444}
4545
trunk/src/emu/video/dm9368.c
r23832r23833
7070//-------------------------------------------------
7171
7272dm9368_device::dm9368_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73   : device_t(mconfig, DM9368, "DM9368", tag, owner, clock),
73   : device_t(mconfig, DM9368, "DM9368", tag, owner, clock, "dm9368", __FILE__),
7474      m_rbi(1),
7575      m_rbo(1)
7676{
trunk/src/emu/video/mc6845.h
r23832r23833
123123public:
124124   // construction/destruction
125125   mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
126   mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
126   mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
127127
128128   /* select one of the registers for reading or writing */
129129   DECLARE_WRITE8_MEMBER( address_w );
r23832r23833
380380                  public device_memory_interface
381381{
382382public:
383   mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
383   mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
384384   mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
385385
386386   virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const;
trunk/src/emu/video/mc6847.h
r23832r23833
9191
9292protected:
9393   mc6847_friend_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,
94      const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines);
94      const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines, const char *shortname, const char *source);
9595
9696   // video mode constants
9797   static const UINT8 MODE_AG      = 0x80;
r23832r23833
510510   DECLARE_WRITE_LINE_MEMBER( inv_w )      { change_mode(MODE_INV, state); }
511511
512512protected:
513   mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs);
513   mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs, const char *shortname, const char *source);
514514
515515   // device-level overrides
516516   virtual void device_start();
trunk/src/emu/video/tms9927.c
r23832r23833
3636const device_type CRT5057 = &device_creator<crt5057_device>;
3737
3838tms9927_device::tms9927_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39            : device_t(mconfig, TMS9927, "TMS9927", tag, owner, clock)
39            : device_t(mconfig, TMS9927, "TMS9927", tag, owner, clock, "tms9927", __FILE__)
4040{
4141}
4242
43tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
44            : device_t(mconfig, type, name, tag, owner, clock)
43tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
44            : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
4545{
4646}
4747
4848crt5027_device::crt5027_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49            : tms9927_device(mconfig, CRT5027, "CRT5027", tag, owner, clock)
49            : tms9927_device(mconfig, CRT5027, "CRT5027", tag, owner, clock, "crt5027", __FILE__)
5050{
5151}
5252
5353crt5037_device::crt5037_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
54            : tms9927_device(mconfig, CRT5037, "CRT5037", tag, owner, clock)
54            : tms9927_device(mconfig, CRT5037, "CRT5037", tag, owner, clock, "crt5037", __FILE__)
5555{
5656}
5757
5858crt5057_device::crt5057_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
59            : tms9927_device(mconfig, CRT5057, "CRT5057", tag, owner, clock)
59            : tms9927_device(mconfig, CRT5057, "CRT5057", tag, owner, clock, "crt5057", __FILE__)
6060{
6161}
6262
trunk/src/emu/video/huc6261.c
r23832r23833
3939
4040
4141huc6261_device::huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42   : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock)
42   : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__)
4343{
4444   // Set up UV lookup table
4545   for ( int ur = 0; ur < 256; ur++ )
trunk/src/emu/video/tms9927.h
r23832r23833
2424{
2525public:
2626   tms9927_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
27   tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
27   tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
2828   ~tms9927_device() {}
2929
3030   DECLARE_WRITE8_MEMBER(write);
trunk/src/emu/video/crt9021.c
r23832r23833
8282//-------------------------------------------------
8383
8484crt9021_device::crt9021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85   : device_t(mconfig, CRT9021, "SMC CRT9021", tag, owner, clock)
85   : device_t(mconfig, CRT9021, "SMC CRT9021", tag, owner, clock, "crt9021", __FILE__)
8686{
8787}
8888
trunk/src/emu/video/voodoo.c
r23832r23833
57305730   }
57315731}
57325732
5733voodoo_device::voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
5734   : device_t(mconfig, type, name, tag, owner, clock)
5733voodoo_device::voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
5734   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
57355735{
57365736   m_token = global_alloc_clear(voodoo_state);
57375737}
r23832r23833
57685768const device_type VOODOO_1 = &device_creator<voodoo_1_device>;
57695769
57705770voodoo_1_device::voodoo_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
5771   : voodoo_device(mconfig, VOODOO_1, "3dfx Voodoo Graphics", tag, owner, clock)
5771   : voodoo_device(mconfig, VOODOO_1, "3dfx Voodoo Graphics", tag, owner, clock, "voodoo_1", __FILE__)
57725772{
57735773}
57745774
r23832r23833
57855785const device_type VOODOO_2 = &device_creator<voodoo_2_device>;
57865786
57875787voodoo_2_device::voodoo_2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
5788   : voodoo_device(mconfig, VOODOO_2, "3dfx Voodoo 2", tag, owner, clock)
5788   : voodoo_device(mconfig, VOODOO_2, "3dfx Voodoo 2", tag, owner, clock, "voodoo_2", __FILE__)
57895789{
57905790}
57915791
r23832r23833
58025802const device_type VOODOO_BANSHEE = &device_creator<voodoo_banshee_device>;
58035803
58045804voodoo_banshee_device::voodoo_banshee_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
5805   : voodoo_device(mconfig, VOODOO_BANSHEE, "3dfx Voodoo Banshee", tag, owner, clock)
5805   : voodoo_device(mconfig, VOODOO_BANSHEE, "3dfx Voodoo Banshee", tag, owner, clock, "voodoo_banshee", __FILE__)
58065806{
58075807}
58085808
r23832r23833
58195819const device_type VOODOO_3 = &device_creator<voodoo_3_device>;
58205820
58215821voodoo_3_device::voodoo_3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
5822   : voodoo_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock)
5822   : voodoo_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock, "voodoo_3", __FILE__)
58235823{
58245824}
58255825
trunk/src/emu/video/psx.c
r23832r23833
1818const device_type CXD8561CQ = &device_creator<cxd8561cq_device>;
1919const device_type CXD8654Q = &device_creator<cxd8654q_device>;
2020
21psxgpu_device::psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
22   device_t(mconfig, type, name, tag, owner, clock),
21psxgpu_device::psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
22   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2323   m_vblank_handler(*this)
2424{
2525}
r23832r23833
4444}
4545
4646cxd8514q_device::cxd8514q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
47   : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q", tag, owner, clock)
47   : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q", tag, owner, clock, "cxd8514q", __FILE__)
4848{
4949}
5050
5151cxd8538q_device::cxd8538q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52   : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q", tag, owner, clock)
52   : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q", tag, owner, clock, "cxd8538q", __FILE__)
5353{
5454}
5555
5656cxd8561q_device::cxd8561q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q", tag, owner, clock)
57   : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q", tag, owner, clock, "cxd8561q", __FILE__)
5858{
5959}
6060
6161cxd8561bq_device::cxd8561bq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : psxgpu_device(mconfig, CXD8561BQ, "CXD8561BQ", tag, owner, clock)
62   : psxgpu_device(mconfig, CXD8561BQ, "CXD8561BQ", tag, owner, clock, "cxd8561bq", __FILE__)
6363{
6464}
6565
6666cxd8561cq_device::cxd8561cq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67   : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ", tag, owner, clock)
67   : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ", tag, owner, clock, "cxd8561cq", __FILE__)
6868{
6969}
7070
7171cxd8654q_device::cxd8654q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72   : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q", tag, owner, clock)
72   : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q", tag, owner, clock, "cxd8654q", __FILE__)
7373{
7474}
7575
trunk/src/emu/video/upd7227.c
r23832r23833
4343//-------------------------------------------------
4444
4545upd7227_device::upd7227_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46   : device_t(mconfig, UPD7227, "uPD7227", tag, owner, clock),
46   : device_t(mconfig, UPD7227, "uPD7227", tag, owner, clock, "upd7227", __FILE__),
4747      device_memory_interface(mconfig, *this),
4848      m_space_config("videoram", ENDIANNESS_BIG, 8, 7, 0, *ADDRESS_MAP_NAME(upd7227_map)),
4949      m_cs(1),
trunk/src/emu/video/voodoo.h
r23832r23833
126126class voodoo_device : public device_t
127127{
128128public:
129   voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
129   voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
130130   ~voodoo_device() { global_free(m_token); }
131131
132132   // access to legacy token
trunk/src/emu/video/psx.h
r23832r23833
187187{
188188public:
189189   // construction/destruction
190   psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
190   psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
191191   virtual machine_config_constructor device_mconfig_additions() const;
192192
193193   // static configuration helpers
trunk/src/emu/video/315_5124.c
r23832r23833
139139
140140
141141sega315_5124_device::sega315_5124_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
142   : device_t( mconfig, SEGA315_5124, "Sega 315-5124", tag, owner, clock )
142   : device_t( mconfig, SEGA315_5124, "Sega 315-5124", tag, owner, clock, "sega315_5124", __FILE__)
143143   , device_memory_interface(mconfig, *this)
144144   , m_cram_size( SEGA315_5124_CRAM_SIZE )
145145   , m_palette_offset( 0 )
r23832r23833
149149}
150150
151151
152sega315_5124_device::sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240)
153   : device_t( mconfig, type, name, tag, owner, clock )
152sega315_5124_device::sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240, const char *shortname, const char *source)
153   : device_t( mconfig, type, name, tag, owner, clock, shortname, source)
154154   , device_memory_interface(mconfig, *this)
155155   , m_cram_size( cram_size )
156156   , m_palette_offset( palette_offset )
r23832r23833
161161
162162
163163sega315_5246_device::sega315_5246_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
164   : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true )
164   : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5246", __FILE__)
165165{
166166}
167167
168168
169169sega315_5378_device::sega315_5378_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
170   : sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true )
170   : sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true, "sega315_5378", __FILE__)
171171{
172172}
173173
trunk/src/emu/video/tms3556.c
r23832r23833
7777//-------------------------------------------------
7878
7979tms3556_device::tms3556_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, TMS3556, "Texas Instruments VDP TMS3556", tag, owner, clock),
80   : device_t(mconfig, TMS3556, "Texas Instruments VDP TMS3556", tag, owner, clock, "tms3556", __FILE__),
8181      device_memory_interface(mconfig, *this),
8282      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(tms3556)),
8383      m_write_ptr(0),
trunk/src/emu/video/315_5124.h
r23832r23833
7373public:
7474   // construction/destruction
7575   sega315_5124_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
76   sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240);
76   sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240, const char *shortname, const char *source);
7777
7878   DECLARE_READ8_MEMBER( vram_read );
7979   DECLARE_WRITE8_MEMBER( vram_write );
trunk/src/emu/video/huc6270.c
r23832r23833
112112
113113
114114huc6270_device::huc6270_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
115   : device_t(mconfig, HUC6270, "Hudson/NEC HuC6270", tag, owner, clock)
115   : device_t(mconfig, HUC6270, "Hudson/NEC HuC6270", tag, owner, clock, "huc6270", __FILE__)
116116{
117117}
118118
trunk/src/emu/video/hd66421.c
r23832r23833
115115//-------------------------------------------------
116116
117117hd66421_device::hd66421_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
118   : device_t(mconfig, HD66421, "Hitachi HD66421 LCD Controller", tag, owner, clock),
118   : device_t(mconfig, HD66421, "Hitachi HD66421 LCD Controller", tag, owner, clock, "hd66421", __FILE__),
119119      device_memory_interface(mconfig, *this),
120120      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(hd66421)),
121121      m_cmd(0),
trunk/src/emu/video/pc_vga.c
r23832r23833
124124const device_type IBM8514A = &device_creator<ibm8514a_device>;
125125const device_type MACH8 = &device_creator<mach8_device>;
126126
127vga_device::vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
128   : device_t(mconfig, type, name, tag, owner, clock)
127vga_device::vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
128   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
129129{
130130}
131131
132132vga_device::vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
133   : device_t(mconfig, VGA, "VGA", tag, owner, clock)
133   : device_t(mconfig, VGA, "VGA", tag, owner, clock, "vga", __FILE__)
134134{
135135}
136136
137svga_device::svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
138   : vga_device(mconfig, type, name, tag, owner, clock)
137svga_device::svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
138   : vga_device(mconfig, type, name, tag, owner, clock, shortname, source)
139139{
140140}
141141
142142tseng_vga_device::tseng_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
143   : svga_device(mconfig, TSENG_VGA, "TSENG_VGA", tag, owner, clock)
143   : svga_device(mconfig, TSENG_VGA, "TSENG_VGA", tag, owner, clock, "tseng_vga", __FILE__)
144144{
145145}
146146
147147trident_vga_device::trident_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
148   : svga_device(mconfig, TRIDENT_VGA, "TRIDENT_VGA", tag, owner, clock)
148   : svga_device(mconfig, TRIDENT_VGA, "TRIDENT_VGA", tag, owner, clock, "trident_vga", __FILE__)
149149{
150150}
151151
152152s3_vga_device::s3_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
153   : ati_vga_device(mconfig, S3_VGA, "S3_VGA", tag, owner, clock)
153   : ati_vga_device(mconfig, S3_VGA, "S3_VGA", tag, owner, clock, "s3_vga", __FILE__)
154154{
155155}
156156
157s3_vga_device::s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
158   : ati_vga_device(mconfig, type, name, tag, owner, clock)
157s3_vga_device::s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
158   : ati_vga_device(mconfig, type, name, tag, owner, clock, shortname, source)
159159{
160160}
161161
162162gamtor_vga_device::gamtor_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
163   : svga_device(mconfig, GAMTOR_VGA, "GAMTOR_VGA", tag, owner, clock)
163   : svga_device(mconfig, GAMTOR_VGA, "GAMTOR_VGA", tag, owner, clock, "gamtor_vga", __FILE__)
164164{
165165}
166166
167167ati_vga_device::ati_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
168   : svga_device(mconfig, ATI_VGA, "ATI_VGA", tag, owner, clock)
168   : svga_device(mconfig, ATI_VGA, "ATI_VGA", tag, owner, clock, "ati_vga", __FILE__)
169169{
170170}
171171
172ati_vga_device::ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
173   : svga_device(mconfig, type, name, tag, owner, clock)
172ati_vga_device::ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
173   : svga_device(mconfig, type, name, tag, owner, clock, shortname, source)
174174{
175175}
176176
177177cirrus_vga_device::cirrus_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
178   : svga_device(mconfig, CIRRUS_VGA, "CIRRUS_VGA", tag, owner, clock)
178   : svga_device(mconfig, CIRRUS_VGA, "CIRRUS_VGA", tag, owner, clock, "cirrus_vga", __FILE__)
179179{
180180}
181181
182182ibm8514a_device::ibm8514a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
183   : device_t(mconfig, IBM8514A, "IBM8514A", tag, owner, clock)
183   : device_t(mconfig, IBM8514A, "IBM8514A", tag, owner, clock, "ibm8514a", __FILE__)
184184{
185185}
186186
187ibm8514a_device::ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
188   : device_t(mconfig, type, name, tag, owner, clock)
187ibm8514a_device::ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
188   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
189189{
190190}
191191
192mach8_device::mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
193   : ibm8514a_device(mconfig, type, name, tag, owner, clock)
192mach8_device::mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
193   : ibm8514a_device(mconfig, type, name, tag, owner, clock, shortname, source)
194194{
195195}
196196
197197mach8_device::mach8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
198   : ibm8514a_device(mconfig, MACH8, "MACH8", tag, owner, clock)
198   : ibm8514a_device(mconfig, MACH8, "MACH8", tag, owner, clock, "mach8", __FILE__)
199199{
200200}
201201
trunk/src/emu/video/huc6272.c
r23832r23833
6464//-------------------------------------------------
6565
6666huc6272_device::huc6272_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67   : device_t(mconfig, huc6272, "huc6272", tag, owner, clock),
67   : device_t(mconfig, huc6272, "huc6272", tag, owner, clock, "huc6272", __FILE__),
6868      device_memory_interface(mconfig, *this),
6969      m_space_config("videoram", ENDIANNESS_LITTLE, 32, 32, 0, NULL, *ADDRESS_MAP_NAME(huc6272_vram))
7070{
trunk/src/emu/video/pc_vga.h
r23832r23833
2424public:
2525   // construction/destruction
2626   vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
27   vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
27   vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
2828
2929
3030   virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
r23832r23833
202202{
203203public:
204204   // construction/destruction
205   svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
205   svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
206206
207207   virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
208208protected:
r23832r23833
231231class ibm8514a_device :  public device_t
232232{
233233public:
234   ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
234   ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
235235   ibm8514a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
236236
237237   void set_vga(const char* tag) { m_vga_tag.cpy(tag); }
r23832r23833
370370class mach8_device :  public ibm8514a_device
371371{
372372public:
373   mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
373   mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
374374   mach8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
375375
376376   READ16_MEMBER(mach8_ec0_r);
r23832r23833
499499public:
500500   // construction/destruction
501501   ati_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
502   ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
502   ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
503503
504504   virtual READ8_MEMBER(mem_r);
505505   virtual WRITE8_MEMBER(mem_w);
r23832r23833
536536public:
537537   // construction/destruction
538538   s3_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
539   s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
539   s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
540540
541541   virtual READ8_MEMBER(port_03b0_r);
542542   virtual WRITE8_MEMBER(port_03b0_w);
trunk/src/emu/video/k053250.c
r23832r23833
33const device_type K053250 = &device_creator<k053250_device>;
44
55k053250_device::k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
6   : device_t(mconfig, K053250, "K053250", tag, owner, clock)
6   : device_t(mconfig, K053250, "K053250", tag, owner, clock, "k053250", __FILE__)
77{
88}
99
trunk/src/emu/video/i8275.c
r23832r23833
410410const device_type I8275 = &device_creator<i8275_device>;
411411
412412i8275_device::i8275_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
413   : device_t(mconfig, I8275, "Intel 8275", tag, owner, clock)
413   : device_t(mconfig, I8275, "Intel 8275", tag, owner, clock, "i8275", __FILE__)
414414{
415415}
416416
trunk/src/emu/video/s2636.c
r23832r23833
367367const device_type S2636 = &device_creator<s2636_device>;
368368
369369s2636_device::s2636_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
370   : device_t(mconfig, S2636, "Signetics 2636", tag, owner, clock)
370   : device_t(mconfig, S2636, "Signetics 2636", tag, owner, clock, "s2636", __FILE__)
371371{
372372   m_token = global_alloc_clear(s2636_state);
373373}
trunk/src/emu/video/tlc34076.c
r23832r23833
4040//  tlc34076_device - constructor
4141//-------------------------------------------------
4242tlc34076_device::tlc34076_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   :   device_t(mconfig, TLC34076, "TLC34076", tag, owner, clock),
43   :   device_t(mconfig, TLC34076, "TLC34076", tag, owner, clock, "tlc34076", __FILE__),
4444      m_dacbits(6)
4545{
4646}
trunk/src/emu/video/cdp1861.c
r23832r23833
4040//-------------------------------------------------
4141
4242cdp1861_device::cdp1861_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : device_t(mconfig, CDP1861, "CDP1861", tag, owner, clock),
43   : device_t(mconfig, CDP1861, "CDP1861", tag, owner, clock, "cdp1861", __FILE__),
4444      m_write_irq(*this),
4545      m_write_dma_out(*this),
4646      m_write_efx(*this)
trunk/src/emu/video/ef9340_1.c
r23832r23833
2222
2323
2424ef9340_1_device::ef9340_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock)
25   : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock, "ef9340_1", __FILE__)
2626   , m_screen_tag(NULL)
2727   , m_screen(NULL)
2828   //, m_start_vpos(START_Y)
trunk/src/emu/video/huc6260.c
r23832r23833
6363
6464
6565huc6260_device::huc6260_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
66   : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock)
66   : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock, "huc6260", __FILE__)
6767{
6868}
6969
trunk/src/emu/video/hd44352.c
r23832r23833
3333//-------------------------------------------------
3434
3535hd44352_device::hd44352_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock):
36   device_t(mconfig, HD44352, "hd44352", tag, owner, clock)
36   device_t(mconfig, HD44352, "hd44352", tag, owner, clock, "hd44352", __FILE__)
3737{
3838}
3939
trunk/src/emu/video/upd3301.c
r23832r23833
193193//-------------------------------------------------
194194
195195upd3301_device::upd3301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
196   : device_t(mconfig, UPD3301, "UPD3301", tag, owner, clock),
196   : device_t(mconfig, UPD3301, "UPD3301", tag, owner, clock, "upd3301", __FILE__),
197197      m_status(0),
198198      m_param_count(0),
199199      m_data_fifo_pos(0),
trunk/src/emu/video/tms9928a.c
r23832r23833
9090   RGB_WHITE
9191};
9292
93tms9928a_device::tms9928a_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99 )
94   : device_t( mconfig, type, name, tag, owner, clock ),
93tms9928a_device::tms9928a_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99, const char *shortname, const char *source)
94   : device_t( mconfig, type, name, tag, owner, clock, shortname, source),
9595      device_memory_interface(mconfig, *this),
9696      m_space_config("vram",ENDIANNESS_BIG, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(memmap))
9797{
r23832r23833
103103
104104
105105tms9928a_device::tms9928a_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
106   : device_t( mconfig, TMS9928A, "TMS9928A", tag, owner, clock ),
106   : device_t( mconfig, TMS9928A, "TMS9928A", tag, owner, clock, "tms9928a", __FILE__),
107107      device_memory_interface(mconfig, *this),
108108   m_space_config("vram",ENDIANNESS_BIG, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(memmap))
109109{
trunk/src/emu/video/hd63484.c
r23832r23833
15791579const device_type HD63484 = &device_creator<hd63484_device>;
15801580
15811581hd63484_device::hd63484_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1582   : device_t(mconfig, HD63484, "HD63484", tag, owner, clock)
1582   : device_t(mconfig, HD63484, "HD63484", tag, owner, clock, "hd63484", __FILE__)
15831583{
15841584   m_token = global_alloc_clear(hd63484_state);
15851585}
trunk/src/emu/video/tms9928a.h
r23832r23833
8787public:
8888   // construction/destruction
8989   tms9928a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
90   tms9928a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz = false, bool is_reva = true, bool is_99 = true);
90   tms9928a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99, const char *shortname, const char *source);
9191
9292   DECLARE_READ8_MEMBER( vram_read );
9393   DECLARE_WRITE8_MEMBER( vram_write );
r23832r23833
160160{
161161public:
162162   tms9918_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
163      : tms9928a_device( mconfig, TMS9918, "TMS9918", tag, owner, clock, false, false, true ) { }
163      : tms9928a_device( mconfig, TMS9918, "TMS9918", tag, owner, clock, false, false, true, "tms9918", __FILE__) { }
164164};
165165
166166
r23832r23833
168168{
169169public:
170170   tms9918a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
171      : tms9928a_device( mconfig, TMS9918A, "TMS9918A", tag, owner, clock, false, true, true ) { }
171      : tms9928a_device( mconfig, TMS9918A, "TMS9918A", tag, owner, clock, false, true, true, "tms9918a", __FILE__) { }
172172};
173173
174174
r23832r23833
176176{
177177public:
178178   tms9118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
179      : tms9928a_device( mconfig, TMS9118, "TMS9118", tag, owner, clock, false, true, false ) { }
179      : tms9928a_device( mconfig, TMS9118, "TMS9118", tag, owner, clock, false, true, false, "tms9118", __FILE__) { }
180180};
181181
182182
r23832r23833
184184{
185185public:
186186   tms9128_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187      : tms9928a_device( mconfig, TMS9128, "TMS9128", tag, owner, clock, false, true, false ) { }
187      : tms9928a_device( mconfig, TMS9128, "TMS9128", tag, owner, clock, false, true, false, "tms9128", __FILE__) { }
188188};
189189
190190
r23832r23833
192192{
193193public:
194194   tms9929_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
195      : tms9928a_device( mconfig, TMS9929, "TMS9929", tag, owner, clock, true, false, true ) { }
195      : tms9928a_device( mconfig, TMS9929, "TMS9929", tag, owner, clock, true, false, true, "tms9929", __FILE__) { }
196196};
197197
198198
r23832r23833
200200{
201201public:
202202   tms9929a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
203      : tms9928a_device( mconfig, TMS9929A, "TMS9929A", tag, owner, clock, true, true, true ) { }
203      : tms9928a_device( mconfig, TMS9929A, "TMS9929A", tag, owner, clock, true, true, true, "tms9929a", __FILE__) { }
204204};
205205
206206
r23832r23833
208208{
209209public:
210210   tms9129_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
211      : tms9928a_device( mconfig, TMS9129, "TMS9129", tag, owner, clock, true, true, false ) { }
211      : tms9928a_device( mconfig, TMS9129, "TMS9129", tag, owner, clock, true, true, false, "tms9129", __FILE__) { }
212212};
213213
214214
trunk/src/emu/video/crt9007.c
r23832r23833
446446//-------------------------------------------------
447447
448448crt9007_device::crt9007_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
449   : device_t(mconfig, CRT9007, "SMC CRT9007", tag, owner, clock),
449   : device_t(mconfig, CRT9007, "SMC CRT9007", tag, owner, clock, "crt9007", __FILE__),
450450      device_memory_interface(mconfig, *this),
451451      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(crt9007))
452452{
trunk/src/emu/video/i8244.c
r23832r23833
9898//-------------------------------------------------
9999
100100i8244_device::i8244_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
101   : device_t(mconfig, I8244, "I8244", tag, owner, clock)
101   : device_t(mconfig, I8244, "I8244", tag, owner, clock, "i8244", __FILE__)
102102   , device_sound_interface(mconfig, *this)
103103   , m_irq_func(*this)
104104   , m_postprocess_func(*this)
r23832r23833
111111}
112112
113113
114i8244_device::i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines)
115   : device_t(mconfig, type, name, tag, owner, clock)
114i8244_device::i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source)
115   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
116116   , device_sound_interface(mconfig, *this)
117117   , m_irq_func(*this)
118118   , m_postprocess_func(*this)
r23832r23833
126126
127127
128128i8245_device::i8245_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
129   : i8244_device(mconfig, I8245, "I8245", tag, owner, clock, i8245_device::LINES)
129   : i8244_device(mconfig, I8245, "I8245", tag, owner, clock, i8245_device::LINES, "i8245", __FILE__)
130130{
131131}
132132
trunk/src/emu/video/dl1416.c
r23832r23833
296296   }
297297}
298298
299dl1416_device::dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
300   : device_t(mconfig, type, name, tag, owner, clock)
299dl1416_device::dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
300   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
301301{
302302   m_token = global_alloc_clear(dl1416_state);
303303}
r23832r23833
334334const device_type DL1416B = &device_creator<dl1416b_device>;
335335
336336dl1416b_device::dl1416b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
337   : dl1416_device(mconfig, DL1416B, "DL1416B", tag, owner, clock)
337   : dl1416_device(mconfig, DL1416B, "DL1416B", tag, owner, clock, "dl1416b", __FILE__)
338338{
339339}
340340
r23832r23833
342342const device_type DL1416T = &device_creator<dl1416t_device>;
343343
344344dl1416t_device::dl1416t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
345   : dl1416_device(mconfig, DL1416T, "DL1416T", tag, owner, clock)
345   : dl1416_device(mconfig, DL1416T, "DL1416T", tag, owner, clock, "dl1416t", __FILE__)
346346{
347347}
trunk/src/emu/video/i8244.h
r23832r23833
8080public:
8181   // construction/destruction
8282   i8244_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
83   i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines);
83   i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source);
8484
8585   // static configuration helpers
8686   static void set_screen_tag(device_t &device, const char *screen_tag) { downcast<i8244_device &>(device).m_screen_tag = screen_tag; }
trunk/src/emu/video/dl1416.h
r23832r23833
5353class dl1416_device : public device_t
5454{
5555public:
56   dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
56   dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
5757   ~dl1416_device() { global_free(m_token); }
5858
5959   // access to legacy token
trunk/src/emu/video/hd44102.c
r23832r23833
6969//-------------------------------------------------
7070
7171hd44102_device::hd44102_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72   : device_t(mconfig, HD44102, "HD44102", tag, owner, clock),
72   : device_t(mconfig, HD44102, "HD44102", tag, owner, clock, "hd44102", __FILE__),
7373      m_cs2(0),
7474      m_page(0),
7575      m_x(0),
trunk/src/emu/video/ramdac.c
r23832r23833
3838//-------------------------------------------------
3939
4040ramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41   : device_t(mconfig, RAMDAC, "ramdac", tag, owner, clock),
41   : device_t(mconfig, RAMDAC, "ramdac", tag, owner, clock, "ramdac", __FILE__),
4242      device_memory_interface(mconfig, *this),
4343      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, NULL, *ADDRESS_MAP_NAME(ramdac_palram))
4444{
trunk/src/emu/sound/speaker.c
r23832r23833
8282const device_type SPEAKER_SOUND = &device_creator<speaker_sound_device>;
8383
8484speaker_sound_device::speaker_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85               : device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock, "speaker", __FILE__),
85               : device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock, "speaker_sound", __FILE__),
8686                  device_sound_interface(mconfig, *this)
8787{
8888}
trunk/src/emu/softlist.c
r23832r23833
3232//-------------------------------------------------
3333
3434software_list_device::software_list_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35   : device_t(mconfig, SOFTWARE_LIST, "Software list", tag, owner, clock),
35   : device_t(mconfig, SOFTWARE_LIST, "Software list", tag, owner, clock, "software_list", __FILE__),
3636      m_list_name(NULL),
3737      m_list_type(SOFTWARE_LIST_ORIGINAL_SYSTEM),
3838      m_filter(NULL)
trunk/src/emu/machine/tms6100.c
r23832r23833
7676
7777const device_type TMS6100 = &device_creator<tms6100_device>;
7878
79tms6100_device::tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, type, name, tag, owner, clock)
79tms6100_device::tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
80   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
8181{
8282}
8383
8484tms6100_device::tms6100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85   : device_t(mconfig, TMS6100, "TMS6100", tag, owner, clock)
85   : device_t(mconfig, TMS6100, "TMS6100", tag, owner, clock, "tms6100", __FILE__)
8686{
8787}
8888
8989const device_type M58819 = &device_creator<m58819_device>;
9090
9191m58819_device::m58819_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
92   : tms6100_device(mconfig, M58819, "M58819", tag, owner, clock)
92   : tms6100_device(mconfig, M58819, "M58819", tag, owner, clock, "m58819", __FILE__)
9393{
9494}
9595
trunk/src/emu/machine/ins8154.c
r23832r23833
4242//-------------------------------------------------
4343
4444ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
45   : device_t(mconfig, INS8154, "INS8154", tag, owner, clock)
45   : device_t(mconfig, INS8154, "INS8154", tag, owner, clock, "ins8154", __FILE__)
4646{
4747}
4848
trunk/src/emu/machine/x76f041.c
r23832r23833
3333const device_type X76F041 = &device_creator<x76f041_device>;
3434
3535x76f041_device::x76f041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36   : device_secure_serial_flash(mconfig, X76F041, "X76F041", tag, owner, clock)
36   : device_secure_serial_flash(mconfig, X76F041, "X76F041", tag, owner, clock, "x76f041", __FILE__)
3737{
3838}
3939
trunk/src/emu/machine/tms6100.h
r23832r23833
99{
1010public:
1111   tms6100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
12   tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
12   tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
1313
1414   DECLARE_WRITE_LINE_MEMBER( tms6100_m0_w );
1515   DECLARE_WRITE_LINE_MEMBER( tms6100_m1_w );
trunk/src/emu/machine/6850acia.c
r23832r23833
5959//-------------------------------------------------
6060
6161acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock)
62   : device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock, "acia6850", __FILE__)
6363{
6464   memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface));
6565}
trunk/src/emu/machine/mm58274c.c
r23832r23833
4646
4747
4848mm58274c_device::mm58274c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49            : device_t(mconfig, MM58274C, "National Semiconductor MM58274C", tag, owner, clock)
49            : device_t(mconfig, MM58274C, "National Semiconductor MM58274C", tag, owner, clock, "mm58274c", __FILE__)
5050{
5151}
5252
trunk/src/emu/machine/wd11c00_17.c
r23832r23833
209209//-------------------------------------------------
210210
211211wd11c00_17_device::wd11c00_17_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
212   : device_t(mconfig, WD11C00_17, "Western Digital WD11C00-17", tag, owner, clock),
212   : device_t(mconfig, WD11C00_17, "Western Digital WD11C00-17", tag, owner, clock, "wd11c00_17", __FILE__),
213213      m_status(0),
214214      m_ra(0),
215215      m_irq5(CLEAR_LINE),
trunk/src/emu/machine/cdp1871.c
r23832r23833
9393//-------------------------------------------------
9494
9595cdp1871_device::cdp1871_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
96   : device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock),
96   : device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock, "cdp1871", __FILE__),
9797      m_inhibit(false),
9898      m_sense(0),
9999      m_drive(0),
trunk/src/emu/machine/adc083x.c
r23832r23833
4949const device_type ADC0834 = &device_creator<adc0834_device>;
5050const device_type ADC0838 = &device_creator<adc0838_device>;
5151
52adc083x_device::adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
53   : device_t(mconfig, type, name, tag, owner, clock),
52adc083x_device::adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
53   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
5454   m_cs(0),
5555   m_clk(0),
5656   m_di(0),
r23832r23833
6767}
6868
6969adc0831_device::adc0831_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
70   : adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock)
70   : adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock, "adc0831", __FILE__)
7171{
7272   m_mux_bits = 0;
7373}
7474
7575adc0832_device::adc0832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock)
76   : adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock, "adc0832", __FILE__)
7777{
7878   m_mux_bits = 2;
7979}
8080
8181adc0834_device::adc0834_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
82   : adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock)
82   : adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock, "adc0834", __FILE__)
8383{
8484   m_mux_bits = 3;
8585}
8686
8787adc0838_device::adc0838_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
88   : adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock)
88   : adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock, "adc0838", __FILE__)
8989{
9090   m_mux_bits = 4;
9191}
trunk/src/emu/machine/scsibus.c
r23832r23833
3232}
3333
3434scsibus_device::scsibus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35   : device_t(mconfig, SCSIBUS, "SCSI bus", tag, owner, clock)
35   : device_t(mconfig, SCSIBUS, "SCSI bus", tag, owner, clock, "scsibus", __FILE__)
3636{
3737}
3838
trunk/src/emu/machine/i8355.c
r23832r23833
9292//-------------------------------------------------
9393
9494i8355_device::i8355_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
95   : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock),
95   : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock, "i8355", __FILE__),
9696      device_memory_interface(mconfig, *this),
9797      m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355))
9898{
trunk/src/emu/machine/ds2401.c
r23832r23833
2828const device_type DS2401 = &device_creator<ds2401_device>;
2929
3030ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DS2401, "DS2401", tag, owner, clock)
31   : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__)
3232{
3333}
3434
trunk/src/emu/machine/adc083x.h
r23832r23833
4343class adc083x_device : public device_t
4444{
4545public:
46   adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
46   adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
4747
4848   // static configuration helpers
4949   static void set_input_callback(device_t &device, adc083x_input_callback input_callback) { downcast<adc083x_device &>(device).m_input_callback = input_callback; }
trunk/src/emu/machine/tms9901.c
r23832r23833
106106    Constructor
107107*/
108108tms9901_device::tms9901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
109: device_t(mconfig, TMS9901, "TMS9901 Programmable System Interface", tag, owner, clock)
109: device_t(mconfig, TMS9901, "TMS9901 Programmable System Interface", tag, owner, clock, "tms9901", __FILE__)
110110{
111111}
112112
trunk/src/emu/machine/mccs1850.c
r23832r23833
281281//-------------------------------------------------
282282
283283mccs1850_device::mccs1850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
284   : device_t(mconfig, MCCS1850, "MCCS1850", tag, owner, clock),
284   : device_t(mconfig, MCCS1850, "MCCS1850", tag, owner, clock, "mccs1850", __FILE__),
285285      device_rtc_interface(mconfig, *this),
286286      device_nvram_interface(mconfig, *this),
287287      m_pse(1),
trunk/src/emu/machine/ds75160a.c
r23832r23833
2828//-------------------------------------------------
2929
3030ds75160a_device::ds75160a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock),
31   : device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock, "ds75160a", __FILE__),
3232      m_read(*this),
3333      m_write(*this),
3434      m_data(0xff),
trunk/src/emu/machine/k056230.c
r23832r23833
2020//-------------------------------------------------
2121
2222k056230_device::k056230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, K056230, "Konami 056230", tag, owner, clock)
23   : device_t(mconfig, K056230, "Konami 056230", tag, owner, clock, "k056230", __FILE__)
2424{
2525}
2626
trunk/src/emu/machine/msm6242.c
r23832r23833
6464//-------------------------------------------------
6565
6666msm6242_device::msm6242_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67   : device_t(mconfig, msm6242, "msm6242", tag, owner, clock),
67   : device_t(mconfig, msm6242, "msm6242", tag, owner, clock, "msm6242", __FILE__),
6868      device_rtc_interface(mconfig, *this)
6969{
7070}
trunk/src/emu/machine/msm5832.c
r23832r23833
8989//-------------------------------------------------
9090
9191msm5832_device::msm5832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
92   : device_t(mconfig, MSM5832, "MSM5832", tag, owner, clock),
92   : device_t(mconfig, MSM5832, "MSM5832", tag, owner, clock, "msm5832", __FILE__),
9393      device_rtc_interface(mconfig, *this),
9494      m_hold(0),
9595      m_address(0),
trunk/src/emu/machine/rp5h01.c
r23832r23833
1919const device_type RP5H01 = &device_creator<rp5h01_device>;
2020
2121rp5h01_device::rp5h01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, RP5H01, "RP5H01", tag, owner, clock)
22   : device_t(mconfig, RP5H01, "RP5H01", tag, owner, clock, "rp5h01", __FILE__)
2323{
2424}
2525
trunk/src/emu/machine/z80dart.c
r23832r23833
467467//-------------------------------------------------
468468
469469z80dart_channel::z80dart_channel(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
470   : device_t(mconfig, Z80DART_CHANNEL, "Z80-DART channel", tag, owner, clock),
470   : device_t(mconfig, Z80DART_CHANNEL, "Z80-DART channel", tag, owner, clock, "z80dart_channel", __FILE__),
471471      device_serial_interface(mconfig, *this),
472472      m_rx_error(0),
473473      m_rx_fifo(-1),
trunk/src/emu/machine/wd33c93.c
r23832r23833
740740}
741741
742742wd33c93_device::wd33c93_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
743   : device_t(mconfig, WD33C93, "33C93 SCSI", tag, owner, clock)
743   : device_t(mconfig, WD33C93, "33C93 SCSI", tag, owner, clock, "wd33c93", __FILE__)
744744{
745745}
746746
trunk/src/emu/machine/nmc9306.c
r23832r23833
105105//-------------------------------------------------
106106
107107nmc9306_device::nmc9306_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
108   : device_t(mconfig, NMC9306, "NMC9306", tag, owner, clock),
108   : device_t(mconfig, NMC9306, "NMC9306", tag, owner, clock, "nmc9306", __FILE__),
109109      device_nvram_interface(mconfig, *this),
110110      m_state(STATE_IDLE),
111111      m_ewen(false)
trunk/src/emu/machine/jvsdev.c
r23832r23833
77   jvsdev.jvs_host_tag = jvs_host_tag;
88}
99
10jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, type, name, tag, owner, clock)
10jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
11   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
1112{
1213   jvs_host_tag = 0;
1314   next_device = 0;
trunk/src/emu/machine/pic8259.c
r23832r23833
441441const device_type PIC8259 = &device_creator<pic8259_device>;
442442
443443pic8259_device::pic8259_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
444   : device_t(mconfig, PIC8259, "Intel PIC8259", tag, owner, clock)
444   : device_t(mconfig, PIC8259, "Intel PIC8259", tag, owner, clock, "pit8259", __FILE__)
445445   , m_out_int_func(*this)
446446   , m_sp_en_func(*this)
447447   , m_read_slave_ack_func(*this)
trunk/src/emu/machine/upd4701.c
r23832r23833
1717const device_type UPD4701 = &device_creator<upd4701_device>;
1818
1919upd4701_device::upd4701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : device_t(mconfig, UPD4701, "NEC uPD4701 Encoder", tag, owner, clock)
20   : device_t(mconfig, UPD4701, "NEC uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__)
2121{
2222}
2323
trunk/src/emu/machine/jvsdev.h
r23832r23833
1111class jvs_device : public device_t
1212{
1313public:
14   jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
1515   static void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag);
1616
1717   void chain(jvs_device *dev);
trunk/src/emu/machine/microtch.c
r23832r23833
1515
1616const device_type MICROTOUCH = &device_creator<microtouch_device>;
1717
18microtouch_device::microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock)
19   : device_t(mconfig, type, name, tag, owner, clock, "microtouch", __FILE__),
18microtouch_device::microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
19   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2020   m_out_tx_func(*this),
2121   m_touch(*this, "TOUCH"),
2222   m_touchx(*this, "TOUCH_X"),
r23832r23833
283283const device_type MICROTOUCH_SERIAL = &device_creator<microtouch_serial_device>;
284284
285285microtouch_serial_device::microtouch_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
286   : microtouch_device(mconfig, MICROTOUCH_SERIAL, "Microtouch Serial Touchscreen", tag, owner, clock),
286   : microtouch_device(mconfig, MICROTOUCH_SERIAL, "Microtouch Serial Touchscreen", tag, owner, clock, "microtouch_serial", __FILE__),
287287   device_serial_interface(mconfig, *this),
288288   m_out_stx_func(*this)
289289{
trunk/src/emu/machine/i2cmem.c
r23832r23833
7373//-------------------------------------------------
7474
7575i2cmem_device::i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
76   : device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock),
76   : device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock, "i2cmem", __FILE__),
7777      device_memory_interface(mconfig, *this),
7878      device_nvram_interface(mconfig, *this),
7979   m_scl( 0 ),
trunk/src/emu/machine/microtch.h
r23832r23833
88      public device_t
99{
1010public:
11   microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock);
11   microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
1212   microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1313   template<class _Object> static devcb2_base &static_set_tx_callback(device_t &device, _Object object) { return downcast<microtouch_device &>(device).m_out_tx_func.set_callback(object); }
1414
trunk/src/emu/machine/er59256.c
r23832r23833
225225const device_type ER59256 = &device_creator<er59256_device>;
226226
227227er59256_device::er59256_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
228   : device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock)
228   : device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock, "er59256", __FILE__)
229229{
230230   m_token = global_alloc_clear(er59256_t);
231231}
trunk/src/emu/machine/74153.c
r23832r23833
178178const device_type TTL74153 = &device_creator<ttl74153_device>;
179179
180180ttl74153_device::ttl74153_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
181   : device_t(mconfig, TTL74153, "74153", tag, owner, clock)
181   : device_t(mconfig, TTL74153, "74153", tag, owner, clock, "74153", __FILE__)
182182{
183183   m_token = global_alloc_clear(ttl74153_state);
184184}
trunk/src/emu/machine/tms9902.c
r23832r23833
5959    Constructor
6060*/
6161tms9902_device::tms9902_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62: device_t(mconfig, TMS9902, "TMS9902 Asynchronous Communication Controller", tag, owner, clock)
62: device_t(mconfig, TMS9902, "TMS9902 Asynchronous Communication Controller", tag, owner, clock, "tms9902", __FILE__)
6363{
6464}
6565
trunk/src/emu/machine/at28c16.c
r23832r23833
3838//-------------------------------------------------
3939
4040at28c16_device::at28c16_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
41   : device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock),
41   : device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock, "at28c16", __FILE__),
4242      device_memory_interface(mconfig, *this),
4343      device_nvram_interface(mconfig, *this),
4444      m_a9_12v( 0 ),
trunk/src/emu/machine/mc146818.c
r23832r23833
112112//-------------------------------------------------
113113
114114mc146818_device::mc146818_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
115   : device_t(mconfig, MC146818, "NVRAM", tag, owner, clock),
115   : device_t(mconfig, MC146818, "NVRAM", tag, owner, clock, "mc146818", __FILE__),
116116      device_rtc_interface(mconfig, *this),
117117      device_nvram_interface(mconfig, *this),
118118      m_write_irq(*this),
trunk/src/emu/machine/s3c2440.c
r23832r23833
7474const device_type S3C2440 = &device_creator<s3c2440_device>;
7575
7676s3c2440_device::s3c2440_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
77      : device_t(mconfig, S3C2440, "Samsung S3C2440", tag, owner, clock)
77      : device_t(mconfig, S3C2440, "Samsung S3C2440", tag, owner, clock, "s3c2440", __FILE__)
7878{
7979   m_token = global_alloc_clear(s3c24xx_t);
8080}
trunk/src/emu/machine/adc1038.c
r23832r23833
1414const device_type ADC1038 = &device_creator<adc1038_device>;
1515
1616adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
17   : device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock)
17   : device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock, "adc1038", __FILE__)
1818{
1919}
2020
trunk/src/emu/machine/aakart.c
r23832r23833
3838//-------------------------------------------------
3939
4040aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41   : device_t(mconfig, AAKART, "aakart", tag, owner, clock)
41   : device_t(mconfig, AAKART, "aakart", tag, owner, clock, "aakart", __FILE__)
4242{
4343}
4444
trunk/src/emu/machine/bankdev.c
r23832r23833
44const device_type ADDRESS_MAP_BANK = &device_creator<address_map_bank_device>;
55
66address_map_bank_device::address_map_bank_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
7   : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock),
7   : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock, "address_map_bank", __FILE__),
88      device_memory_interface(mconfig, *this),
99      m_endianness(ENDIANNESS_NATIVE),
1010      m_databus_width(0),
trunk/src/emu/machine/ncr539x.c
r23832r23833
138138//-------------------------------------------------
139139
140140ncr539x_device::ncr539x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
141   : device_t(mconfig, NCR539X, "539x SCSI", tag, owner, clock)
141   : device_t(mconfig, NCR539X, "539x SCSI", tag, owner, clock, "ncr539x", __FILE__)
142142{
143143}
144144
trunk/src/emu/machine/netlist.c
r23832r23833
881881const device_type NETLIST = &device_creator<netlist_mame_device>;
882882
883883netlist_mame_device::netlist_mame_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
884   : device_t(mconfig, NETLIST, "netlist", tag, owner, clock),
884   : device_t(mconfig, NETLIST, "netlist", tag, owner, clock, "netlist_mame", __FILE__),
885885      device_execute_interface(mconfig, *this)
886886{
887887}
trunk/src/emu/machine/mb3773.c
r23832r23833
2626//-------------------------------------------------
2727
2828mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
29   : device_t(mconfig, MB3773, "MB3773", tag, owner, clock)
29   : device_t(mconfig, MB3773, "MB3773", tag, owner, clock, "mb3773", __FILE__)
3030{
3131}
3232
trunk/src/emu/machine/74145.c
r23832r23833
7575//-------------------------------------------------
7676
7777ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
78   : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock)
78   : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock, "ttl74145", __FILE__)
7979   , m_number(0)
8080{
8181}
trunk/src/emu/machine/mc6843.c
r23832r23833
829829const device_type MC6843 = &device_creator<mc6843_device>;
830830
831831mc6843_device::mc6843_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
832   : device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock)
832   : device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock, "mc6843", __FILE__)
833833{
834834   m_token = global_alloc_clear(mc6843_t);
835835}
trunk/src/emu/machine/adc1213x.c
r23832r23833
3535const device_type ADC12130 = &device_creator<adc12130_device>;
3636
3737adc12130_device::adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
38   : adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock)
38   : adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock, "adc12130", __FILE__)
3939{
4040}
4141
r23832r23833
4343const device_type ADC12132 = &device_creator<adc12132_device>;
4444
4545adc12132_device::adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46   : adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock)
46   : adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock, "adc12132", __FILE__)
4747{
4848}
4949
r23832r23833
5151const device_type ADC12138 = &device_creator<adc12138_device>;
5252
5353adc12138_device::adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
54   : device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock)
54   : device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock, "adc12138", __FILE__)
5555{
5656}
57adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
58   : device_t(mconfig, type, name, tag, owner, clock)
57adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
58   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
5959{
6060}
6161
trunk/src/emu/machine/mcf5206e.c
r23832r23833
829829//-------------------------------------------------
830830
831831mcf5206e_peripheral_device::mcf5206e_peripheral_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
832   : device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock),
832   : device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock, "mcf5206e", __FILE__),
833833      device_memory_interface(mconfig, *this),
834834      m_space_config("coldfire_regs", ENDIANNESS_BIG, 32,10, 0, NULL, *ADDRESS_MAP_NAME(coldfire_regs_map))
835835
trunk/src/emu/machine/mb14241.c
r23832r23833
1616const device_type MB14241 = &device_creator<mb14241_device>;
1717
1818mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
19   : device_t(mconfig, MB14241, "MB14241", tag, owner, clock)
19   : device_t(mconfig, MB14241, "MB14241", tag, owner, clock, "mb14241", __FILE__)
2020{
2121}
2222
trunk/src/emu/machine/adc1213x.h
r23832r23833
3131{
3232public:
3333   adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
34   adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
34   adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
3535   ~adc12138_device() {}
3636
3737   DECLARE_WRITE8_MEMBER( di_w );
trunk/src/emu/machine/at45dbxx.c
r23832r23833
4444//-------------------------------------------------
4545
4646at45db041_device::at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
47   : device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock),
47   : device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock, "at45db041", __FILE__),
4848   device_nvram_interface(mconfig, *this)
4949{
5050}
5151
5252
53at45db041_device::at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
54   : device_t(mconfig, type, name, tag, owner, clock),
53at45db041_device::at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
54   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
5555   device_nvram_interface(mconfig, *this)
5656{
5757}
5858
5959
6060at45db081_device::at45db081_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
61   : at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock)
61   : at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock, "at45db081", __FILE__)
6262{
6363}
6464
6565
6666at45db161_device::at45db161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67   : at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock)
67   : at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock, "at45db161", __FILE__)
6868{
6969}
7070
trunk/src/emu/machine/7474.c
r23832r23833
5454//-------------------------------------------------
5555
5656ttl7474_device::ttl7474_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock),
57   : device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock, "7474", __FILE__),
5858      m_output_func(*this),
5959      m_comp_output_func(*this)
6060{
trunk/src/emu/machine/i8251.c
r23832r23833
5959//-------------------------------------------------
6060
6161i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, I8251, "I8251", tag, owner, clock),
62   : device_t(mconfig, I8251, "I8251", tag, owner, clock, "i8251", __FILE__),
6363      device_serial_interface(mconfig, *this)
6464{
6565}
trunk/src/emu/machine/at45dbxx.h
r23832r23833
3737{
3838public:
3939   at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
40   at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
40   at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
4141
4242   DECLARE_WRITE_LINE_MEMBER(cs_w);
4343   DECLARE_WRITE_LINE_MEMBER(sck_w);
trunk/src/emu/machine/m6m80011ap.c
r23832r23833
2626//-------------------------------------------------
2727
2828m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29   : device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock),
29   : device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock, "m6m80011ap", __FILE__),
3030      device_nvram_interface(mconfig, *this)
3131{
3232}
trunk/src/emu/machine/mb89371.c
r23832r23833
1111const device_type MB89371 = &device_creator<mb89371_device>;
1212
1313mb89371_device::mb89371_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
14   : device_t(mconfig, MB89371, "MB89371", tag, owner, clock)
14   : device_t(mconfig, MB89371, "MB89371", tag, owner, clock, "mb89371", __FILE__)
1515{
1616}
1717
trunk/src/emu/machine/ds75161a.c
r23832r23833
2828//-------------------------------------------------
2929
3030ds75161a_device::ds75161a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock),
31   : device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock, "ds75161a", __FILE__),
3232      m_ren(1),
3333      m_ifc(1),
3434      m_ndac(1),
trunk/src/emu/machine/mc6852.c
r23832r23833
105105//-------------------------------------------------
106106
107107mc6852_device::mc6852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
108   : device_t(mconfig, MC6852, "MC6852", tag, owner, clock)
108   : device_t(mconfig, MC6852, "MC6852", tag, owner, clock, "mc6852", __FILE__)
109109{
110110}
111111
trunk/src/emu/machine/secflash.c
r23832r23833
44device_secure_serial_flash::device_secure_serial_flash(const machine_config &mconfig,
55                                                      device_type type,
66                                                      const char *name, const char *tag,
7                                                      device_t *owner, UINT32 clock) :
8   device_t(mconfig, type, name, tag, owner, clock),
7                                                      device_t *owner, UINT32 clock, const char *shortname, const char *source) :
8   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
99   device_nvram_interface(mconfig, *this)
1010{
1111}
trunk/src/emu/machine/secflash.h
r23832r23833
2727   virtual void sda_0() = 0;
2828   virtual void sda_1() = 0;
2929
30   device_secure_serial_flash(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
30   device_secure_serial_flash(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
3131   virtual void device_start();
3232   virtual void device_reset();
3333};
trunk/src/emu/machine/adc0808.c
r23832r23833
2525//-------------------------------------------------
2626
2727adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock),
28   : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock, "adc0808", __FILE__),
2929      m_address(0),
3030      m_start(0),
3131      m_eoc(0),
trunk/src/emu/machine/f3853.c
r23832r23833
4848//-------------------------------------------------
4949
5050f3853_device::f3853_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, F3853, "F3853", tag, owner, clock)
51   : device_t(mconfig, F3853, "F3853", tag, owner, clock, "f3853", __FILE__)
5252{
5353}
5454
trunk/src/emu/machine/i8243.c
r23832r23833
2323//-------------------------------------------------
2424
2525i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, I8243, "I8243", tag, owner, clock),
26   : device_t(mconfig, I8243, "I8243", tag, owner, clock, "i8243", __FILE__),
2727      m_readhandler(*this),
2828      m_writehandler(*this)
2929{
trunk/src/emu/machine/n68681.c
r23832r23833
489489// DUART channel class stuff
490490
491491duart68681_channel::duart68681_channel(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
492   : device_t(mconfig, DUART68681CHANNEL, "DUART 68681 channel", tag, owner, clock),
492   : device_t(mconfig, DUART68681CHANNEL, "DUART 68681 channel", tag, owner, clock, "duart68681_channel", __FILE__),
493493   device_serial_interface(mconfig, *this),
494494   MR1(0),
495495   MR2(0),
trunk/src/emu/machine/x76f100.c
r23832r23833
3131const device_type X76F100 = &device_creator<x76f100_device>;
3232
3333x76f100_device::x76f100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : device_secure_serial_flash(mconfig, X76F100, "X76F100", tag, owner, clock)
34   : device_secure_serial_flash(mconfig, X76F100, "X76F100", tag, owner, clock, "x76f100", __FILE__)
3535{
3636}
3737
trunk/src/emu/machine/6526cia.c
r23832r23833
7676//  legacy_mos6526_device - constructor
7777//-------------------------------------------------
7878
79legacy_mos6526_device::legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, type, name, tag, owner, clock)
79legacy_mos6526_device::legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
80   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
8181{
8282}
8383
8484legacy_mos6526r1_device::legacy_mos6526r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85   : legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock) { }
85   : legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock, "legacy_mos6526r1", __FILE__) { }
8686
8787legacy_mos6526r2_device::legacy_mos6526r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
88   : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock) { }
88   : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock, "legacy_mos6526r2", __FILE__) { }
8989
9090legacy_mos8520_device::legacy_mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
91   : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock) { }
91   : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock, "legacy_mos8520", __FILE__) { }
9292
9393legacy_mos5710_device::legacy_mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
94   : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock) { }
94   : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock, "legacy_mos5710", __FILE__) { }
9595
9696
9797void legacy_mos6526_device::static_set_tod_clock(device_t &device, int tod_clock)
trunk/src/emu/machine/k033906.c
r23832r23833
2121//-------------------------------------------------
2222
2323k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24   : device_t(mconfig, K033906, "Konami 033906", tag, owner, clock)
24   : device_t(mconfig, K033906, "Konami 033906", tag, owner, clock, "k033906", __FILE__)
2525{
2626}
2727
trunk/src/emu/machine/smc91c9x.c
r23832r23833
583583}
584584
585585
586smc91c9x_device::smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
587   : device_t(mconfig, type, name, tag, owner, clock)
586smc91c9x_device::smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
587   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
588588{
589589   m_token = global_alloc_clear(smc91c9x_state);
590590}
r23832r23833
621621const device_type SMC91C94 = &device_creator<smc91c94_device>;
622622
623623smc91c94_device::smc91c94_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
624   : smc91c9x_device(mconfig, SMC91C94, "SMC91C94", tag, owner, clock)
624   : smc91c9x_device(mconfig, SMC91C94, "SMC91C94", tag, owner, clock, "smc91c94", __FILE__)
625625{
626626}
627627
r23832r23833
629629const device_type SMC91C96 = &device_creator<smc91c96_device>;
630630
631631smc91c96_device::smc91c96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
632   : smc91c9x_device(mconfig, SMC91C96, "SMC91C96", tag, owner, clock)
632   : smc91c9x_device(mconfig, SMC91C96, "SMC91C96", tag, owner, clock, "smc91c96", __FILE__)
633633{
634634}
trunk/src/emu/machine/im6402.c
r23832r23833
7777//-------------------------------------------------
7878
7979im6402_device::im6402_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock),
80   : device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock, "im6402", __FILE__),
8181      device_serial_interface(mconfig, *this),
8282      m_rrc_count(0),
8383      m_trc_count(0)
trunk/src/emu/machine/6526cia.h
r23832r23833
102102{
103103protected:
104104   // construction/destruction
105   legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
105   legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
106106
107107public:
108108   // inline configuration
trunk/src/emu/machine/smc91c9x.h
r23832r23833
5252class smc91c9x_device : public device_t
5353{
5454public:
55   smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
55   smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
5656   ~smc91c9x_device() { global_free(m_token); }
5757
5858   // access to legacy token
trunk/src/emu/machine/idectrl.c
r23832r23833
2828const device_type IDE_CONTROLLER = &device_creator<ide_controller_device>;
2929
3030ide_controller_device::ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock)
31   ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock, "ide_controller", __FILE__)
3232{
3333}
3434
35ide_controller_device::ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
36   ata_interface_device(mconfig, type, name, tag, owner, clock)
35ide_controller_device::ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
36   ata_interface_device(mconfig, type, name, tag, owner, clock, shortname, source)
3737{
3838}
3939
r23832r23833
9292const device_type BUS_MASTER_IDE_CONTROLLER = &device_creator<bus_master_ide_controller_device>;
9393
9494bus_master_ide_controller_device::bus_master_ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
95   ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock),
95   ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock, "bus_master_ide_controller", __FILE__),
9696   dma_address(0),
9797   dma_bytes_left(0),
9898   dma_descriptor(0),
trunk/src/emu/machine/6821pia.c
r23832r23833
4848//-------------------------------------------------
4949
5050pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock),
51   : device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock, "pia6821", __FILE__),
5252   m_irq_a_state(0),
5353   m_in_cb1(0),
5454   m_ctl_b(0),
trunk/src/emu/machine/idectrl.h
r23832r23833
3030{
3131public:
3232   ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
33   ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
33   ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
3434
3535   virtual DECLARE_READ16_MEMBER(read_cs0);
3636   virtual DECLARE_READ16_MEMBER(read_cs1);
trunk/src/emu/machine/z80sio.c
r23832r23833
298298//-------------------------------------------------
299299
300300z80sio_device::z80sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
301   : device_t(mconfig, Z80SIO, "Zilog Z80 SIO", tag, owner, clock),
301   : device_t(mconfig, Z80SIO, "Zilog Z80 SIO", tag, owner, clock, "z80sio", __FILE__),
302302      device_z80daisy_interface(mconfig, *this)
303303{
304304   for (int i = 0; i < 8; i++)
trunk/src/emu/machine/pcf8593.c
r23832r23833
4545//-------------------------------------------------
4646
4747pcf8593_device::pcf8593_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
48   : device_t(mconfig, PCF8593, "PCF8593 RTC", tag, owner, clock),
48   : device_t(mconfig, PCF8593, "PCF8593 RTC", tag, owner, clock, "pcf8593", __FILE__),
4949      device_rtc_interface(mconfig, *this),
5050      device_nvram_interface(mconfig, *this)
5151{
trunk/src/emu/machine/at29040a.c
r23832r23833
3333    Constructor.
3434*/
3535at29040a_device::at29040a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36: device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock),
36: device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock, "at29040a", __FILE__),
3737   device_nvram_interface(mconfig, *this)
3838{
3939}
trunk/src/emu/machine/x2212.c
r23832r23833
3636//-------------------------------------------------
3737
3838x2212_device::x2212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39   : device_t(mconfig, X2212, "X2212", tag, owner, clock),
39   : device_t(mconfig, X2212, "X2212", tag, owner, clock, "x2212", __FILE__),
4040      device_memory_interface(mconfig, *this),
4141      device_nvram_interface(mconfig, *this),
4242      m_auto_save(false),
trunk/src/emu/machine/mos6551.c
r23832r23833
5353//-------------------------------------------------
5454
5555mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
56   : device_t(mconfig, MOS6551, "MOS6551", tag, owner, clock),
56   : device_t(mconfig, MOS6551, "MOS6551", tag, owner, clock, "mos6551", __FILE__),
5757      device_serial_interface(mconfig, *this),
5858      m_write_irq(*this),
5959      m_read_rxd(*this),
trunk/src/emu/machine/ram.c
r23832r23833
2828//-------------------------------------------------
2929
3030ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, RAM, "RAM", tag, owner, clock)
31   : device_t(mconfig, RAM, "RAM", tag, owner, clock, "ram", __FILE__)
3232{
3333   m_size = 0;
3434   m_pointer = NULL;
trunk/src/emu/machine/ds2404.c
r23832r23833
2323//-------------------------------------------------
2424
2525ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, DS2404, "DS2404", tag, owner, clock),
26   : device_t(mconfig, DS2404, "DS2404", tag, owner, clock, "ds2404", __FILE__),
2727      device_nvram_interface(mconfig, *this)
2828{
2929}
trunk/src/emu/machine/6840ptm.c
r23832r23833
6868//-------------------------------------------------
6969
7070ptm6840_device::ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
71   : device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock)
71   : device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock, "ptm6840", __FILE__)
7272{
7373   memset(static_cast<ptm6840_interface *>(this), 0, sizeof(ptm6840_interface));
7474}
trunk/src/emu/machine/pd4990a.c
r23832r23833
523523const device_type UPD4990A_OLD = &device_creator<upd4990a_old_device>;
524524
525525upd4990a_old_device::upd4990a_old_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
526   : device_t(mconfig, UPD4990A_OLD, "NEC uPD4990A", tag, owner, clock)
526   : device_t(mconfig, UPD4990A_OLD, "NEC uPD4990A", tag, owner, clock, "upd4990a_old", __FILE__)
527527{
528528   m_token = global_alloc_clear(upd4990a_state);
529529}
trunk/src/emu/machine/s3c2400.c
r23832r23833
6969const device_type S3C2400 = &device_creator<s3c2400_device>;
7070
7171s3c2400_device::s3c2400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72      : device_t(mconfig, S3C2400, "Samsung S3C2400", tag, owner, clock)
72      : device_t(mconfig, S3C2400, "Samsung S3C2400", tag, owner, clock, "s3c2400", __FILE__)
7373{
7474   m_token = global_alloc_clear(s3c24xx_t);
7575}
trunk/src/emu/machine/upd7002.c
r23832r23833
211211const device_type UPD7002 = &device_creator<uPD7002_device>;
212212
213213uPD7002_device::uPD7002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
214   : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock)
214   : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock, "upd7002", __FILE__)
215215{
216216   m_token = global_alloc_clear(uPD7002_t);
217217}
trunk/src/emu/machine/lc89510.c
r23832r23833
1010const device_type LC89510 = &device_creator<lc89510_device>;
1111
1212lc89510_device::lc89510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
13   : device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock)
13   : device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock, "lc89510", __FILE__)
1414{
1515}
1616
trunk/src/emu/machine/pla.c
r23832r23833
2828//  pla_device - constructor
2929//-------------------------------------------------
3030
31pla_device::pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 input_mask)
32   : device_t(mconfig, type, name, tag, owner, clock),
31pla_device::pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 input_mask, const char *shortname, const char *source)
32   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3333      m_inputs(inputs),
3434      m_outputs(outputs),
3535      m_terms(terms),
r23832r23833
3838}
3939
4040pls100_device::pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41   : pla_device(mconfig, PLS100, "PLS100", tag, owner, clock, 16, 8, 48, 0xffff)
41   : pla_device(mconfig, PLS100, "PLS100", tag, owner, clock, 16, 8, 48, 0xffff, "pls100", __FILE__)
4242{
4343}
4444
4545mos8721_device::mos8721_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46   : pla_device(mconfig, MOS8721, "MOS8721", tag, owner, clock, 27, 18, 379, 0x7ffffff) // TODO actual number of terms is unknown
46   : pla_device(mconfig, MOS8721, "MOS8721", tag, owner, clock, 27, 18, 379, 0x7ffffff, "mos8721", __FILE__) // TODO actual number of terms is unknown
4747{
4848}
4949
trunk/src/emu/machine/mos6526.c
r23832r23833
590590//  mos6526_device - constructor
591591//-------------------------------------------------
592592
593mos6526_device::mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
594   : device_t(mconfig, type, name, tag, owner, clock),
593mos6526_device::mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
594   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
595595      device_execute_interface(mconfig, *this),
596596      m_icount(0),
597597      m_variant(variant),
r23832r23833
607607}
608608
609609mos6526_device::mos6526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
610   : device_t(mconfig, MOS6526, "MOS6526", tag, owner, clock),
610   : device_t(mconfig, MOS6526, "MOS6526", tag, owner, clock, "mos6526", __FILE__),
611611      device_execute_interface(mconfig, *this),
612612      m_icount(0),
613613      m_variant(TYPE_6526),
r23832r23833
622622{ }
623623
624624mos6526a_device::mos6526a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
625   : mos6526_device(mconfig, MOS6526A, "MOS6526A", tag, owner, clock, TYPE_6526A) { }
625   : mos6526_device(mconfig, MOS6526A, "MOS6526A", tag, owner, clock, TYPE_6526A, "mos6526a", __FILE__) { }
626626
627627mos8520_device::mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
628   : mos6526_device(mconfig, MOS8520, "MOS8520", tag, owner, clock, TYPE_8520) { }
628   : mos6526_device(mconfig, MOS8520, "MOS8520", tag, owner, clock, TYPE_8520, "mos8520", __FILE__) { }
629629
630630mos5710_device::mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
631   : mos6526_device(mconfig, MOS5710, "MOS5710", tag, owner, clock, TYPE_5710) { }
631   : mos6526_device(mconfig, MOS5710, "MOS5710", tag, owner, clock, TYPE_5710, "mos5710", __FILE__) { }
632632
633633
634634//-------------------------------------------------
trunk/src/emu/machine/pla.h
r23832r23833
6464{
6565public:
6666   // construction/destruction
67   pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 output_mask);
67   pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 output_mask, const char *shortname, const char *source);
6868
6969   UINT32 read(UINT32 input);
7070
trunk/src/emu/machine/mos6526.h
r23832r23833
108108{
109109public:
110110   // construction/destruction
111   mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
111   mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
112112   mos6526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
113113
114114   template<class _irq> void set_callbacks(int tod_clock, _irq irq) {
trunk/src/emu/machine/8257dma.c
r23832r23833
5757//-------------------------------------------------
5858
5959i8257_device::i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60   : device_t(mconfig, I8257, "DMA8257", tag, owner, clock),
60   : device_t(mconfig, I8257, "DMA8257", tag, owner, clock, "i8257", __FILE__),
6161      m_mode(0),
6262      m_rr(0),
6363      m_msb(0),
trunk/src/emu/machine/roc10937.c
r23832r23833
124124
125125const device_type ROC10937 = &device_creator<roc10937_t>;
126126
127rocvfd_t::rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
128   device_t(mconfig, type, name, tag, owner, clock)
127rocvfd_t::rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
128   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
129129{
130130   m_port_val=0;
131131   m_reversed=0;
r23832r23833
229229
230230///////////////////////////////////////////////////////////////////////////
231231roc10937_t::roc10937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
232   : rocvfd_t(mconfig, ROC10937, "Rockwell 10937 VFD controller and compatible", tag, owner, clock)
232   : rocvfd_t(mconfig, ROC10937, "Rockwell 10937 VFD controller and compatible", tag, owner, clock, "roc10937", __FILE__)
233233{
234234   m_port_val=0;
235235   m_reversed=0;
r23832r23833
238238const device_type MSC1937 = &device_creator<msc1937_t>;
239239
240240msc1937_t::msc1937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
241   : rocvfd_t(mconfig, MSC1937, "OKI MSC1937 VFD controller", tag, owner, clock)
241   : rocvfd_t(mconfig, MSC1937, "OKI MSC1937 VFD controller", tag, owner, clock, "msc1937", __FILE__)
242242{
243243   m_port_val=0;
244244   m_reversed=0;
r23832r23833
298298const device_type ROC10957 = &device_creator<roc10957_t>;
299299
300300roc10957_t::roc10957_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
301   : rocvfd_t(mconfig, ROC10957, "Rockwell 10957 VFD controller and compatible", tag, owner, clock)
301   : rocvfd_t(mconfig, ROC10957, "Rockwell 10957 VFD controller and compatible", tag, owner, clock, "roc10957", __FILE__)
302302{
303303   m_port_val=0;
304304   m_reversed=0;
trunk/src/emu/machine/amigafdc.c
r23832r23833
5151FLOPPY_FORMATS_END
5252
5353amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
54   device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock)
54   device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock, "amiga_fdc", __FILE__)
5555{
5656}
5757
trunk/src/emu/machine/roc10937.h
r23832r23833
5151public:
5252   typedef delegate<void (bool state)> line_cb;
5353
54   rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
54   rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
5555
5656   // inline configuration helpers
5757   static void static_set_value(device_t &device, int val);
trunk/src/emu/machine/rtc4543.c
r23832r23833
2828//-------------------------------------------------
2929
3030rtc4543_device::rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, RTC4543, "Epson R4543", tag, owner, clock),
31   : device_t(mconfig, RTC4543, "Epson R4543", tag, owner, clock, "rtc4543", __FILE__),
3232      device_rtc_interface(mconfig, *this)
3333{
3434}
trunk/src/emu/machine/spchrom.c
r23832r23833
2424const device_type SPEECHROM = &device_creator<speechrom_device>;
2525
2626speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
27   : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock),
27   : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__),
2828   m_speechROMaddr(0),
2929   m_load_pointer(0),
3030   m_ROM_bits_count(0)
trunk/src/emu/machine/v3021.c
r23832r23833
3232//-------------------------------------------------
3333
3434v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35   : device_t(mconfig, v3021, "v3021", tag, owner, clock)
35   : device_t(mconfig, v3021, "v3021", tag, owner, clock, "v3021", __FILE__)
3636{
3737}
3838
trunk/src/emu/machine/i8155.c
r23832r23833
199199//-------------------------------------------------
200200
201201i8155_device::i8155_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
202   : device_t(mconfig, I8155, "Intel 8155", tag, owner, clock),
202   : device_t(mconfig, I8155, "Intel 8155", tag, owner, clock, "i8155", __FILE__),
203203      device_memory_interface(mconfig, *this),
204204      m_command(0),
205205      m_status(0),
trunk/src/emu/machine/intelfsh.c
r23832r23833
149149//  intelfsh_device - constructor
150150//-------------------------------------------------
151151
152intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
153   : device_t(mconfig, type, name, tag, owner, clock),
152intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
153   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
154154      device_memory_interface(mconfig, *this),
155155      device_nvram_interface(mconfig, *this),
156156      m_type(variant),
r23832r23833
314314   m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map);
315315}
316316
317intelfsh8_device::intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
318   : intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { }
317intelfsh8_device::intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
318   : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
319319
320intelfsh16_device::intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
321   : intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { }
320intelfsh16_device::intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
321   : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
322322
323323
324324intel_28f016s5_device::intel_28f016s5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
325   : intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5) { }
325   : intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5, "intel_28f016s5", __FILE__) { }
326326
327327fujitsu_29f016a_device::fujitsu_29f016a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
328   : intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A) { }
328   : intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A, "fujitsu_29f016a", __FILE__) { }
329329
330330fujitsu_29dl16x_device::fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
331   : intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X) { }
331   : intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X, "fujitsu_29dl16x", __FILE__) { }
332332
333333sharp_lh28f016s_device::sharp_lh28f016s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
334   : intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S) { }
334   : intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S, "sharp_lh28f016s", __FILE__) { }
335335
336336atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
337   : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010) { }
337   : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010, "atmel_29c010", __FILE__) { }
338338
339339amd_29f010_device::amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
340   : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010) { }
340   : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010, "amd_29f010", __FILE__) { }
341341
342342amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
343   : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040) { }
343   : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040, "amd_29f040", __FILE__) { }
344344
345345amd_29f080_device::amd_29f080_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
346   : intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080) { }
346   : intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080, "amd_29f080", __FILE__) { }
347347
348348intel_e28f008sa_device::intel_e28f008sa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
349   : intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA) { }
349   : intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA, "intel_e28f008sa", __FILE__) { }
350350
351351macronix_29l001mc_device::macronix_29l001mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
352   : intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC) { }
352   : intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC, "macronix_29l001mc", __FILE__) { }
353353
354354panasonic_mn63f805mnp_device::panasonic_mn63f805mnp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
355   : intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP) { }
355   : intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP, "panasonic_mn63f805mnp", __FILE__) { }
356356
357357sanyo_le26fv10n1ts_device::sanyo_le26fv10n1ts_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
358   : intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS) { }
358   : intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS, "sanyo_le26fv10n1ts", __FILE__) { }
359359
360360sst_28sf040_device::sst_28sf040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
361   : intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040) { }
361   : intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040, "sst_28sf040", __FILE__) { }
362362
363363sst_39vf020_device::sst_39vf020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
364   : intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020) { }
364   : intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020, "sst_39vf020", __FILE__) { }
365365
366366sharp_lh28f400_device::sharp_lh28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
367   : intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400) { }
367   : intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400, "sharp_lh28f400", __FILE__) { }
368368
369369intel_te28f160_device::intel_te28f160_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
370   : intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160) { }
370   : intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160, "intel_te28f160", __FILE__) { }
371371
372372intel_e28f400_device::intel_e28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
373   : intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400) { }
373   : intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400, "intel_e28f400", __FILE__) { }
374374
375375sharp_unk128mbit_device::sharp_unk128mbit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
376   : intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT) { }
376   : intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT, "sharp_unk128mbit", __FILE__) { }
377377
378378intel_28f320j3d_device::intel_28f320j3d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
379   : intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D) { }
379   : intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D, "intel_28f320j3d", __FILE__) { }
380380
381381sst_39vf400a_device::sst_39vf400a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
382   : intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A) { }
382   : intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A, "sst_39vf400a", __FILE__) { }
383383
384384//-------------------------------------------------
385385//  device_start - device-specific startup
trunk/src/emu/machine/rp5c15.c
r23832r23833
184184//-------------------------------------------------
185185
186186rp5c15_device::rp5c15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187   : device_t(mconfig, RP5C15, "RP5C15", tag, owner, clock),
187   : device_t(mconfig, RP5C15, "RP5C15", tag, owner, clock, "rp5c15", __FILE__),
188188      device_rtc_interface(mconfig, *this),
189189      m_alarm(1),
190190      m_alarm_on(1),
trunk/src/emu/machine/intelfsh.h
r23832r23833
113113
114114protected:
115115   // construction/destruction
116   intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
116   intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
117117
118118protected:
119119   // device-level overrides
r23832r23833
159159{
160160protected:
161161   // construction/destruction
162   intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
162   intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
163163
164164public:
165165   // public interface
r23832r23833
179179{
180180protected:
181181   // construction/destruction
182   intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
182   intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
183183
184184public:
185185   // public interface
trunk/src/emu/machine/er2055.c
r23832r23833
6363//-------------------------------------------------
6464
6565er2055_device::er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
66   : device_t(mconfig, ER2055, "ER2055", tag, owner, clock),
66   : device_t(mconfig, ER2055, "ER2055", tag, owner, clock, "er2055", __FILE__),
6767      device_memory_interface(mconfig, *this),
6868      device_nvram_interface(mconfig, *this),
6969      m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map)),
trunk/src/emu/machine/mc6854.c
r23832r23833
10381038const device_type MC6854 = &device_creator<mc6854_device>;
10391039
10401040mc6854_device::mc6854_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1041   : device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock)
1041   : device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock, "mc6854", __FILE__)
10421042{
10431043   m_token = global_alloc_clear(mc6854_t);
10441044}
trunk/src/emu/machine/jvshost.c
r23832r23833
2626   memset(recv_buffer, 0, sizeof(recv_buffer));
2727}
2828
29jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, type, name, tag, owner, clock)
29jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
30  : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
3031{
3132   first_device = 0;
3233}
trunk/src/emu/machine/ay31015.c
r23832r23833
9595const device_type AY31015 = &device_creator<ay31015_device>;
9696const device_type AY51013 = &device_creator<ay51013_device>;
9797
98ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
99            : device_t(mconfig, type, name, tag, owner, clock)
98ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
99            : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
100100{
101101}
102102
103103ay31015_device::ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
104            : device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock)
104            : device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock, "ay31015", __FILE__)
105105{
106106}
107107
108108ay51013_device::ay51013_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
109            : ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock)
109            : ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock, "ay51013", __FILE__)
110110{
111111}
112112
trunk/src/emu/machine/z80dma.c
r23832r23833
144144//-------------------------------------------------
145145
146146z80dma_device::z80dma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
147   : device_t(mconfig, Z80DMA, "Z8410", tag, owner, clock),
147   : device_t(mconfig, Z80DMA, "Z8410", tag, owner, clock, "z80dma", __FILE__),
148148      device_z80daisy_interface(mconfig, *this)
149149{
150150}
trunk/src/emu/machine/jvshost.h
r23832r23833
77
88class jvs_host : public device_t {
99public:
10   jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
10   jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
1111
1212   void add_device(jvs_device *dev);
1313
trunk/src/emu/machine/ay31015.h
r23832r23833
7171{
7272public:
7373   ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
74   ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
74   ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
7575   ~ay31015_device() {}
7676
7777
trunk/src/emu/machine/rtc9701.c
r23832r23833
3131//-------------------------------------------------
3232
3333rtc9701_device::rtc9701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : device_t(mconfig, rtc9701, "rtc9701", tag, owner, clock),
34   : device_t(mconfig, rtc9701, "rtc9701", tag, owner, clock, "rtc9701", __FILE__),
3535      device_nvram_interface(mconfig, *this),
3636      m_latch(0),
3737      m_reset_line(CLEAR_LINE),
trunk/src/emu/machine/ds1302.c
r23832r23833
7474//-------------------------------------------------
7575
7676ds1302_device::ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
77   : device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock),
77   : device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock, "ds1302", __FILE__),
7878      device_rtc_interface(mconfig, *this),
7979      device_nvram_interface(mconfig, *this)
8080{
trunk/src/emu/machine/mc2661.c
r23832r23833
100100//-------------------------------------------------
101101
102102mc2661_device::mc2661_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
103   : device_t(mconfig, MC2661, "MC2661", tag, owner, clock),
103   : device_t(mconfig, MC2661, "MC2661", tag, owner, clock, "mc2661", __FILE__),
104104      device_serial_interface(mconfig, *this)
105105{
106106}
trunk/src/emu/machine/74123.c
r23832r23833
2727//-------------------------------------------------
2828
2929ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30   : device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock)
30   : device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock, "ttl74123", __FILE__)
3131{
3232}
3333
trunk/src/emu/machine/s3520cf.c
r23832r23833
3434//-------------------------------------------------
3535
3636s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : device_t(mconfig, S3520CF, "s3520cf", tag, owner, clock)
37   : device_t(mconfig, S3520CF, "s3520cf", tag, owner, clock, "s3520cf", __FILE__)
3838{
3939}
4040
trunk/src/emu/machine/mc6846.c
r23832r23833
637637const device_type MC6846 = &device_creator<mc6846_device>;
638638
639639mc6846_device::mc6846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
640   : device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock)
640   : device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock, "mc6846", __FILE__)
641641{
642642   m_token = global_alloc_clear(mc6846_t);
643643}
trunk/src/emu/machine/74148.c
r23832r23833
216216const device_type TTL74148 = &device_creator<ttl74148_device>;
217217
218218ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
219   : device_t(mconfig, TTL74148, "74148", tag, owner, clock)
219   : device_t(mconfig, TTL74148, "74148", tag, owner, clock, "74148", __FILE__)
220220{
221221   m_token = global_alloc_clear(ttl74148_state);
222222}
trunk/src/emu/machine/z80pio.c
r23832r23833
5656//-------------------------------------------------
5757
5858z80pio_device::z80pio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
59   : device_t(mconfig, Z80PIO, "Z8420", tag, owner, clock),
59   : device_t(mconfig, Z80PIO, "Z8420", tag, owner, clock, "z80pio", __FILE__),
6060      device_z80daisy_interface(mconfig, *this)
6161{
6262}
trunk/src/emu/machine/7200fifo.c
r23832r23833
2020//-------------------------------------------------
2121
2222fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock),
23   : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock, "fifo7200", __FILE__),
2424      m_ram_size(0),
2525      m_ef_handler(*this),
2626      m_ff_handler(*this),
trunk/src/emu/machine/68681.c
r23832r23833
906906const device_type DUART68681 = &device_creator<duart68681_device>;
907907
908908duart68681_device::duart68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
909   : device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock)
909   : device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock, "duart68681", __FILE__)
910910{
911911   m_token = global_alloc_clear(duart68681_state);
912912}
trunk/src/emu/machine/com8116.c
r23832r23833
4747//-------------------------------------------------
4848
4949com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
50   : device_t(mconfig, COM8116, "COM8116", tag, owner, clock),
50   : device_t(mconfig, COM8116, "COM8116", tag, owner, clock, "com8116", __FILE__),
5151      m_write_fx4(*this),
5252      m_write_fr(*this),
5353      m_write_ft(*this)
trunk/src/emu/machine/msm58321.c
r23832r23833
9292//-------------------------------------------------
9393
9494msm58321_device::msm58321_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
95   : device_t(mconfig, MSM58321, "MSM58321", tag, owner, clock),
95   : device_t(mconfig, MSM58321, "MSM58321", tag, owner, clock, "msm58321", __FILE__),
9696      device_rtc_interface(mconfig, *this),
9797      m_cs2(0)
9898{
trunk/src/emu/machine/s3c2410.c
r23832r23833
7272const device_type S3C2410 = &device_creator<s3c2410_device>;
7373
7474s3c2410_device::s3c2410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
75      : device_t(mconfig, S3C2410, "Samsung S3C2410", tag, owner, clock)
75      : device_t(mconfig, S3C2410, "Samsung S3C2410", tag, owner, clock, "s3c2410", __FILE__)
7676{
7777   m_token = global_alloc_clear(s3c24xx_t);
7878}
trunk/src/emu/machine/i8212.c
r23832r23833
3232//-------------------------------------------------
3333
3434i8212_device::i8212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35   : device_t(mconfig, I8212, "Intel 8212", tag, owner, clock),
35   : device_t(mconfig, I8212, "Intel 8212", tag, owner, clock, "i8212", __FILE__),
3636      m_md(I8212_MODE_INPUT),
3737      m_stb(0)
3838{
trunk/src/emu/machine/6525tpi.c
r23832r23833
619619const device_type TPI6525 = &device_creator<tpi6525_device>;
620620
621621tpi6525_device::tpi6525_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
622   : device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock)
622   : device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock, "tpi6525", __FILE__)
623623{
624624   m_token = global_alloc_clear(tpi6525_state);
625625}
trunk/src/emu/machine/i8279.c
r23832r23833
8888//-------------------------------------------------
8989
9090i8279_device::i8279_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
91   : device_t(mconfig, I8279, "Intel 8279", tag, owner, clock)
91   : device_t(mconfig, I8279, "Intel 8279", tag, owner, clock, "i8279", __FILE__)
9292{
9393}
9494
trunk/src/emu/machine/mm74c922.c
r23832r23833
115115//-------------------------------------------------
116116
117117mm74c922_device::mm74c922_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
118   : device_t(mconfig, MM74C922, "MM74C922", tag, owner, clock),
118   : device_t(mconfig, MM74C922, "MM74C922", tag, owner, clock, "mm74c922", __FILE__),
119119      m_inhibit(0),
120120      m_x(0),
121121      m_y(0),
trunk/src/emu/machine/wd_fdc.c
r23832r23833
5858const device_type WD1772x = &device_creator<wd1772_t>;
5959const device_type WD1773x = &device_creator<wd1773_t>;
6060
61wd_fdc_t::wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
62   device_t(mconfig, type, name, tag, owner, clock)
61wd_fdc_t::wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
62   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
6363{
6464}
6565
r23832r23833
19281928   return 60000;
19291929}
19301930
1931wd_fdc_analog_t::wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
1932   wd_fdc_t(mconfig, type, name, tag, owner, clock)
1931wd_fdc_analog_t::wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
1932   wd_fdc_t(mconfig, type, name, tag, owner, clock, shortname, source)
19331933{
19341934   clock_ratio = 1;
19351935}
r23832r23833
19751975   return cur_pll.write_next_bit(bit, tm, floppy, limit);
19761976}
19771977
1978wd_fdc_digital_t::wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
1979   wd_fdc_t(mconfig, type, name, tag, owner, clock)
1978wd_fdc_digital_t::wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
1979   wd_fdc_t(mconfig, type, name, tag, owner, clock, shortname, source)
19801980{
19811981   clock_ratio = 4;
19821982}
r23832r23833
21792179   write_position = 0;
21802180}
21812181
2182fd1771_t::fd1771_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1771x, "FD1771", tag, owner, clock)
2182fd1771_t::fd1771_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1771x, "FD1771", tag, owner, clock, "fd1771", __FILE__)
21832183{
21842184   const static int fd1771_step_times[4] = { 12000, 12000, 20000, 40000 };
21852185
r23832r23833
22032203      return size ? size << 4 : 4096;
22042204}
22052205
2206fd1781_t::fd1781_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1781x, "FD1781", tag, owner, clock)
2206fd1781_t::fd1781_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1781x, "FD1781", tag, owner, clock, "fd1781", __FILE__)
22072207{
22082208   const static int fd1781_step_times[4] = { 6000, 12000, 20000, 40000 };
22092209
r23832r23833
22302230const int wd_fdc_t::fd179x_step_times[4] = {  6000, 12000, 20000, 30000 };
22312231const int wd_fdc_t::fd176x_step_times[4] = { 12000, 24000, 40000, 60000 };
22322232
2233fd1791_t::fd1791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1791x, "FD1791", tag, owner, clock)
2233fd1791_t::fd1791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1791x, "FD1791", tag, owner, clock, "fd1791", __FILE__)
22342234{
22352235   step_times = fd179x_step_times;
22362236   delay_register_commit = 4;
r23832r23833
22442244   ready_hooked = true;
22452245}
22462246
2247fd1792_t::fd1792_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1792x, "FD1792", tag, owner, clock)
2247fd1792_t::fd1792_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1792x, "FD1792", tag, owner, clock, "fd1792", __FILE__)
22482248{
22492249   step_times = fd179x_step_times;
22502250   delay_register_commit = 4;
r23832r23833
22582258   ready_hooked = true;
22592259}
22602260
2261fd1793_t::fd1793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1793x, "FD1793", tag, owner, clock)
2261fd1793_t::fd1793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1793x, "FD1793", tag, owner, clock, "fd1793", __FILE__)
22622262{
22632263   step_times = fd179x_step_times;
22642264   delay_register_commit = 4;
r23832r23833
22722272   ready_hooked = true;
22732273}
22742274
2275fd1794_t::fd1794_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1794x, "FD1794", tag, owner, clock)
2275fd1794_t::fd1794_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1794x, "FD1794", tag, owner, clock, "fd1794", __FILE__)
22762276{
22772277   step_times = fd179x_step_times;
22782278   delay_register_commit = 4;
r23832r23833
22862286   ready_hooked = true;
22872287}
22882288
2289fd1795_t::fd1795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1795x, "FD1795", tag, owner, clock)
2289fd1795_t::fd1795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1795x, "FD1795", tag, owner, clock, "fd1795", __FILE__)
22902290{
22912291   step_times = fd179x_step_times;
22922292   delay_register_commit = 4;
r23832r23833
23082308      return 128 << ((size + 1) & 3);
23092309}
23102310
2311fd1797_t::fd1797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1797x, "FD1797", tag, owner, clock)
2311fd1797_t::fd1797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1797x, "FD1797", tag, owner, clock, "fd1797", __FILE__)
23122312{
23132313   step_times = fd179x_step_times;
23142314   delay_register_commit = 4;
r23832r23833
23302330      return 128 << ((size + 1) & 3);
23312331}
23322332
2333mb8866_t::mb8866_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8866x, "MB8866", tag, owner, clock)
2333mb8866_t::mb8866_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8866x, "MB8866", tag, owner, clock, "mb8866", __FILE__)
23342334{
23352335   step_times = fd179x_step_times;
23362336   delay_register_commit = 4;
r23832r23833
23442344   ready_hooked = true;
23452345}
23462346
2347mb8876_t::mb8876_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8876x, "MB8876", tag, owner, clock)
2347mb8876_t::mb8876_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8876x, "MB8876", tag, owner, clock, "mb8876", __FILE__)
23482348{
23492349   step_times = fd179x_step_times;
23502350   delay_register_commit = 4;
r23832r23833
23582358   ready_hooked = true;
23592359}
23602360
2361mb8877_t::mb8877_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8877x, "MB8877", tag, owner, clock)
2361mb8877_t::mb8877_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8877x, "MB8877", tag, owner, clock, "mb8877", __FILE__)
23622362{
23632363   step_times = fd179x_step_times;
23642364   delay_register_commit = 4;
r23832r23833
23722372   ready_hooked = true;
23732373}
23742374
2375fd1761_t::fd1761_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1761x, "FD1761", tag, owner, clock)
2375fd1761_t::fd1761_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1761x, "FD1761", tag, owner, clock, "fd1761", __FILE__)
23762376{
23772377   step_times = fd176x_step_times;
23782378   delay_register_commit = 16;
r23832r23833
23862386   ready_hooked = true;
23872387}
23882388
2389fd1763_t::fd1763_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1763x, "FD1763", tag, owner, clock)
2389fd1763_t::fd1763_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1763x, "FD1763", tag, owner, clock, "fd1763", __FILE__)
23902390{
23912391   step_times = fd176x_step_times;
23922392   delay_register_commit = 16;
r23832r23833
24002400   ready_hooked = true;
24012401}
24022402
2403fd1765_t::fd1765_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1765x, "FD1765", tag, owner, clock)
2403fd1765_t::fd1765_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1765x, "FD1765", tag, owner, clock, "fd1765", __FILE__)
24042404{
24052405   step_times = fd176x_step_times;
24062406   delay_register_commit = 16;
r23832r23833
24222422      return 128 << ((size + 1) & 3);
24232423}
24242424
2425fd1767_t::fd1767_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1767x, "FD1767", tag, owner, clock)
2425fd1767_t::fd1767_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1767x, "FD1767", tag, owner, clock, "fd1767", __FILE__)
24262426{
24272427   step_times = fd179x_step_times;
24282428   delay_register_commit = 16;
r23832r23833
24442444      return 128 << ((size + 1) & 3);
24452445}
24462446
2447wd2791_t::wd2791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2791x, "WD2791", tag, owner, clock)
2447wd2791_t::wd2791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2791x, "WD2791", tag, owner, clock, "wd2791", __FILE__)
24482448{
24492449   step_times = fd179x_step_times;
24502450   delay_register_commit = 16;
r23832r23833
24582458   ready_hooked = true;
24592459}
24602460
2461wd2793_t::wd2793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2793x, "WD2793", tag, owner, clock)
2461wd2793_t::wd2793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2793x, "WD2793", tag, owner, clock, "wd2793", __FILE__)
24622462{
24632463   step_times = fd179x_step_times;
24642464   delay_register_commit = 16;
r23832r23833
24722472   ready_hooked = true;
24732473}
24742474
2475wd2795_t::wd2795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2795x, "WD2795", tag, owner, clock)
2475wd2795_t::wd2795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2795x, "WD2795", tag, owner, clock, "wd2795", __FILE__)
24762476{
24772477   step_times = fd179x_step_times;
24782478   delay_register_commit = 16;
r23832r23833
24942494      return 128 << ((size + 1) & 3);
24952495}
24962496
2497wd2797_t::wd2797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2797x, "WD2797", tag, owner, clock)
2497wd2797_t::wd2797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2797x, "WD2797", tag, owner, clock, "wd2797", __FILE__)
24982498{
24992499   step_times = fd179x_step_times;
25002500   delay_register_commit = 16;
r23832r23833
25162516      return 128 << ((size + 1) & 3);
25172517}
25182518
2519wd1770_t::wd1770_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1770x, "WD1770", tag, owner, clock)
2519wd1770_t::wd1770_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1770x, "WD1770", tag, owner, clock, "wd1770", __FILE__)
25202520{
25212521   step_times = wd_digital_step_times;
25222522   delay_register_commit = 32;
r23832r23833
25302530   ready_hooked = false;
25312531}
25322532
2533wd1772_t::wd1772_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1772x, "WD1772", tag, owner, clock)
2533wd1772_t::wd1772_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1772x, "WD1772", tag, owner, clock, "wd1772", __FILE__)
25342534{
25352535   const static int wd1772_step_times[4] = { 12000, 24000, 4000, 6000 };
25362536
r23832r23833
25512551   return 30000;
25522552}
25532553
2554wd1773_t::wd1773_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1773x, "WD1773", tag, owner, clock)
2554wd1773_t::wd1773_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1773x, "WD1773", tag, owner, clock, "wd1773", __FILE__)
25552555{
25562556   step_times = wd_digital_step_times;
25572557   delay_register_commit = 32;
trunk/src/emu/machine/wd_fdc.h
r23832r23833
112112public:
113113   typedef delegate<void (bool state)> line_cb;
114114
115   wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
115   wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
116116
117117   void dden_w(bool dden);
118118   void set_floppy(floppy_image_device *floppy);
r23832r23833
414414
415415class wd_fdc_analog_t : public wd_fdc_t {
416416public:
417   wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
417   wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
418418
419419protected:
420420   virtual void pll_reset(bool fm, attotime when);
r23832r23833
432432
433433class wd_fdc_digital_t : public wd_fdc_t {
434434public:
435   wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
435   wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
436436
437437protected:
438438   static const int wd_digital_step_times[4];
trunk/src/emu/machine/rtc65271.c
r23832r23833
671671//-------------------------------------------------
672672
673673rtc65271_device::rtc65271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
674   : device_t(mconfig, RTC65271, "RTC65271", tag, owner, clock),
674   : device_t(mconfig, RTC65271, "RTC65271", tag, owner, clock, "rtc65271", __FILE__),
675675      device_nvram_interface(mconfig, *this)
676676{
677677}
trunk/src/emu/machine/z8536.c
r23832r23833
10161016//-------------------------------------------------
10171017
10181018z8536_device::z8536_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1019   : device_t(mconfig, Z8536, "Zilog Z8536", tag, owner, clock),
1019   : device_t(mconfig, Z8536, "Zilog Z8536", tag, owner, clock, "z8536", __FILE__),
10201020      device_z80daisy_interface(mconfig, *this),
10211021      m_int(CLEAR_LINE)
10221022{
trunk/src/emu/machine/z80sti.c
r23832r23833
8484//-------------------------------------------------
8585
8686z80sti_device::z80sti_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
87   : device_t(mconfig, Z80STI, "Mostek MK3801", tag, owner, clock),
87   : device_t(mconfig, Z80STI, "Mostek MK3801", tag, owner, clock, "z80sti", __FILE__),
8888      device_serial_interface(mconfig, *this),
8989      device_z80daisy_interface(mconfig, *this),
9090      m_gpip(0),
trunk/src/emu/machine/vt83c461.c
r23832r23833
1717const device_type VT83C461 = &device_creator<vt83c461_device>;
1818
1919vt83c461_device::vt83c461_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
20   ide_controller_device(mconfig, VT83C461, "VIA VT83C461", tag, owner, clock),
20   ide_controller_device(mconfig, VT83C461, "VIA VT83C461", tag, owner, clock, "vt83c461", __FILE__),
2121   m_config_unknown(0),
2222   m_config_register_num(0)
2323{
trunk/src/emu/machine/upd1990a.c
r23832r23833
4646//  upd1990a_device - constructor
4747//-------------------------------------------------
4848
49upd1990a_device::upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
50   : device_t(mconfig, type, name, tag, owner, clock),
49upd1990a_device::upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
50   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
5151      device_rtc_interface(mconfig, *this),
5252      m_write_data(*this),
5353      m_write_tp(*this),
r23832r23833
5959}
6060
6161upd1990a_device::upd1990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, UPD1990A, "uPD1990A", tag, owner, clock),
62   : device_t(mconfig, UPD1990A, "uPD1990A", tag, owner, clock, "upd1990a", __FILE__),
6363      device_rtc_interface(mconfig, *this),
6464      m_write_data(*this),
6565      m_write_tp(*this),
r23832r23833
7171}
7272
7373upd4990a_device::upd4990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
74   : upd1990a_device(mconfig, UPD4990A, "uPD4990A", tag, owner, clock, TYPE_4990A) { }
74   : upd1990a_device(mconfig, UPD4990A, "uPD4990A", tag, owner, clock, TYPE_4990A, "upd4990a", __FILE__) { }
7575
7676
7777//-------------------------------------------------
trunk/src/emu/machine/upd1990a.h
r23832r23833
5353{
5454public:
5555   // construction/destruction
56   upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
56   upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
5757   upd1990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
5858
5959   template<class _data> void set_data_callback(_data data) { m_write_data.set_callback(data); }
trunk/src/emu/machine/53c810.c
r23832r23833
619619}
620620
621621lsi53c810_device::lsi53c810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
622   : device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock)
622   : device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock, "lsi53c810", __FILE__)
623623{
624624}
625625
trunk/src/emu/machine/nvram.c
r23832r23833
5454//-------------------------------------------------
5555
5656nvram_device::nvram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : device_t(mconfig, NVRAM, "NVRAM", tag, owner, clock),
57   : device_t(mconfig, NVRAM, "NVRAM", tag, owner, clock, "nvram", __FILE__),
5858      device_nvram_interface(mconfig, *this),
5959      m_default_value(DEFAULT_ALL_1),
6060      m_base(NULL),
trunk/src/emu/machine/cdp1852.c
r23832r23833
6565//-------------------------------------------------
6666
6767cdp1852_device::cdp1852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
68   : device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock)
68   : device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock, "cdp1852", __FILE__)
6969{
7070}
7171
trunk/src/emu/machine/nscsi_bus.c
r23832r23833
44const device_type NSCSI_CONNECTOR = &device_creator<nscsi_connector>;
55
66nscsi_bus_device::nscsi_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
7   device_t(mconfig, NSCSI_BUS, "SCSI Bus", tag, owner, clock)
7   device_t(mconfig, NSCSI_BUS, "SCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__)
88{
99   devcnt = 0;
1010   memset(dev, 0, sizeof(dev));
r23832r23833
124124
125125
126126nscsi_connector::nscsi_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
127   device_t(mconfig, NSCSI_CONNECTOR, "NSCSI device connector abstraction", tag, owner, clock),
127   device_t(mconfig, NSCSI_CONNECTOR, "NSCSI device connector abstraction", tag, owner, clock, "nscsi_connector", __FILE__),
128128   device_slot_interface(mconfig, *this)
129129{
130130}
trunk/src/emu/machine/6532riot.c
r23832r23833
397397//-------------------------------------------------
398398
399399riot6532_device::riot6532_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
400   : device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock),
400   : device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock, "riot6532", __FILE__),
401401      m_irq(CLEAR_LINE)
402402{
403403}
trunk/src/emu/machine/seibu_cop.c
r23832r23833
6767//-------------------------------------------------
6868
6969seibu_cop_device::seibu_cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
70   : device_t(mconfig, SEIBU_COP, "seibu_cop", tag, owner, clock),
70   : device_t(mconfig, SEIBU_COP, "seibu_cop", tag, owner, clock, "seibu_cop", __FILE__),
7171      device_memory_interface(mconfig, *this),
7272      m_space_config("io", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(seibu_cop_io))
7373{
trunk/src/emu/machine/pci.c
r23832r23833
8888//  pci_bus_legacy_device - constructor
8989//-------------------------------------------------
9090pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
91      device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock),
91      device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock, "pci_bus_legacy", __FILE__),
9292      m_father(NULL)
9393{
9494   for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++) {
r23832r23833
305305//  pci_bus_device - constructor
306306//-------------------------------------------------
307307pci_bus_device::pci_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
308      device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock),
308      device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock, "pci_bus", __FILE__),
309309      m_father(NULL)
310310{
311311   for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++) {
r23832r23833
530530
531531
532532pci_connector::pci_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
533   device_t(mconfig, PCI_CONNECTOR, "PCI device connector abstraction", tag, owner, clock),
533   device_t(mconfig, PCI_CONNECTOR, "PCI device connector abstraction", tag, owner, clock, "pci_connector", __FILE__),
534534   device_slot_interface(mconfig, *this)
535535{
536536}
trunk/src/emu/machine/k053252.c
r23832r23833
5959const device_type K053252 = &device_creator<k053252_device>;
6060
6161k053252_device::k053252_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, K053252, "Konami 053252", tag, owner, clock)
62   : device_t(mconfig, K053252, "Konami 053252", tag, owner, clock, "k053252", __FILE__)
6363{
6464}
6565
trunk/src/emu/machine/i8255.c
r23832r23833
260260//-------------------------------------------------
261261
262262i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
263   : device_t(mconfig, I8255, "I8255", tag, owner, clock)
263   : device_t(mconfig, I8255, "I8255", tag, owner, clock, "i8279", __FILE__)
264264{
265265   m_intr[PORT_A] = m_intr[PORT_B] = 0;
266266   m_control = 0;
trunk/src/emu/machine/mb87078.c
r23832r23833
268268const device_type MB87078 = &device_creator<mb87078_device>;
269269
270270mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
271   : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock)
271   : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock, "mb87078", __FILE__)
272272{
273273   m_token = global_alloc_clear(mb87078_state);
274274}
trunk/src/emu/machine/wd2010.c
r23832r23833
140140//-------------------------------------------------
141141
142142wd2010_device::wd2010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
143   : device_t(mconfig, WD2010, "Western Digital WD2010", tag, owner, clock),
143   : device_t(mconfig, WD2010, "Western Digital WD2010", tag, owner, clock, "wd2010", __FILE__),
144144   m_status(0),
145145   m_error(0)
146146{
trunk/src/emu/machine/pit8253.c
r23832r23833
4242
4343
4444pit8253_device::pit8253_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
45            : device_t(mconfig, PIT8253, "Intel PIT8253", tag, owner, clock)
45            : device_t(mconfig, PIT8253, "Intel PIT8253", tag, owner, clock, "pit8253", __FILE__)
4646{
4747}
4848
49pit8253_device::pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
50            : device_t(mconfig, type, name, tag, owner, clock)
49pit8253_device::pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
50            : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
5151{
5252}
5353
5454pit8254_device::pit8254_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
55            : pit8253_device(mconfig, PIT8254, "Intel PIT8254", tag, owner, clock)
55            : pit8253_device(mconfig, PIT8254, "Intel PIT8254", tag, owner, clock, "pit8254", __FILE__)
5656{
5757}
5858
trunk/src/emu/machine/pit8253.h
r23832r23833
8484{
8585public:
8686   pit8253_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
87   pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
87   pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
8888   ~pit8253_device() {}
8989
9090
trunk/src/emu/machine/ctronics.c
r23832r23833
1919//-------------------------------------------------
2020
2121centronics_device::centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock),
22   : device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock, "centronics", __FILE__),
2323      device_slot_interface(mconfig, *this),
2424      m_dev(NULL)
2525{
trunk/src/emu/machine/am9517a.c
r23832r23833
372372//-------------------------------------------------
373373
374374am9517a_device::am9517a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
375   : device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock),
375   : device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock, "am9517a", __FILE__),
376376      device_execute_interface(mconfig, *this),
377377      m_icount(0),
378378      m_hack(0),
trunk/src/emu/machine/am53cf96.c
r23832r23833
158158}
159159
160160am53cf96_device::am53cf96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
161   device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock),
161   device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock, "am53cf96", __FILE__),
162162   m_irq_handler(*this)
163163{
164164}
trunk/src/emu/machine/wd17xx.c
r23832r23833
20992099const device_type FD1771 = &device_creator<fd1771_device>;
21002100
21012101fd1771_device::fd1771_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2102   : wd1770_device(mconfig, FD1771, "FD1771", tag, owner, clock)
2102   : wd1770_device(mconfig, FD1771, "FD1771", tag, owner, clock, "fd1771", __FILE__)
21032103{
21042104}
21052105
r23832r23833
21072107const device_type FD1781 = &device_creator<fd1781_device>;
21082108
21092109fd1781_device::fd1781_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2110   : wd1770_device(mconfig, FD1781, "FD1781", tag, owner, clock)
2110   : wd1770_device(mconfig, FD1781, "FD1781", tag, owner, clock, "fd1781", __FILE__)
21112111{
21122112}
21132113
r23832r23833
21152115const device_type FD1791 = &device_creator<fd1791_device>;
21162116
21172117fd1791_device::fd1791_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2118   : wd1770_device(mconfig, FD1791, "FD1791", tag, owner, clock)
2118   : wd1770_device(mconfig, FD1791, "FD1791", tag, owner, clock, "fd1791", __FILE__)
21192119{
21202120}
21212121
r23832r23833
21232123const device_type FD1792 = &device_creator<fd1792_device>;
21242124
21252125fd1792_device::fd1792_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2126   : wd1770_device(mconfig, FD1792, "FD1792", tag, owner, clock)
2126   : wd1770_device(mconfig, FD1792, "FD1792", tag, owner, clock, "fd1792", __FILE__)
21272127{
21282128}
21292129
r23832r23833
21312131const device_type FD1793 = &device_creator<fd1793_device>;
21322132
21332133fd1793_device::fd1793_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2134   : wd1770_device(mconfig, FD1793, "FD1793", tag, owner, clock)
2134   : wd1770_device(mconfig, FD1793, "FD1793", tag, owner, clock, "fd1793", __FILE__)
21352135{
21362136}
21372137
r23832r23833
21392139const device_type FD1794 = &device_creator<fd1794_device>;
21402140
21412141fd1794_device::fd1794_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2142   : wd1770_device(mconfig, FD1794, "FD1794", tag, owner, clock)
2142   : wd1770_device(mconfig, FD1794, "FD1794", tag, owner, clock, "fd1794", __FILE__)
21432143{
21442144}
21452145
r23832r23833
21472147const device_type FD1795 = &device_creator<fd1795_device>;
21482148
21492149fd1795_device::fd1795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2150   : wd1770_device(mconfig, FD1795, "FD1795", tag, owner, clock)
2150   : wd1770_device(mconfig, FD1795, "FD1795", tag, owner, clock, "fd1795", __FILE__)
21512151{
21522152}
21532153
r23832r23833
21552155const device_type FD1797 = &device_creator<fd1797_device>;
21562156
21572157fd1797_device::fd1797_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2158   : wd1770_device(mconfig, FD1797, "FD1797", tag, owner, clock)
2158   : wd1770_device(mconfig, FD1797, "FD1797", tag, owner, clock, "fd1797", __FILE__)
21592159{
21602160}
21612161
r23832r23833
21632163const device_type FD1761 = &device_creator<fd1761_device>;
21642164
21652165fd1761_device::fd1761_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2166   : wd1770_device(mconfig, FD1761, "FD1761", tag, owner, clock)
2166   : wd1770_device(mconfig, FD1761, "FD1761", tag, owner, clock, "fd1761", __FILE__)
21672167{
21682168}
21692169
r23832r23833
21712171const device_type FD1762 = &device_creator<fd1762_device>;
21722172
21732173fd1762_device::fd1762_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2174   : wd1770_device(mconfig, FD1762, "FD1762", tag, owner, clock)
2174   : wd1770_device(mconfig, FD1762, "FD1762", tag, owner, clock, "fd1762", __FILE__)
21752175{
21762176}
21772177
r23832r23833
21792179const device_type FD1763 = &device_creator<fd1763_device>;
21802180
21812181fd1763_device::fd1763_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2182   : wd1770_device(mconfig, FD1763, "FD1763", tag, owner, clock)
2182   : wd1770_device(mconfig, FD1763, "FD1763", tag, owner, clock, "fd1763", __FILE__)
21832183{
21842184}
21852185
r23832r23833
21872187const device_type FD1764 = &device_creator<fd1764_device>;
21882188
21892189fd1764_device::fd1764_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2190   : wd1770_device(mconfig, FD1764, "FD1764", tag, owner, clock)
2190   : wd1770_device(mconfig, FD1764, "FD1764", tag, owner, clock, "fd1764", __FILE__)
21912191{
21922192}
21932193
r23832r23833
21952195const device_type FD1765 = &device_creator<fd1765_device>;
21962196
21972197fd1765_device::fd1765_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2198   : wd1770_device(mconfig, FD1765, "FD1765", tag, owner, clock)
2198   : wd1770_device(mconfig, FD1765, "FD1765", tag, owner, clock, "fd1765", __FILE__)
21992199{
22002200}
22012201
r23832r23833
22032203const device_type FD1767 = &device_creator<fd1767_device>;
22042204
22052205fd1767_device::fd1767_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2206   : wd1770_device(mconfig, FD1767, "FD1767", tag, owner, clock)
2206   : wd1770_device(mconfig, FD1767, "FD1767", tag, owner, clock, "fd1767", __FILE__)
22072207{
22082208}
22092209
r23832r23833
22112211const device_type WD2791 = &device_creator<wd2791_device>;
22122212
22132213wd2791_device::wd2791_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2214   : wd1770_device(mconfig, WD2791, "WD2791", tag, owner, clock)
2214   : wd1770_device(mconfig, WD2791, "WD2791", tag, owner, clock, "wd2791", __FILE__)
22152215{
22162216}
22172217
r23832r23833
22192219const device_type WD2793 = &device_creator<wd2793_device>;
22202220
22212221wd2793_device::wd2793_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2222   : wd1770_device(mconfig, WD2793, "WD2793", tag, owner, clock)
2222   : wd1770_device(mconfig, WD2793, "WD2793", tag, owner, clock, "wd2793", __FILE__)
22232223{
22242224}
22252225
r23832r23833
22272227const device_type WD2795 = &device_creator<wd2795_device>;
22282228
22292229wd2795_device::wd2795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2230   : wd1770_device(mconfig, WD2795, "WD2795", tag, owner, clock)
2230   : wd1770_device(mconfig, WD2795, "WD2795", tag, owner, clock, "wd2795", __FILE__)
22312231{
22322232}
22332233
r23832r23833
22352235const device_type WD2797 = &device_creator<wd2797_device>;
22362236
22372237wd2797_device::wd2797_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2238   : wd1770_device(mconfig, WD2797, "WD2797", tag, owner, clock)
2238   : wd1770_device(mconfig, WD2797, "WD2797", tag, owner, clock, "wd2797", __FILE__)
22392239{
22402240}
22412241
r23832r23833
22432243const device_type WD1770 = &device_creator<wd1770_device>;
22442244
22452245wd1770_device::wd1770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2246   : device_t(mconfig, WD1770, "WD1770", tag, owner, clock)
2246   : device_t(mconfig, WD1770, "WD1770", tag, owner, clock, "wd1770", __FILE__)
22472247{
22482248   m_token = global_alloc_clear(wd1770_state);
22492249}
2250wd1770_device::wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
2251   : device_t(mconfig, type, name, tag, owner, clock)
2250wd1770_device::wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
2251   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
22522252{
22532253   m_token = global_alloc_clear(wd1770_state);
22542254}
r23832r23833
22852285const device_type WD1772 = &device_creator<wd1772_device>;
22862286
22872287wd1772_device::wd1772_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2288   : wd1770_device(mconfig, WD1772, "WD1772", tag, owner, clock)
2288   : wd1770_device(mconfig, WD1772, "WD1772", tag, owner, clock, "wd1772", __FILE__)
22892289{
22902290}
22912291
r23832r23833
23022302const device_type WD1773 = &device_creator<wd1773_device>;
23032303
23042304wd1773_device::wd1773_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2305   : wd1770_device(mconfig, WD1773, "WD1773", tag, owner, clock)
2305   : wd1770_device(mconfig, WD1773, "WD1773", tag, owner, clock, "wd1773", __FILE__)
23062306{
23072307}
23082308
r23832r23833
23102310const device_type MB8866 = &device_creator<mb8866_device>;
23112311
23122312mb8866_device::mb8866_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2313   : wd1770_device(mconfig, MB8866, "MB8866", tag, owner, clock)
2313   : wd1770_device(mconfig, MB8866, "MB8866", tag, owner, clock, "mb8866", __FILE__)
23142314{
23152315}
23162316
r23832r23833
23182318const device_type MB8876 = &device_creator<mb8876_device>;
23192319
23202320mb8876_device::mb8876_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2321   : wd1770_device(mconfig, MB8876, "MB8876", tag, owner, clock)
2321   : wd1770_device(mconfig, MB8876, "MB8876", tag, owner, clock, "mb8876", __FILE__)
23222322{
23232323}
23242324
r23832r23833
23262326const device_type MB8877 = &device_creator<mb8877_device>;
23272327
23282328mb8877_device::mb8877_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2329   : wd1770_device(mconfig, MB8877, "MB8877", tag, owner, clock)
2329   : wd1770_device(mconfig, MB8877, "MB8877", tag, owner, clock, "mb8877", __FILE__)
23302330{
23312331}
trunk/src/emu/machine/wd17xx.h
r23832r23833
2121{
2222public:
2323   wd1770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
24   wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
24   wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
2525   ~wd1770_device() { global_free(m_token); }
2626
2727   // access to legacy token
trunk/src/emu/machine/mc68901.c
r23832r23833
651651//-------------------------------------------------
652652
653653mc68901_device::mc68901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
654   : device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock),
654   : device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock, "mc68901", __FILE__),
655655      device_serial_interface(mconfig, *this),
656656      m_gpip(0),
657657      m_tsr(TSR_BUFFER_EMPTY)
trunk/src/emu/machine/rp5c01.c
r23832r23833
173173//-------------------------------------------------
174174
175175rp5c01_device::rp5c01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
176   : device_t(mconfig, RP5C01, "RP5C01", tag, owner, clock),
176   : device_t(mconfig, RP5C01, "RP5C01", tag, owner, clock, "rp5c01", __FILE__),
177177      device_rtc_interface(mconfig, *this),
178178      device_nvram_interface(mconfig, *this),
179179      m_mode(0),
trunk/src/emu/machine/timekpr.c
r23832r23833
117117//  timekeeper_device_config - constructor
118118//-------------------------------------------------
119119
120timekeeper_device::timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
121   : device_t(mconfig, type, name, tag, owner, clock),
120timekeeper_device::timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
121   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
122122      device_nvram_interface(mconfig, *this)
123123{
124124}
125125
126126m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127   : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock)
127   : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock, "m48t02", __FILE__)
128128{
129129   m_offset_control = 0x7f8;
130130   m_offset_seconds = 0x7f9;
r23832r23833
140140}
141141
142142m48t35_device::m48t35_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
143   : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock)
143   : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock, "m48t35", __FILE__)
144144{
145145   m_offset_control = 0x7ff8;
146146   m_offset_seconds = 0x7ff9;
r23832r23833
156156}
157157
158158m48t37_device::m48t37_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
159   : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock)
159   : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock, "m48t37", __FILE__)
160160{
161161   m_offset_control = 0x7ff8;
162162   m_offset_seconds = 0x7ff9;
r23832r23833
172172}
173173
174174m48t58_device::m48t58_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
175   : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock)
175   : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock, "m48t58", __FILE__)
176176{
177177   m_offset_control = 0x1ff8;
178178   m_offset_seconds = 0x1ff9;
r23832r23833
188188}
189189
190190mk48t08_device::mk48t08_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
191   : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock)
191   : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock, "m48t08", __FILE__)
192192{
193193   m_offset_control = 0x1ff8;
194194   m_offset_seconds = 0x1ff9;
trunk/src/emu/machine/timekpr.h
r23832r23833
6161{
6262protected:
6363   // construction/destruction
64   timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
64   timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
6565
6666public:
6767   DECLARE_WRITE8_MEMBER( write );
trunk/src/emu/machine/latch8.c
r23832r23833
234234const device_type LATCH8 = &device_creator<latch8_device>;
235235
236236latch8_device::latch8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
237      : device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock)
237      : device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock, "latch8", __FILE__)
238238{
239239   m_token = global_alloc_clear(latch8_t);
240240   memset((void*)&m_inline_config,0,sizeof(m_inline_config));
trunk/src/emu/machine/mos6529.c
r23832r23833
3737//-------------------------------------------------
3838
3939mos6529_device::mos6529_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, MOS6529, "MOS6529", tag, owner, clock),
40   : device_t(mconfig, MOS6529, "MOS6529", tag, owner, clock, "mos6529", __FILE__),
4141      m_read_port(*this),
4242      m_write_port(*this)
4343{
trunk/src/emu/machine/ataintf.c
r23832r23833
155155   SLOT_INTERFACE("hdd", IDE_HARDDISK)
156156SLOT_INTERFACE_END
157157
158ata_interface_device::ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
159   device_t(mconfig, type, name, tag, owner, clock),
158ata_interface_device::ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
159   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
160160   m_irq_handler(*this),
161161   m_dmarq_handler(*this)
162162{
r23832r23833
166166const device_type ATA_INTERFACE = &device_creator<ata_interface_device>;
167167
168168ata_interface_device::ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
169   device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock),
169   device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock, "ata_interface", __FILE__),
170170   m_irq_handler(*this),
171171   m_dmarq_handler(*this)
172172{
r23832r23833
233233//-------------------------------------------------
234234
235235ata_slot_device::ata_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
236   : device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock),
236   : device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock, "ata_slot", __FILE__),
237237      device_slot_interface(mconfig, *this),
238238      m_dev(NULL)
239239{
trunk/src/emu/machine/eeprom.c
r23832r23833
9393//-------------------------------------------------
9494
9595eeprom_device::eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
96   : device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock),
96   : device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock, "eeprom", __FILE__),
9797      device_memory_interface(mconfig, *this),
9898      device_nvram_interface(mconfig, *this),
9999      m_default_data_size(0),
trunk/src/emu/machine/ataintf.h
r23832r23833
7777{
7878public:
7979   ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
80   ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
80   ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
8181
8282   // static configuration helpers
8383   template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ata_interface_device &>(device).m_irq_handler.set_callback(object); }
trunk/src/emu/machine/tc009xlvc.c
r23832r23833
163163ADDRESS_MAP_END
164164
165165tc0091lvc_device::tc0091lvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
166   : device_t(mconfig, TC0091LVC, "TC0091LVC", tag, owner, clock),
166   : device_t(mconfig, TC0091LVC, "TC0091LVC", tag, owner, clock, "tc0091lvc", __FILE__),
167167      device_memory_interface(mconfig, *this),
168168      m_space_config("tc0091lvc", ENDIANNESS_LITTLE, 8,20, 0, NULL, *ADDRESS_MAP_NAME(tc0091lvc_map8))
169169{
trunk/src/emu/machine/6522via.c
r23832r23833
147147//-------------------------------------------------
148148
149149via6522_device::via6522_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
150   : device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock),
150   : device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock, "via6522", __FILE__),
151151      m_irq(CLEAR_LINE)
152152{
153153}
trunk/src/emu/machine/e0516.c
r23832r23833
4040//-------------------------------------------------
4141
4242e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : device_t(mconfig, E0516, "E05-16", tag, owner, clock),
43   : device_t(mconfig, E0516, "E05-16", tag, owner, clock, "e0516", __FILE__),
4444      device_rtc_interface(mconfig, *this)
4545{
4646}
trunk/src/emu/machine/serflash.c
r23832r23833
2020//-------------------------------------------------
2121
2222serflash_device::serflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, SERFLASH, "SERFLASH", tag, owner, clock),
23   : device_t(mconfig, SERFLASH, "SERFLASH", tag, owner, clock, "serflash", __FILE__),
2424      device_nvram_interface(mconfig, *this),
2525      m_length(0)
2626{
trunk/src/emu/machine/i8214.c
r23832r23833
9090//-------------------------------------------------
9191
9292i8214_device::i8214_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
93   : device_t(mconfig, I8214, "I8214", tag, owner, clock)
93   : device_t(mconfig, I8214, "I8214", tag, owner, clock, "i8214", __FILE__)
9494{
9595}
9696
trunk/src/emu/machine/z80ctc.c
r23832r23833
8080//-------------------------------------------------
8181
8282z80ctc_device::z80ctc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
83   : device_t(mconfig, Z80CTC, "Zilog Z80 CTC", tag, owner, clock),
83   : device_t(mconfig, Z80CTC, "Zilog Z80 CTC", tag, owner, clock, "z80ctc", __FILE__),
8484      device_z80daisy_interface(mconfig, *this)
8585{
8686}
trunk/src/emu/machine/mos6530.c
r23832r23833
435435const device_type MOS6530 = &device_creator<mos6530_device>;
436436
437437mos6530_device::mos6530_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
438   : device_t(mconfig, MOS6530, "MOS6530", tag, owner, clock)
438   : device_t(mconfig, MOS6530, "MOS6530", tag, owner, clock, "mos6530", __FILE__)
439439{
440440   m_token = global_alloc_clear(mos6530_state);
441441}
trunk/src/emu/diserial.c
r23832r23833
449449//-------------------------------------------------
450450
451451serial_source_device::serial_source_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
452   : device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock),
452   : device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock, "serial_source", __FILE__),
453453      device_serial_interface(mconfig, *this)
454454{
455455}
trunk/src/emu/imagedev/serial.c
r23832r23833
1818//-------------------------------------------------
1919
2020serial_image_device::serial_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
21   : device_t(mconfig, SERIAL, "Serial", tag, owner, clock),
21   : device_t(mconfig, SERIAL, "Serial", tag, owner, clock, "serial_image", __FILE__),
2222      device_serial_interface(mconfig, *this),
2323      device_image_interface(mconfig, *this)
2424{
trunk/src/emu/imagedev/printer.c
r23832r23833
1818//-------------------------------------------------
1919
2020printer_image_device::printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
21   : device_t(mconfig, PRINTER, "Printer", tag, owner, clock),
21   : device_t(mconfig, PRINTER, "Printer", tag, owner, clock, "printer_image", __FILE__),
2222      device_image_interface(mconfig, *this)
2323{
2424}
trunk/src/emu/imagedev/bitbngr.c
r23832r23833
2222-------------------------------------------------*/
2323
2424bitbanger_device::bitbanger_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock),
25   : device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock, "bitbanger", __FILE__),
2626      device_image_interface(mconfig, *this)
2727{
2828   m_output_timer = NULL;
trunk/src/emu/imagedev/snapquik.c
r23832r23833
1717//-------------------------------------------------
1818
1919snapshot_image_device::snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock),
20   : device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock, "snapshot_image", __FILE__),
2121      device_image_interface(mconfig, *this),
2222      m_interface(NULL),
2323      m_delay_attoseconds(0)
trunk/src/emu/imagedev/cartslot.c
r23832r23833
1919//-------------------------------------------------
2020
2121cartslot_image_device::cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22   : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock),
22   : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock, "cartslot_image", __FILE__),
2323      device_image_interface(mconfig, *this),
2424      m_extensions("bin"),
2525      m_interface(NULL),
trunk/src/emu/imagedev/harddriv.c
r23832r23833
3737//-------------------------------------------------
3838
3939harddisk_image_device::harddisk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock),
40   : device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock, "harddisk_image", __FILE__),
4141      device_image_interface(mconfig, *this),
4242      m_chd(NULL),
4343      m_hard_disk_handle(NULL)
trunk/src/emu/imagedev/chd_cd.c
r23832r23833
2525//-------------------------------------------------
2626
2727cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : device_t(mconfig, CDROM, "Cdrom", tag, owner, clock),
28   : device_t(mconfig, CDROM, "Cdrom", tag, owner, clock, "cdrom_image", __FILE__),
2929      device_image_interface(mconfig, *this)
3030{
3131}
3232
3333cdrom_image_device::cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
34   : device_t(mconfig, type, name,  tag, owner, clock),
34   : device_t(mconfig, type, name,  tag, owner, clock, shortname, source),
3535      device_image_interface(mconfig, *this)
3636{
3737}
trunk/src/emu/imagedev/midiin.c
r23832r23833
2020-------------------------------------------------*/
2121
2222midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock),
23   : device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock, "midiin", __FILE__),
2424      device_image_interface(mconfig, *this),
2525         device_serial_interface(mconfig, *this)
2626{
trunk/src/emu/imagedev/floppy.c
r23832r23833
4545};
4646
4747floppy_connector::floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
48   device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock),
48   device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock, "floppy_connector", __FILE__),
4949   device_slot_interface(mconfig, *this)
5050{
5151}
trunk/src/emu/imagedev/midiout.c
r23832r23833
2020-------------------------------------------------*/
2121
2222midiout_device::midiout_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock),
23   : device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock, "midiout", __FILE__),
2424   device_image_interface(mconfig, *this),
2525      device_serial_interface(mconfig, *this)
2626{
trunk/src/emu/imagedev/cassette.c
r23832r23833
3737//-------------------------------------------------
3838
3939cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock),
40   : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock, "cassette_image", __FILE__),
4141      device_image_interface(mconfig, *this)
4242{
4343}
trunk/src/emu/imagedev/flopdrv.c
r23832r23833
848848//-------------------------------------------------
849849
850850legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
851   : device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock),
851   : device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock, "legacy_floppy_image", __FILE__),
852852      device_image_interface(mconfig, *this),
853853      m_token(NULL)
854854{
trunk/src/emu/timer.c
r23832r23833
6262//-------------------------------------------------
6363
6464timer_device::timer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
65   : device_t(mconfig, TIMER, "Timer", tag, owner, clock),
65   : device_t(mconfig, TIMER, "Timer", tag, owner, clock, "timer", __FILE__),
6666      m_type(TIMER_TYPE_GENERIC),
6767      m_callback(timer_device_expired_delegate()),
6868      m_ptr(NULL),
trunk/src/emu/device.h
r23832r23833
145145
146146protected:
147147   // construction/destruction
148   device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname = "", const char *source = __FILE__);
148   device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
149149   virtual ~device_t();
150150
151151public:
trunk/src/emu/screen.c
r23832r23833
7373//-------------------------------------------------
7474
7575screen_device::screen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : device_t(mconfig, SCREEN, "Video Screen", tag, owner, clock),
76   : device_t(mconfig, SCREEN, "Video Screen", tag, owner, clock, "screen", __FILE__),
7777      m_type(SCREEN_TYPE_RASTER),
7878      m_oldstyle_vblank_supplied(false),
7979      m_refresh(0),
trunk/src/emu/speaker.c
r23832r23833
7373//-------------------------------------------------
7474
7575speaker_device::speaker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : device_t(mconfig, SPEAKER, "Speaker", tag, owner, clock),
76   : device_t(mconfig, SPEAKER, "Speaker", tag, owner, clock, "speaker", __FILE__),
7777      device_mixer_interface(mconfig, *this),
7878      m_x(0.0),
7979      m_y(0.0),
trunk/src/mess/drivers/tm990189.c
r23832r23833
465465const device_type TM990_189_RS232 = &device_creator<tm990_189_rs232_image_device>;
466466
467467tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
468   : device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock),
468   : device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock, "tm990_189_rs232_image", __FILE__),
469469      device_image_interface(mconfig, *this)
470470{
471471}
trunk/src/mess/drivers/apexc.c
r23832r23833
9393const device_type APEXC_CYLINDER = &device_creator<apexc_cylinder_image_device>;
9494
9595apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
96   : device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock),
96   : device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock, "apexc_cylinder_image", __FILE__),
9797      device_image_interface(mconfig, *this)
9898{
9999}
r23832r23833
223223const device_type APEXC_TAPE_PUNCHER = &device_creator<apexc_tape_puncher_image_device>;
224224
225225apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
226   : device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock),
226   : device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock, "apexc_tape_puncher_image", __FILE__),
227227      device_image_interface(mconfig, *this)
228228{
229229}
r23832r23833
257257const device_type APEXC_TAPE_READER = &device_creator<apexc_tape_reader_image_device>;
258258
259259apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
260   : device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock),
260   : device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock, "apexc_tape_reader_image", __FILE__),
261261      device_image_interface(mconfig, *this)
262262{
263263}
trunk/src/mess/drivers/tx0.c
r23832r23833
425425const device_type TX0_READTAPE = &device_creator<tx0_readtape_image_device>;
426426
427427tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
428   : device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock),
428   : device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock, "tx0_readtape_image", __FILE__),
429429      device_image_interface(mconfig, *this)
430430{
431431}
r23832r23833
460460const device_type TX0_PUNCHTAPE = &device_creator<tx0_punchtape_image_device>;
461461
462462tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
463   : device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock),
463   : device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock, "tx0_punchtape_image", __FILE__),
464464      device_image_interface(mconfig, *this)
465465{
466466}
r23832r23833
496496const device_type TX0_PRINTER = &device_creator<tx0_printer_image_device>;
497497
498498tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
499   : device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock),
499   : device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock, "tx0_printer_image", __FILE__),
500500      device_image_interface(mconfig, *this)
501501{
502502}
r23832r23833
531531const device_type TX0_MAGTAPE = &device_creator<tx0_magtape_image_device>;
532532
533533tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
534   : device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock),
534   : device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock, "tx0_magtape_image", __FILE__),
535535      device_image_interface(mconfig, *this)
536536{
537537}
trunk/src/mess/drivers/pdp1.c
r23832r23833
692692const device_type PDP1_READTAPE = &device_creator<pdp1_readtape_image_device>;
693693
694694pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
695   : device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock),
695   : device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock, "pdp1_readtape_image", __FILE__),
696696      device_image_interface(mconfig, *this)
697697{
698698}
r23832r23833
727727const device_type PDP1_PUNCHTAPE = &device_creator<pdp1_punchtape_image_device>;
728728
729729pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
730   : device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock),
730   : device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock, "pdp1_punchtape_image", __FILE__),
731731      device_image_interface(mconfig, *this)
732732{
733733}
r23832r23833
763763const device_type PDP1_PRINTER = &device_creator<pdp1_printer_image_device>;
764764
765765pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
766   : device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock),
766   : device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock, "pdp1_printer_image", __FILE__),
767767      device_image_interface(mconfig, *this)
768768{
769769}
r23832r23833
798798const device_type PDP1_CYLINDER = &device_creator<pdp1_cylinder_image_device>;
799799
800800pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
801   : device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock),
801   : device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock, "pdp1_cylinder_image", __FILE__),
802802      device_image_interface(mconfig, *this)
803803{
804804}
trunk/src/mess/drivers/pv1000.c
r23832r23833
4444const device_type PV1000 = &device_creator<pv1000_sound_device>;
4545
4646pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
47            : device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock),
47            : device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock, "pv1000_sound", __FILE__),
4848               device_sound_interface(mconfig, *this)
4949{
5050}
trunk/src/mess/drivers/esq5505.c
r23832r23833
204204const device_type ESQ_5505_5510_PUMP = &device_creator<esq_5505_5510_pump>;
205205
206206esq_5505_5510_pump::esq_5505_5510_pump(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
207   : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock),
207   : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock, "esq_5505_5510_pump", __FILE__),
208208      device_sound_interface(mconfig, *this),
209209      m_esp_halted(true)
210210{
trunk/src/mess/audio/vc4000.c
r23832r23833
1111const device_type VC4000 = &device_creator<vc4000_sound_device>;
1212
1313vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
14   : device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock),
14   : device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock, "vc4000_sound", __FILE__),
1515      device_sound_interface(mconfig, *this),
1616      m_channel(NULL),
1717      m_size(0),
trunk/src/mess/audio/channelf.c
r23832r23833
77const device_type CHANNELF_SOUND = &device_creator<channelf_sound_device>;
88
99channelf_sound_device::channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10   : device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock),
10   : device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock, "channelf_sound", __FILE__),
1111      device_sound_interface(mconfig, *this),
1212      m_channel(NULL),
1313      m_sound_mode(0),
trunk/src/mess/audio/vboy.c
r23832r23833
194194//-------------------------------------------------
195195
196196vboysnd_device::vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
197   : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock),
197   : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock, "vboysnd", __FILE__),
198198      device_sound_interface(mconfig, *this)
199199{
200200}
trunk/src/mess/audio/special.c
r23832r23833
2323//-------------------------------------------------
2424
2525specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock),
26   : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock, "specimx_sound", __FILE__),
2727      device_sound_interface(mconfig, *this),
2828      m_mixer_channel(NULL)
2929{
trunk/src/mess/audio/vrc6.c
r23832r23833
2828//-------------------------------------------------
2929
3030vrc6snd_device::vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock),
31   : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock, "vrc6snd", __FILE__),
3232      device_sound_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/audio/alesis.c
r23832r23833
3333//-------------------------------------------------
3434
3535alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36   : device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock),
36   : device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock, "alesis_dm3ag", __FILE__),
3737      m_dac(*this, "dac")
3838{
3939}
trunk/src/mess/audio/socrates.c
r23832r23833
2020//-------------------------------------------------
2121
2222socrates_snd_device::socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock),
23   : device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock, "socrates_snd", __FILE__),
2424   device_sound_interface(mconfig, *this)
2525{
2626}
trunk/src/mess/audio/arcadia.c
r23832r23833
4646//-------------------------------------------------
4747
4848arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49   : device_t(mconfig, ARCADIA_SOUND, "Arcadia Custom Sound", tag, owner, clock),
49   : device_t(mconfig, ARCADIA_SOUND, "Arcadia Custom Sound", tag, owner, clock, "arcadia_sound", __FILE__),
5050      device_sound_interface(mconfig, *this)
5151{
5252}
trunk/src/mess/audio/gb.c
r23832r23833
104104//-------------------------------------------------
105105
106106gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
107               : device_t(mconfig, GAMEBOY, "LR35902", tag, owner, clock),
107               : device_t(mconfig, GAMEBOY, "LR35902", tag, owner, clock, "gameboy_sound", __FILE__),
108108                  device_sound_interface(mconfig, *this)
109109{
110110}
trunk/src/mess/audio/svision.c
r23832r23833
2121//-------------------------------------------------
2222
2323svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24   : device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock),
24   : device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock, "svision_sound", __FILE__),
2525      device_sound_interface(mconfig, *this),
2626      m_mixer_channel(NULL)
2727{
trunk/src/mess/audio/tvc.c
r23832r23833
1515//-------------------------------------------------
1616
1717tvc_sound_device::tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : device_t(mconfig, TVC_SOUND, "TVC 64 Custom Sound", tag, owner, clock),
18   : device_t(mconfig, TVC_SOUND, "TVC 64 Custom Sound", tag, owner, clock, "tvc_sound", __FILE__),
1919      device_sound_interface(mconfig, *this)
2020{
2121}
trunk/src/mess/audio/dai.c
r23832r23833
2020//-------------------------------------------------
2121
2222dai_sound_device::dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, DAI_SOUND, "DAI Custom Sound", tag, owner, clock),
23   : device_t(mconfig, DAI_SOUND, "DAI Custom Sound", tag, owner, clock, "dai_sound", __FILE__),
2424      device_sound_interface(mconfig, *this)
2525{
2626}
trunk/src/mess/audio/wswan.c
r23832r23833
2424//-------------------------------------------------
2525
2626wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
27   : device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock),
27   : device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock, "wswan_sound", __FILE__),
2828      device_sound_interface(mconfig, *this),
2929      m_channel(NULL),
3030      m_sweep_step(0),
trunk/src/mess/audio/mac.c
r23832r23833
3131const device_type MAC_SOUND = &device_creator<mac_sound_device>;
3232
3333mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34               : device_t(mconfig, MAC_SOUND, "Mac Custom", tag, owner, clock),
34               : device_t(mconfig, MAC_SOUND, "Mac Custom", tag, owner, clock, "mac_sound", __FILE__),
3535                  device_sound_interface(mconfig, *this),
3636                  m_sample_enable(0),
3737                  m_mac_snd_buf_ptr(NULL),
trunk/src/mess/audio/upd1771.c
r23832r23833
222222
223223
224224upd1771c_device::upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
225            : device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock),
225            : device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock, "upd1771c", __FILE__),
226226               device_sound_interface(mconfig, *this)
227227{
228228}
trunk/src/mess/audio/mea8000.c
r23832r23833
113113
114114
115115mea8000_device::mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
116         : device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock)
116         : device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock, "mea8000", __FILE__)
117117{
118118}
119119
trunk/src/mess/machine/ecbbus.c
r23832r23833
2828//-------------------------------------------------
2929
3030ecbbus_slot_device::ecbbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31      device_t(mconfig, ECBBUS_SLOT, "ECB bus slot", tag, owner, clock),
31      device_t(mconfig, ECBBUS_SLOT, "ECB bus slot", tag, owner, clock, "ecbbus_slot", __FILE__),
3232      device_slot_interface(mconfig, *this)
3333{
3434}
r23832r23833
132132//-------------------------------------------------
133133
134134ecbbus_device::ecbbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
135      device_t(mconfig, ECBBUS, "ECB bus", tag, owner, clock)
135      device_t(mconfig, ECBBUS, "ECB bus", tag, owner, clock, "ecbbus", __FILE__)
136136{
137137   for (int i = 0; i < MAX_ECBBUS_SLOTS; i++)
138138      m_ecbbus_device[i] = NULL;
trunk/src/mess/machine/6883sam.c
r23832r23833
6969//-------------------------------------------------
7070
7171sam6883_device::sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72   : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock),
72   : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock, "sam6883", __FILE__),
7373      m_space_0000(*this),
7474      m_space_8000(*this),
7575      m_space_A000(*this),
trunk/src/mess/machine/vidbrain_exp.c
r23832r23833
9999//-------------------------------------------------
100100
101101videobrain_expansion_slot_device::videobrain_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
102      device_t(mconfig, VIDEOBRAIN_EXPANSION_SLOT, "VideoBrain expansion port", tag, owner, clock),
102      device_t(mconfig, VIDEOBRAIN_EXPANSION_SLOT, "VideoBrain expansion port", tag, owner, clock, "videobrain_expansion_slot", __FILE__),
103103      device_slot_interface(mconfig, *this),
104104      device_image_interface(mconfig, *this)
105105{
trunk/src/mess/machine/terminal.c
r23832r23833
144144}
145145
146146generic_terminal_device::generic_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
147   : device_t(mconfig, GENERIC_TERMINAL, "Generic Terminal", tag, owner, clock),
147   : device_t(mconfig, GENERIC_TERMINAL, "Generic Terminal", tag, owner, clock, "generic_terminal", __FILE__),
148148      m_io_term_frame(*this, "TERM_FRAME"),
149149      m_io_term_conf(*this, "TERM_CONF")
150150{
trunk/src/mess/machine/mos8722.c
r23832r23833
110110//-------------------------------------------------
111111
112112mos8722_device::mos8722_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
113   : device_t(mconfig, MOS8722, "MOS8722", tag, owner, clock)
113   : device_t(mconfig, MOS8722, "MOS8722", tag, owner, clock, "mos8722", __FILE__)
114114{
115115}
116116
trunk/src/mess/machine/osborne1.c
r23832r23833
508508//  z80ctc_device - constructor
509509//-------------------------------------------------
510510osborne1_daisy_device::osborne1_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
511   : device_t(mconfig, OSBORNE1_DAISY, "Osborne 1 daisy", tag, owner, clock),
511   : device_t(mconfig, OSBORNE1_DAISY, "Osborne 1 daisy", tag, owner, clock, "osborne1_daisy", __FILE__),
512512      device_z80daisy_interface(mconfig, *this)
513513{
514514}
trunk/src/mess/machine/nextmo.c
r23832r23833
1717ADDRESS_MAP_END
1818
1919nextmo_device::nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20      : device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock)
20      : device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock, "nextmo", __FILE__)
2121      , r4(0)
2222{
2323}
trunk/src/mess/machine/nes_slot.c
r23832r23833
797797//  nes_cart_slot_device - constructor
798798//-------------------------------------------------
799799nes_cart_slot_device::nes_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
800                  device_t(mconfig, NES_CART_SLOT, "NES Cartridge Slot", tag, owner, clock),
800                  device_t(mconfig, NES_CART_SLOT, "NES Cartridge Slot", tag, owner, clock, "nes_cart_slot", __FILE__),
801801                  device_image_interface(mconfig, *this),
802802                  device_slot_interface(mconfig, *this),
803803                  m_crc_hack(0),
trunk/src/mess/machine/genpc.c
r23832r23833
544544//-------------------------------------------------
545545
546546ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
547      : device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock),
547      : device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock, "ibm5160_mb", __FILE__),
548548      m_maincpu(*owner, "maincpu"),
549549      m_pic8259(*this, "pic8259"),
550550      m_dma8237(*this, "dma8237"),
trunk/src/mess/machine/abcbus.c
r23832r23833
4444//-------------------------------------------------
4545
4646abcbus_slot_device::abcbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47   device_t(mconfig, ABCBUS_SLOT, "ABC bus slot", tag, owner, clock),
47   device_t(mconfig, ABCBUS_SLOT, "ABC bus slot", tag, owner, clock, "abcbus_slot", __FILE__),
4848   device_slot_interface(mconfig, *this),
4949   m_write_int(*this),
5050   m_write_nmi(*this),
trunk/src/mess/machine/ti99/datamux.c
r23832r23833
7373    Constructor
7474*/
7575ti99_datamux_device::ti99_datamux_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76: device_t(mconfig, DATAMUX, "Databus multiplexer", tag, owner, clock)
76: device_t(mconfig, DATAMUX, "Databus multiplexer", tag, owner, clock, "ti99_datamux", __FILE__)
7777{
7878}
7979
trunk/src/mess/machine/ti99/ti_rs232.c
r23832r23833
124124/* Ports */
125125
126126ti_rs232_attached_device::ti_rs232_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127: device_t(mconfig, TI99_RS232_DEV, "Serial attached device", tag, owner, clock),
127: device_t(mconfig, TI99_RS232_DEV, "Serial attached device", tag, owner, clock, "ti_rs232_attached", __FILE__),
128128   device_image_interface(mconfig, *this)
129129{
130130}
131131
132132ti_pio_attached_device::ti_pio_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
133: device_t(mconfig, TI99_PIO_DEV, "Parallel attached device", tag, owner, clock),
133: device_t(mconfig, TI99_PIO_DEV, "Parallel attached device", tag, owner, clock, "ti_pio_attached", __FILE__),
134134   device_image_interface(mconfig, *this)
135135{
136136}
trunk/src/mess/machine/ti99/peribox.c
r23832r23833
227227   for (int i=2; i <= 8; i++) m_slot[i] = NULL;
228228}
229229
230peribox_device::peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
231: bus8z_device(mconfig, PERIBOX, "Peripheral expansion box", tag, owner, clock, shortname, source)
232{
233   for (int i=2; i <= 8; i++) m_slot[i] = NULL;
234}
235
230236READ8Z_MEMBER(peribox_device::readz)
231237{
232238   for (int i=2; i <= 8; i++)
r23832r23833
430436*****************************************************************************/
431437
432438peribox_gen_device::peribox_gen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
433: peribox_device(mconfig, tag, owner, clock)
439: peribox_device(mconfig, tag, owner, clock, "peribox_gen", __FILE__)
434440{
435441};
436442
r23832r23833
467473*****************************************************************************/
468474
469475peribox_sg_device::peribox_sg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
470: peribox_device(mconfig, tag, owner, clock)
476: peribox_device(mconfig, tag, owner, clock, "peribox_sg", __FILE__)
471477{
472478};
473479
r23832r23833
511517*****************************************************************************/
512518
513519peribox_ev_device::peribox_ev_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
514: peribox_device(mconfig, tag, owner, clock)
520: peribox_device(mconfig, tag, owner, clock, "peribox_ev", __FILE__)
515521{
516522};
517523
trunk/src/mess/machine/ti99/peribox.h
r23832r23833
4747   friend class peribox_slot_device;
4848public:
4949   peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
50   peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
5051
5152   // Next six methods are called from the console
5253   DECLARE_READ8Z_MEMBER(readz);
trunk/src/mess/machine/ti99/joyport.c
r23832r23833
3838#include "mecmouse.h"
3939
4040joyport_device::joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41   :   device_t(mconfig, JOYPORT, "Joystick port", tag, owner, clock),
41   :   device_t(mconfig, JOYPORT, "Joystick port", tag, owner, clock, "ti99_joyport", __FILE__),
4242      device_slot_interface(mconfig, *this)
4343{
4444}
trunk/src/mess/machine/ti99/ti99_hd.c
r23832r23833
3232#define SYNC 13
3333
3434mfm_harddisk_device::mfm_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35: device_t(mconfig, TI99_MFMHD, "MFM Harddisk", tag, owner, clock)
35: device_t(mconfig, TI99_MFMHD, "MFM Harddisk", tag, owner, clock, "mfm_harddisk", __FILE__)
3636{
3737}
3838
trunk/src/mess/machine/ti99/genboard.c
r23832r23833
146146#define LOG logerror
147147
148148geneve_mapper_device::geneve_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
149: device_t(mconfig, GENEVE_MAPPER, "Geneve Gate Array", tag, owner, clock)
149: device_t(mconfig, GENEVE_MAPPER, "Geneve Gate Array", tag, owner, clock, "geneve_mapper", __FILE__)
150150{
151151   m_eprom = NULL;
152152}
r23832r23833
958958};
959959
960960geneve_keyboard_device::geneve_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
961: device_t(mconfig, GENEVE_KEYBOARD, "Geneve XT-style keyboard", tag, owner, clock)
961: device_t(mconfig, GENEVE_KEYBOARD, "Geneve XT-style keyboard", tag, owner, clock, "geneve_keyboard", __FILE__)
962962{
963963}
964964
r23832r23833
14151415****************************************************************************/
14161416
14171417geneve_mouse_device::geneve_mouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1418: device_t(mconfig, GENEVE_MOUSE, "Geneve mouse", tag, owner, clock)
1418: device_t(mconfig, GENEVE_MOUSE, "Geneve mouse", tag, owner, clock, "geneve_mouse", __FILE__)
14191419{
14201420}
14211421
trunk/src/mess/machine/vic20user.c
r23832r23833
5353//-------------------------------------------------
5454
5555vic20_user_port_device::vic20_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56      device_t(mconfig, VIC20_USER_PORT, "VIC-20 user port", tag, owner, clock),
56      device_t(mconfig, VIC20_USER_PORT, "VIC-20 user port", tag, owner, clock, "vic20_user_port", __FILE__),
5757      device_slot_interface(mconfig, *this)
5858{
5959}
trunk/src/mess/machine/mos8706.c
r23832r23833
3737//-------------------------------------------------
3838
3939mos8706_device::mos8706_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, MOS8706, "MOS8706", tag, owner, clock)
40   : device_t(mconfig, MOS8706, "MOS8706", tag, owner, clock, "mos8706", __FILE__)
4141{
4242}
4343
trunk/src/mess/machine/petcass.c
r23832r23833
5353//-------------------------------------------------
5454
5555pet_datassette_port_device::pet_datassette_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56   device_t(mconfig, PET_DATASSETTE_PORT, "Datassette Port", tag, owner, clock),
56   device_t(mconfig, PET_DATASSETTE_PORT, "Datassette Port", tag, owner, clock, "pet_datassette_port", __FILE__),
5757   device_slot_interface(mconfig, *this),
5858   m_read_handler(*this)
5959{
trunk/src/mess/machine/c64user.c
r23832r23833
5353//-------------------------------------------------
5454
5555c64_user_port_device::c64_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56      device_t(mconfig, C64_USER_PORT, "C64 user port", tag, owner, clock),
56      device_t(mconfig, C64_USER_PORT, "C64 user port", tag, owner, clock, "c64_user_port", __FILE__),
5757      device_slot_interface(mconfig, *this),
5858      m_write_cnt1(*this),
5959      m_write_sp1(*this),
trunk/src/mess/machine/psxcport.c
r23832r23833
77const device_type PSX_CONTROLLER_PORT = &device_creator<psx_controller_port_device>;
88
99psx_controller_port_device::psx_controller_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
10      device_t(mconfig, PSX_CONTROLLER_PORT, "Playstation Controller Port", tag, owner, clock),
10      device_t(mconfig, PSX_CONTROLLER_PORT, "Playstation Controller Port", tag, owner, clock, "psx_controller_port", __FILE__),
1111      device_slot_interface(mconfig, *this),
1212      m_card(*this, "card")
1313{
trunk/src/mess/machine/vip_byteio.c
r23832r23833
4444//-------------------------------------------------
4545
4646vip_byteio_port_device::vip_byteio_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47      device_t(mconfig, VIP_BYTEIO_PORT, "VIP byte I/O port", tag, owner, clock),
47      device_t(mconfig, VIP_BYTEIO_PORT, "VIP byte I/O port", tag, owner, clock, "vip_byteio_port", __FILE__),
4848      device_slot_interface(mconfig, *this),
4949      m_write_inst(*this)
5050{
trunk/src/mess/machine/wangpcbus.c
r23832r23833
2929//-------------------------------------------------
3030
3131wangpcbus_slot_device::wangpcbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
32      device_t(mconfig, WANGPC_BUS_SLOT, "Wang PC bus slot", tag, owner, clock),
32      device_t(mconfig, WANGPC_BUS_SLOT, "Wang PC bus slot", tag, owner, clock, "wangpcbus_slot", __FILE__),
3333      device_slot_interface(mconfig, *this)
3434{
3535}
r23832r23833
103103//-------------------------------------------------
104104
105105wangpcbus_device::wangpcbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
106      device_t(mconfig, WANGPC_BUS, "Wang PC bus", tag, owner, clock)
106      device_t(mconfig, WANGPC_BUS, "Wang PC bus", tag, owner, clock, "wangpcbus", __FILE__)
107107{
108108}
109109
trunk/src/mess/machine/nes_sunsoft_dcs.c
r23832r23833
4747const device_type NES_NTB_SLOT = &device_creator<nes_ntb_slot_device>;
4848
4949nes_ntb_slot_device::nes_ntb_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
50                  device_t(mconfig, NES_NTB_SLOT, "NES NTB Cartridge Slot", tag, owner, clock),
50                  device_t(mconfig, NES_NTB_SLOT, "NES NTB Cartridge Slot", tag, owner, clock, "nes_ntb_slot", __FILE__),
5151                  device_image_interface(mconfig, *this),
5252                  device_slot_interface(mconfig, *this)
5353{
trunk/src/mess/machine/i8271.c
r23832r23833
15701570const device_type I8271 = &device_creator<i8271_device>;
15711571
15721572i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1573   : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock)
1573   : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__)
15741574{
15751575   m_token = global_alloc_clear(i8271_t);
15761576}
trunk/src/mess/machine/mos8726.c
r23832r23833
4242//-------------------------------------------------
4343
4444mos8726_device::mos8726_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
45   : device_t(mconfig, MOS8726, "MOS8726", tag, owner, clock),
45   : device_t(mconfig, MOS8726, "MOS8726", tag, owner, clock, "mos8726", __FILE__),
4646      device_execute_interface(mconfig, *this),
4747      m_icount(0),
4848      m_bs(1)
trunk/src/mess/machine/nubus_image.c
r23832r23833
5454const device_type MESSIMG_DISK = &device_creator<messimg_disk_image_device>;
5555
5656messimg_disk_image_device::messimg_disk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : device_t(mconfig, MESSIMG_DISK, "Mac image", tag, owner, clock),
57   : device_t(mconfig, MESSIMG_DISK, "Mac image", tag, owner, clock, "messimg_disk_image", __FILE__),
5858      device_image_interface(mconfig, *this)
5959{
6060}
trunk/src/mess/machine/atarifdc.c
r23832r23833
815815const device_type ATARI_FDC = &device_creator<atari_fdc_device>;
816816
817817atari_fdc_device::atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
818   : device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock)
818   : device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock, "atari_fdc", __FILE__)
819819{
820820   m_token = global_alloc_clear(atari_fdc_t);
821821}
trunk/src/mess/machine/cococart.c
r23832r23833
3434//  cococart_slot_device - constructor
3535//-------------------------------------------------
3636cococart_slot_device::cococart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
37      device_t(mconfig, COCOCART_SLOT, "CoCo Cartridge Slot", tag, owner, clock),
37      device_t(mconfig, COCOCART_SLOT, "CoCo Cartridge Slot", tag, owner, clock, "cococart_slot", __FILE__),
3838      device_slot_interface(mconfig, *this),
3939      device_image_interface(mconfig, *this)
4040{
trunk/src/mess/machine/keyboard.c
r23832r23833
4949}
5050
5151generic_keyboard_device::generic_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52   : device_t(mconfig, GENERIC_KEYBOARD, "Generic Keyboard", tag, owner, clock)
52   : device_t(mconfig, GENERIC_KEYBOARD, "Generic Keyboard", tag, owner, clock, "generic_keyboard", __FILE__)
5353   , m_io_kbd0(*this, "TERM_LINE0")
5454   , m_io_kbd1(*this, "TERM_LINE1")
5555   , m_io_kbd2(*this, "TERM_LINE2")
trunk/src/mess/machine/smc92x4.c
r23832r23833
188188#define LOG logerror
189189
190190smc92x4_device::smc92x4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
191: device_t(mconfig, SMC92X4, "SMC 9224/9234 Hard/Floppy Disk Controller", tag, owner, clock)
191: device_t(mconfig, SMC92X4, "SMC 9224/9234 Hard/Floppy Disk Controller", tag, owner, clock, "smc92x4", __FILE__)
192192{
193193}
194194
trunk/src/mess/machine/cs8221.c
r23832r23833
5757//-------------------------------------------------
5858
5959cs8221_device::cs8221_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60   : device_t(mconfig, CS8221, "CS8221", tag, owner, clock),
60   : device_t(mconfig, CS8221, "CS8221", tag, owner, clock, "cs8221", __FILE__),
6161      m_address(0),
6262      m_address_valid(false)
6363{
trunk/src/mess/machine/z88cart.c
r23832r23833
5555//  z88cart_slot_device - constructor
5656//-------------------------------------------------
5757z88cart_slot_device::z88cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
58      device_t(mconfig, Z88CART_SLOT, "Z88 Cartridge Slot", tag, owner, clock),
58      device_t(mconfig, Z88CART_SLOT, "Z88 Cartridge Slot", tag, owner, clock, "z88cart_slot", __FILE__),
5959      device_image_interface(mconfig, *this),
6060      device_slot_interface(mconfig, *this)
6161{
trunk/src/mess/machine/kb3600.c
r23832r23833
7575//-------------------------------------------------
7676
7777ay3600_device::ay3600_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
78   : device_t(mconfig, AY3600, "AY-5-3600", tag, owner, clock)
78   : device_t(mconfig, AY3600, "AY-5-3600", tag, owner, clock, "ay3600", __FILE__)
7979{
8080}
8181
trunk/src/mess/machine/lh5810.c
r23832r23833
5353//-------------------------------------------------
5454
5555lh5810_device::lh5810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
56   : device_t(mconfig, LH5810, "LH5810", tag, owner, clock)
56   : device_t(mconfig, LH5810, "LH5810", tag, owner, clock, "lh5810", __FILE__)
5757{
5858}
5959
trunk/src/mess/machine/coco_vhd.c
r23832r23833
7070//-------------------------------------------------
7171
7272coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73   : device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock),
73   : device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock, "coco_vhd_image", __FILE__),
7474      device_image_interface(mconfig, *this)
7575{
7676}
trunk/src/mess/machine/smartmed.c
r23832r23833
7575const device_type NAND = &device_creator<nand_device>;
7676
7777nand_device::nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
78   : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock)
78   : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock, "nand", __FILE__)
7979{
8080}
8181nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
trunk/src/mess/machine/cbmiec.c
r23832r23833
255255//-------------------------------------------------
256256
257257cbm_iec_slot_device::cbm_iec_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
258      device_t(mconfig, CBM_IEC_SLOT, "CBM IEC slot", tag, owner, clock),
258      device_t(mconfig, CBM_IEC_SLOT, "CBM IEC slot", tag, owner, clock, "cbm_iec_slot", __FILE__),
259259      device_slot_interface(mconfig, *this)
260260{
261261}
r23832r23833
411411//-------------------------------------------------
412412
413413cbm_iec_device::cbm_iec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
414   : device_t(mconfig, CBM_IEC, "CBM IEC bus", tag, owner, clock),
414   : device_t(mconfig, CBM_IEC, "CBM IEC bus", tag, owner, clock, "cbm_iec", __FILE__),
415415      m_write_srq(*this),
416416      m_write_atn(*this),
417417      m_write_clk(*this),
trunk/src/mess/machine/upd71071.c
r23832r23833
8484const device_type UPD71071 = &device_creator<upd71071_device>;
8585
8686upd71071_device::upd71071_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
87            : device_t(mconfig, UPD71071, "NEC uPD71071", tag, owner, clock)
87            : device_t(mconfig, UPD71071, "NEC uPD71071", tag, owner, clock, "upd71071", __FILE__)
8888{
8989}
9090
trunk/src/mess/machine/ep64exp.c
r23832r23833
4444//-------------------------------------------------
4545
4646ep64_expansion_bus_slot_device::ep64_expansion_bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47   device_t(mconfig, EP64_EXPANSION_BUS_SLOT, "Enterprise Sixty Four expansion bus slot", tag, owner, clock),
47   device_t(mconfig, EP64_EXPANSION_BUS_SLOT, "Enterprise Sixty Four expansion bus slot", tag, owner, clock, "ep64_expansion_bus_slot", __FILE__),
4848   device_slot_interface(mconfig, *this),
4949   m_write_irq(*this),
5050   m_write_nmi(*this),
trunk/src/mess/machine/pc9801_kbd.c
r23832r23833
3434//-------------------------------------------------
3535
3636pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37   : device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock)
37   : device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock, "pc9801_kbd_", __FILE__)
3838{
3939}
4040
trunk/src/mess/machine/vic20exp.c
r23832r23833
157157//-------------------------------------------------
158158
159159vic20_expansion_slot_device::vic20_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
160      device_t(mconfig, VIC20_EXPANSION_SLOT, "VIC-20 expansion port", tag, owner, clock),
160      device_t(mconfig, VIC20_EXPANSION_SLOT, "VIC-20 expansion port", tag, owner, clock, "vic20_expansion_slot", __FILE__),
161161      device_slot_interface(mconfig, *this),
162162      device_image_interface(mconfig, *this),
163163      m_write_irq(*this),
trunk/src/mess/machine/einstein.c
r23832r23833
1818//-------------------------------------------------
1919
2020einstein_keyboard_daisy_device::einstein_keyboard_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
21   : device_t(mconfig, EINSTEIN_KEYBOARD_DAISY, "Einstein keyboard daisy chain", tag, owner, clock),
21   : device_t(mconfig, EINSTEIN_KEYBOARD_DAISY, "Einstein keyboard daisy chain", tag, owner, clock, "einstein_keyboard", __FILE__),
2222      device_z80daisy_interface(mconfig, *this)
2323{
2424}
r23832r23833
8181//-------------------------------------------------
8282
8383einstein_adc_daisy_device::einstein_adc_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
84   : device_t(mconfig, EINSTEIN_ADC_DAISY, "Einstein ADC daisy chain", tag, owner, clock),
84   : device_t(mconfig, EINSTEIN_ADC_DAISY, "Einstein ADC daisy chain", tag, owner, clock, "einstein_adc_daisy", __FILE__),
8585      device_z80daisy_interface(mconfig, *this)
8686{
8787}
r23832r23833
146146//-------------------------------------------------
147147
148148einstein_fire_daisy_device::einstein_fire_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
149   : device_t(mconfig, EINSTEIN_FIRE_DAISY, "Einstein fire button daisy chain", tag, owner, clock),
149   : device_t(mconfig, EINSTEIN_FIRE_DAISY, "Einstein fire button daisy chain", tag, owner, clock, "einstein_fire_daisy", __FILE__),
150150      device_z80daisy_interface(mconfig, *this)
151151{
152152}
trunk/src/mess/machine/fm_scsi.c
r23832r23833
3737 */
3838
3939fmscsi_device::fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock),
40   : device_t(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock, "fmscsi", __FILE__),
4141   m_irq_handler(*this),
4242   m_drq_handler(*this)
4343{
trunk/src/mess/machine/abckb.c
r23832r23833
4848//-------------------------------------------------
4949
5050abc_keyboard_port_device::abc_keyboard_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
51   device_t(mconfig, ABC_KEYBOARD_PORT, "Luxor ABC keyboard port", tag, owner, clock),
51   device_t(mconfig, ABC_KEYBOARD_PORT, "Luxor ABC keyboard port", tag, owner, clock, "abc_keyboard_port", __FILE__),
5252   device_slot_interface(mconfig, *this),
5353   m_write_trxc(*this),
5454   m_write_keydown(*this)
trunk/src/mess/machine/apollo_kbd.c
r23832r23833
7373//-------------------------------------------------
7474
7575apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock)
76   : device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock, "apollo_kbd", __FILE__)
7777{
7878   memset(static_cast<apollo_kbd_interface *>(this), 0, sizeof(apollo_kbd_interface));
7979}
trunk/src/mess/machine/e05a03.c
r23832r23833
218218const device_type E05A03 = &device_creator<e05a03_device>;
219219
220220e05a03_device::e05a03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
221   : device_t(mconfig, E05A03, "E05A03", tag, owner, clock)
221   : device_t(mconfig, E05A03, "E05A03", tag, owner, clock, "e05a03", __FILE__)
222222{
223223   m_token = global_alloc_clear(e05a03_state);
224224}
trunk/src/mess/machine/cs4031.c
r23832r23833
187187//-------------------------------------------------
188188
189189cs4031_device::cs4031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
190   device_t(mconfig, CS4031, "CS4031", tag, owner, clock),
190   device_t(mconfig, CS4031, "CS4031", tag, owner, clock, "cs4031", __FILE__),
191191   m_read_ior(*this),
192192   m_write_iow(*this),
193193   m_write_tc(*this),
trunk/src/mess/machine/x1.c
r23832r23833
1313//-------------------------------------------------
1414
1515x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
16   : device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock),
16   : device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock, "x1_keyboard", __FILE__),
1717      device_z80daisy_interface(mconfig, *this)
1818{
1919}
trunk/src/mess/machine/64h156.c
r23832r23833
397397//-------------------------------------------------
398398
399399c64h156_device::c64h156_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
400   : device_t(mconfig, C64H156, "64H156", tag, owner, clock),
400   : device_t(mconfig, C64H156, "64H156", tag, owner, clock, "c64h156", __FILE__),
401401      device_execute_interface(mconfig, *this),
402402      m_icount(0),
403403      m_floppy(NULL),
trunk/src/mess/machine/pc_kbdc.c
r23832r23833
3030//  pc_kbdc_slot_device - constructor
3131//-------------------------------------------------
3232pc_kbdc_slot_device::pc_kbdc_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
33      device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock),
33      device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock, "pc_kbdc_slot", __FILE__),
3434      device_slot_interface(mconfig, *this)
3535{
3636}
r23832r23833
6868//  pc_kbdc_device - constructor
6969//-------------------------------------------------
7070pc_kbdc_device::pc_kbdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
71      device_t(mconfig, PC_KBDC, "PC_KBDC", tag, owner, clock),
71      device_t(mconfig, PC_KBDC, "PC_KBDC", tag, owner, clock, "pc_kbdc", __FILE__),
7272      m_clock_state(-1),
7373      m_data_state(-1),
7474      m_kb_clock_state(1),
trunk/src/mess/machine/990_tap.c
r23832r23833
972972const device_type TI990_TAPE = &device_creator<ti990_tape_image_device>;
973973
974974ti990_tape_image_device::ti990_tape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
975   : device_t(mconfig, TI990_TAPE, "TI990 Magnetic Tape", tag, owner, clock),
975   : device_t(mconfig, TI990_TAPE, "TI990 Magnetic Tape", tag, owner, clock, "ti990_tape_image", __FILE__),
976976      device_image_interface(mconfig, *this)
977977{
978978}
r23832r23833
10671067const device_type TI990_TAPE_CTRL = &device_creator<tap_990_device>;
10681068
10691069tap_990_device::tap_990_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1070   : device_t(mconfig, TI990_TAPE_CTRL, "Generic TI990 Tape Controller", tag, owner, clock)
1070   : device_t(mconfig, TI990_TAPE_CTRL, "Generic TI990 Tape Controller", tag, owner, clock, "tap_990", __FILE__)
10711071{
10721072   m_token = global_alloc_clear(tap_990_t);
10731073}
trunk/src/mess/machine/micropolis.c
r23832r23833
379379const device_type MICROPOLIS = &device_creator<micropolis_device>;
380380
381381micropolis_device::micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
382   : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock)
382   : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock, "micropolis", __FILE__)
383383{
384384   m_token = global_alloc_clear(micropolis_state);
385385}
trunk/src/mess/machine/s3c44b0.c
r23832r23833
3131const device_type S3C44B0 = &device_creator<s3c44b0_device>;
3232
3333s3c44b0_device::s3c44b0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34            : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock)
34            : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__)
3535{
3636   memset(&m_irq, 0, sizeof(s3c44b0_irq_t));
3737   memset(m_zdma, 0, sizeof(s3c44b0_dma_t)*2);
trunk/src/mess/machine/mc68328.c
r23832r23833
3131
3232
3333mc68328_device::mc68328_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34            : device_t(mconfig, MC68328, "Motorola MC68328 (DragonBall) Integrated Processor", tag, owner, clock)
34            : device_t(mconfig, MC68328, "Motorola MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__)
3535{
3636}
3737
trunk/src/mess/machine/cpc_rom.c
r23832r23833
8181//-------------------------------------------------
8282
8383rom_image_device::rom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
84   : device_t(mconfig, ROMSLOT, "ROM image", tag, owner, clock),
84   : device_t(mconfig, ROMSLOT, "ROM image", tag, owner, clock, "rom_image", __FILE__),
8585      device_image_interface(mconfig, *this)
8686{
8787}
trunk/src/mess/machine/comxexp.c
r23832r23833
5454//-------------------------------------------------
5555
5656comx_expansion_slot_device::comx_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
57      device_t(mconfig, COMX_EXPANSION_SLOT, "COMX-35 expansion slot", tag, owner, clock),
57      device_t(mconfig, COMX_EXPANSION_SLOT, "COMX-35 expansion slot", tag, owner, clock, "comx_expansion_slot", __FILE__),
5858      device_slot_interface(mconfig, *this)
5959{
6060}
trunk/src/mess/machine/petuser.c
r23832r23833
5353//-------------------------------------------------
5454
5555pet_user_port_device::pet_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56      device_t(mconfig, PET_USER_PORT, "PET user port", tag, owner, clock),
56      device_t(mconfig, PET_USER_PORT, "PET user port", tag, owner, clock, "pet_user_port", __FILE__),
5757      device_slot_interface(mconfig, *this)
5858{
5959}
trunk/src/mess/machine/iq151cart.c
r23832r23833
5252//  iq151cart_slot_device - constructor
5353//-------------------------------------------------
5454iq151cart_slot_device::iq151cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
55      device_t(mconfig, IQ151CART_SLOT, "IQ151 cartridge slot", tag, owner, clock),
55      device_t(mconfig, IQ151CART_SLOT, "IQ151 cartridge slot", tag, owner, clock, "iq151cart_slot", __FILE__),
5656      device_slot_interface(mconfig, *this),
5757      device_image_interface(mconfig, *this)
5858{
trunk/src/mess/machine/hd63450.c
r23832r23833
465465const device_type HD63450 = &device_creator<hd63450_device>;
466466
467467hd63450_device::hd63450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
468   : device_t(mconfig, HD63450, "Hitachi HD63450", tag, owner, clock)
468   : device_t(mconfig, HD63450, "Hitachi HD63450", tag, owner, clock, "hd63450", __FILE__)
469469{
470470   m_token = global_alloc_clear(hd63450_t);
471471}
trunk/src/mess/machine/hd64610.c
r23832r23833
149149//-------------------------------------------------
150150
151151hd64610_device::hd64610_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
152   : device_t(mconfig, HD64610, "HD64610", tag, owner, clock),
152   : device_t(mconfig, HD64610, "HD64610", tag, owner, clock, "hd64610", __FILE__),
153153      device_rtc_interface(mconfig, *this),
154154      device_nvram_interface(mconfig, *this),
155155      m_hline_state(1),
trunk/src/mess/machine/psxcard.c
r23832r23833
4040};
4141
4242psxcard_device::psxcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : device_t(mconfig, PSXCARD, "Sony PSX Memory Card", tag, owner, clock),
43   : device_t(mconfig, PSXCARD, "Sony PSX Memory Card", tag, owner, clock, "psxcard", __FILE__),
4444   device_image_interface(mconfig, *this)
4545{
4646}
trunk/src/mess/machine/adamexp.c
r23832r23833
9999//-------------------------------------------------
100100
101101adam_expansion_slot_device::adam_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
102      device_t(mconfig, ADAM_EXPANSION_SLOT, "ADAM expansion slot", tag, owner, clock),
102      device_t(mconfig, ADAM_EXPANSION_SLOT, "ADAM expansion slot", tag, owner, clock, "adam_expansion_slot", __FILE__),
103103      device_slot_interface(mconfig, *this),
104104      device_image_interface(mconfig, *this)
105105{
trunk/src/mess/machine/mb8795.c
r23832r23833
1717ADDRESS_MAP_END
1818
1919mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock),
20   : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__),
2121      device_network_interface(mconfig, *this, 10)
2222{
2323}
trunk/src/mess/machine/kr2376.c
r23832r23833
377377const device_type KR2376 = &device_creator<kr2376_device>;
378378
379379kr2376_device::kr2376_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
380   : device_t(mconfig, KR2376, "SMC KR2376", tag, owner, clock)
380   : device_t(mconfig, KR2376, "SMC KR2376", tag, owner, clock, "kr2376", __FILE__)
381381{
382382   m_token = global_alloc_clear(kr2376_t);
383383}
trunk/src/mess/machine/68561mpcc.c
r23832r23833
2727    IMPLEMENTATION
2828***************************************************************************/
2929
30mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock)
30mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock, "mpcc68561", __FILE__)
3131{
3232}
3333
trunk/src/mess/machine/thomson.c
r23832r23833
670670//-------------------------------------------------
671671
672672to7_io_line_device::to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
673   : device_t(mconfig, TO7_IO_LINE, "Serial source", tag, owner, clock),
673   : device_t(mconfig, TO7_IO_LINE, "Serial source", tag, owner, clock, "to7_io_line", __FILE__),
674674      device_serial_interface(mconfig, *this)
675675{
676676}
trunk/src/mess/machine/mb89352.c
r23832r23833
129129 */
130130
131131mb89352_device::mb89352_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
132   : device_t(mconfig, MB89352A, "MB89352A", tag, owner, clock)
132   : device_t(mconfig, MB89352A, "MB89352A", tag, owner, clock, "mb89352", __FILE__)
133133{
134134}
135135
trunk/src/mess/machine/hp48.c
r23832r23833
10591059}
10601060
10611061hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1062   : device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock),
1062   : device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock, "hp48_port_image", __FILE__),
10631063      device_image_interface(mconfig, *this)
10641064{
10651065}
trunk/src/mess/machine/bw2exp.c
r23832r23833
5353//-------------------------------------------------
5454
5555bw2_expansion_slot_device::bw2_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56   device_t(mconfig, BW2_EXPANSION_SLOT, "Bondwell 2 expansion port", tag, owner, clock),
56   device_t(mconfig, BW2_EXPANSION_SLOT, "Bondwell 2 expansion port", tag, owner, clock, "bw2_expansion_slot", __FILE__),
5757   device_slot_interface(mconfig, *this)
5858{
5959}
trunk/src/mess/machine/pce_slot.c
r23832r23833
125125//  pce_cart_slot_device - constructor
126126//-------------------------------------------------
127127pce_cart_slot_device::pce_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
128                  device_t(mconfig, PCE_CART_SLOT, "PCE & TG16 Cartridge Slot", tag, owner, clock),
128                  device_t(mconfig, PCE_CART_SLOT, "PCE & TG16 Cartridge Slot", tag, owner, clock, "pce_cart_slot", __FILE__),
129129                  device_image_interface(mconfig, *this),
130130                  device_slot_interface(mconfig, *this),
131131                  m_interface("pce_cart"),
trunk/src/mess/machine/petexp.c
r23832r23833
3636//-------------------------------------------------
3737
3838pet_expansion_slot_device::pet_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
39   device_t(mconfig, PET_EXPANSION_SLOT, "PET memory expansion port", tag, owner, clock),
39   device_t(mconfig, PET_EXPANSION_SLOT, "PET memory expansion port", tag, owner, clock, "pet_expansion_slot", __FILE__),
4040   device_slot_interface(mconfig, *this),
4141   m_read_dma(*this),
4242   m_write_dma(*this)
trunk/src/mess/machine/econet.c
r23832r23833
6464//-------------------------------------------------
6565
6666econet_slot_device::econet_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67      device_t(mconfig, ECONET_SLOT, "Econet station", tag, owner, clock),
67      device_t(mconfig, ECONET_SLOT, "Econet station", tag, owner, clock, "econet_slot", __FILE__),
6868      device_slot_interface(mconfig, *this)
6969{
7070}
r23832r23833
231231//-------------------------------------------------
232232
233233econet_device::econet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
234   : device_t(mconfig, ECONET, "Econet", tag, owner, clock)
234   : device_t(mconfig, ECONET, "Econet", tag, owner, clock, "econet", __FILE__)
235235{
236236   for (int i = 0; i < SIGNAL_COUNT; i++)
237237   {
trunk/src/mess/machine/psion_pack.c
r23832r23833
5959//-------------------------------------------------
6060
6161datapack_device::datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62   : device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock),
62   : device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock, "datapack", __FILE__),
6363      device_image_interface(mconfig, *this)
6464{
6565}
trunk/src/mess/machine/isa_gus.c
r23832r23833
331331//-------------------------------------------------
332332
333333gf1_device::gf1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
334      : device_t(mconfig, GGF1, "Gravis GF1", tag, owner, clock),
334      : device_t(mconfig, GGF1, "Gravis GF1", tag, owner, clock, "gf1", __FILE__),
335335      device_sound_interface( mconfig, *this )
336336{
337337}
trunk/src/mess/machine/smsctrl.c
r23832r23833
5353//-------------------------------------------------
5454
5555sms_control_port_device::sms_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56                  device_t(mconfig, SMS_CONTROL_PORT, "Sega SMS control port", tag, owner, clock),
56                  device_t(mconfig, SMS_CONTROL_PORT, "Sega SMS control port", tag, owner, clock, "sms_control_port", __FILE__),
5757                  device_slot_interface(mconfig, *this),
5858                  m_th_pin_handler(*this),
5959                  m_pixel_handler(*this)
trunk/src/mess/machine/c64exp.c
r23832r23833
132132//-------------------------------------------------
133133
134134c64_expansion_slot_device::c64_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
135      device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock),
135      device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock, "c64_expansion_slot", __FILE__),
136136      device_slot_interface(mconfig, *this),
137137      device_image_interface(mconfig, *this),
138138      m_read_dma_cd(*this),
trunk/src/mess/machine/vic10exp.c
r23832r23833
106106//-------------------------------------------------
107107
108108vic10_expansion_slot_device::vic10_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
109      device_t(mconfig, VIC10_EXPANSION_SLOT, "VIC-10 expansion port", tag, owner, clock),
109      device_t(mconfig, VIC10_EXPANSION_SLOT, "VIC-10 expansion port", tag, owner, clock, "vic10_expansion_slot", __FILE__),
110110      device_slot_interface(mconfig, *this),
111111      device_image_interface(mconfig, *this),
112112      m_write_irq(*this),
trunk/src/mess/machine/omti8621.c
r23832r23833
11571157const device_type OMTI_DISK = &device_creator<omti_disk_image_device>;
11581158
11591159omti_disk_image_device::omti_disk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1160   : device_t(mconfig, OMTI_DISK, "Winchester", tag, owner, clock),
1160   : device_t(mconfig, OMTI_DISK, "Winchester", tag, owner, clock, "omti_disk_image", __FILE__),
11611161      device_image_interface(mconfig, *this)
11621162{
11631163}
r23832r23833
13321332const device_type OMTI8621 = &device_creator<omti8621_device>;
13331333
13341334omti8621_device::omti8621_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1335   : device_t(mconfig, OMTI8621, "OMTI 8621", tag, owner, clock)
1335   : device_t(mconfig, OMTI8621, "OMTI 8621", tag, owner, clock, "omti8621", __FILE__)
13361336{
13371337   m_token = global_alloc_clear(omti8621_state);
13381338}
trunk/src/mess/machine/sega8_slot.c
r23832r23833
112112//  sega8_cart_slot_device - constructor
113113//-------------------------------------------------
114114
115sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card) :
116                  device_t(mconfig, type, name, tag, owner, clock),
115sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card, const char *shortname, const char *source) :
116                  device_t(mconfig, type, name, tag, owner, clock, shortname, source),
117117                  device_image_interface(mconfig, *this),
118118                  device_slot_interface(mconfig, *this),
119119                  m_type(SEGA8_BASE_ROM),
r23832r23833
125125}
126126
127127sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
128                  device_t(mconfig, SEGA8_CART_SLOT, "Sega Master System / Game Gear / SG1000 Cartridge Slot", tag, owner, clock),
128                  device_t(mconfig, SEGA8_CART_SLOT, "Sega Master System / Game Gear / SG1000 Cartridge Slot", tag, owner, clock, "sega8_cart_slot", __FILE__),
129129                  device_image_interface(mconfig, *this),
130130                  device_slot_interface(mconfig, *this),
131131                  m_type(SEGA8_BASE_ROM),
r23832r23833
137137}
138138
139139sega8_card_slot_device::sega8_card_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
140                  sega8_cart_slot_device(mconfig, SEGA8_CARD_SLOT, "Sega Master System / Game Gear / SG1000 Card Slot", tag, owner, clock, TRUE)
140                  sega8_cart_slot_device(mconfig, SEGA8_CARD_SLOT, "Sega Master System / Game Gear / SG1000 Card Slot", tag, owner, clock, TRUE, "sega8_card_slot", __FILE__)
141141{
142142}
143143
trunk/src/mess/machine/isa.c
r23832r23833
2323//  isa8_slot_device - constructor
2424//-------------------------------------------------
2525isa8_slot_device::isa8_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
26      device_t(mconfig, ISA8_SLOT, "ISA8_SLOT", tag, owner, clock),
26      device_t(mconfig, ISA8_SLOT, "ISA8_SLOT", tag, owner, clock, "isa8_slot", __FILE__),
2727      device_slot_interface(mconfig, *this)
2828{
2929}
3030
31isa8_slot_device::isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
32      device_t(mconfig, type, name, tag, owner, clock),
31isa8_slot_device::isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
32      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3333      device_slot_interface(mconfig, *this)
3434{
3535}
r23832r23833
7171//  isa16_slot_device - constructor
7272//-------------------------------------------------
7373isa16_slot_device::isa16_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
74      isa8_slot_device(mconfig, ISA16_SLOT, "ISA16_SLOT", tag, owner, clock)
74      isa8_slot_device(mconfig, ISA16_SLOT, "ISA16_SLOT", tag, owner, clock, "isa16_slot", __FILE__)
7575{
7676}
7777
r23832r23833
145145//-------------------------------------------------
146146
147147isa8_device::isa8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
148      device_t(mconfig, ISA8, "ISA8", tag, owner, clock),
148      device_t(mconfig, ISA8, "ISA8", tag, owner, clock, "isa8", __FILE__),
149149      m_write_iochck(*this)
150150{
151151   for(int i=0;i<8;i++)
r23832r23833
156156   m_nmi_enabled = false;
157157}
158158
159isa8_device::isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
160      device_t(mconfig, type, name, tag, owner, clock),
159isa8_device::isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
160      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
161161      m_write_iochck(*this)
162162{
163163   for(int i=0;i<8;i++)
r23832r23833
469469//-------------------------------------------------
470470
471471isa16_device::isa16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
472      isa8_device(mconfig, ISA16, "ISA16", tag, owner, clock)
472      isa8_device(mconfig, ISA16, "ISA16", tag, owner, clock, "isa16", __FILE__)
473473{
474474}
475475
trunk/src/mess/machine/sega8_slot.h
r23832r23833
9999{
100100public:
101101   // construction/destruction
102   sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card);
102   sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card, const char *shortname, const char *source);
103103   sega8_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
104104   virtual ~sega8_cart_slot_device();
105105
trunk/src/mess/machine/zx8302.c
r23832r23833
171171//-------------------------------------------------
172172
173173zx8302_device::zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
174   : device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock),
174   : device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock, "zx8302", __FILE__),
175175      device_serial_interface(mconfig, *this),
176176      m_idr(1),
177177      m_irq(0),
trunk/src/mess/machine/tms5501.c
r23832r23833
7878//-------------------------------------------------
7979
8080tms5501_device::tms5501_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
81   : device_t(mconfig, TMS5501, "TMS5501", tag, owner, clock)
81   : device_t(mconfig, TMS5501, "TMS5501", tag, owner, clock, "tms5501", __FILE__)
8282{
8383}
8484
trunk/src/mess/machine/isa.h
r23832r23833
104104public:
105105   // construction/destruction
106106   isa8_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
107   isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
107   isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
108108
109109   // device-level overrides
110110   virtual void device_start();
r23832r23833
143143public:
144144   // construction/destruction
145145   isa8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
146   isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
146   isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
147147   // inline configuration
148148   static void static_set_cputag(device_t &device, const char *tag);
149149   template<class _iochck> void set_iochck_callback(_iochck iochck) { m_write_iochck.set_callback(iochck); }
trunk/src/mess/machine/gba_slot.c
r23832r23833
6565//  gba_cart_slot_device - constructor
6666//-------------------------------------------------
6767gba_cart_slot_device::gba_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
68                  device_t(mconfig, GBA_CART_SLOT, "Game Boy Advance Cartridge Slot", tag, owner, clock),
68                  device_t(mconfig, GBA_CART_SLOT, "Game Boy Advance Cartridge Slot", tag, owner, clock, "gba_cart_slot", __FILE__),
6969                  device_image_interface(mconfig, *this),
7070                  device_slot_interface(mconfig, *this),
7171                  m_type(GBA_STD)
trunk/src/mess/machine/plus4exp.c
r23832r23833
176176//-------------------------------------------------
177177
178178plus4_expansion_slot_device::plus4_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
179      device_t(mconfig, PLUS4_EXPANSION_SLOT, "Expansion Port", tag, owner, clock),
179      device_t(mconfig, PLUS4_EXPANSION_SLOT, "Expansion Port", tag, owner, clock, "plus4_expansion_slot", __FILE__),
180180      device_slot_interface(mconfig, *this),
181181      device_image_interface(mconfig, *this),
182182      m_write_irq(*this),
trunk/src/mess/machine/strata.c
r23832r23833
102102const device_type STRATAFLASH = &device_creator<strataflash_device>;
103103
104104strataflash_device::strataflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
105   : device_t(mconfig, STRATAFLASH, "Intel 28F640J5", tag, owner, clock)
105   : device_t(mconfig, STRATAFLASH, "Intel 28F640J5", tag, owner, clock, "strataflash", __FILE__)
106106{
107107   m_token = global_alloc_clear(strata_t);
108108}
trunk/src/mess/machine/macrtc.c
r23832r23833
3939//-------------------------------------------------
4040
4141rtc3430042_device::rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42   : device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock),
42   : device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock, "rtc3430042", __FILE__),
4343      device_rtc_interface(mconfig, *this),
4444      device_nvram_interface(mconfig, *this)
4545{
trunk/src/mess/machine/tvcexp.c
r23832r23833
5151//  tvcexp_slot_device - constructor
5252//-------------------------------------------------
5353tvcexp_slot_device::tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
54      device_t(mconfig, TVCEXP_SLOT, "TVC64 Expansion Slot", tag, owner, clock),
54      device_t(mconfig, TVCEXP_SLOT, "TVC64 Expansion Slot", tag, owner, clock, "tvcexp_slot", __FILE__),
5555      device_slot_interface(mconfig, *this)
5656{
5757}
trunk/src/mess/machine/adamnet.c
r23832r23833
5252//  adamnet_slot_device - constructor
5353//-------------------------------------------------
5454adamnet_slot_device::adamnet_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
55   device_t(mconfig, ADAMNET_SLOT, "ADAMnet slot", tag, owner, clock),
55   device_t(mconfig, ADAMNET_SLOT, "ADAMnet slot", tag, owner, clock, "adamnet_slot", __FILE__),
5656   device_slot_interface(mconfig, *this)
5757{
5858}
r23832r23833
8080//-------------------------------------------------
8181
8282adamnet_device::adamnet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
83   device_t(mconfig, ADAMNET, "ADAMnet bus", tag, owner, clock),
83   device_t(mconfig, ADAMNET, "ADAMnet bus", tag, owner, clock, "adamnet", __FILE__),
8484   m_txd(1),
8585   m_reset(CLEAR_LINE)
8686{
trunk/src/mess/machine/serial.c
r23832r23833
1515}
1616
1717serial_port_device::serial_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : device_t(mconfig, SERIAL_PORT, "Serial Port", tag, owner, clock),
18   : device_t(mconfig, SERIAL_PORT, "Serial Port", tag, owner, clock, "serial_port", __FILE__),
1919      device_slot_interface(mconfig, *this),
2020      m_dev(NULL)
2121{
trunk/src/mess/machine/esqvfd.c
r23832r23833
112112   0x0000, // 0000 0000 0000 0000 (DEL)
113113};
114114
115esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
116   device_t(mconfig, type, name, tag, owner, clock)
115esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
116   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
117117{
118118}
119119
r23832r23833
265265   update_display();
266266}
267267
268esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock)
268esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__)
269269{
270270   m_rows = 2;
271271   m_cols = 40;
r23832r23833
318318   update_display();
319319}
320320
321esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock)
321esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__)
322322{
323323   m_rows = 1;
324324   m_cols = 22;
r23832r23833
382382   }
383383}
384384
385esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock)
385esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__)
386386{
387387   m_rows = 2;
388388   m_cols = 40;
trunk/src/mess/machine/esqvfd.h
r23832r23833
2525public:
2626   typedef delegate<void (bool state)> line_cb;
2727
28   esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
28   esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
2929
3030   DECLARE_WRITE8_MEMBER( write ) { write_char(data); }
3131
trunk/src/mess/machine/amigakbd.c
r23832r23833
2020//-------------------------------------------------
2121
2222amigakbd_device::amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : device_t(mconfig, AMIGAKBD, "Amiga Keyboard", tag, owner, clock)
23   : device_t(mconfig, AMIGAKBD, "Amiga Keyboard", tag, owner, clock, "amigakbd", __FILE__)
2424{
2525}
2626
trunk/src/mess/machine/x68kexp.c
r23832r23833
3333//**************************************************************************
3434
3535x68k_expansion_slot_device::x68k_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
36      device_t(mconfig, X68K_EXPANSION_SLOT, "Sharp X680x0 expansion slot", tag, owner, clock),
36      device_t(mconfig, X68K_EXPANSION_SLOT, "Sharp X680x0 expansion slot", tag, owner, clock, "x68k_expansion_slot", __FILE__),
3737      device_slot_interface(mconfig, *this)
3838{
3939}
trunk/src/mess/machine/cbm2user.c
r23832r23833
5353//-------------------------------------------------
5454
5555cbm2_user_port_device::cbm2_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56      device_t(mconfig, CBM2_USER_PORT, "CBM2 user port", tag, owner, clock),
56      device_t(mconfig, CBM2_USER_PORT, "CBM2 user port", tag, owner, clock, "cbm2_user_port", __FILE__),
5757      device_slot_interface(mconfig, *this)
5858{
5959}
trunk/src/mess/machine/upd65031.c
r23832r23833
194194//-------------------------------------------------
195195
196196upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
197   : device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock)
197   : device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock, "upd65031", __FILE__)
198198{
199199}
200200
trunk/src/mess/machine/epson_sio.c
r23832r23833
5454//-------------------------------------------------
5555
5656epson_sio_device::epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
57      device_t(mconfig, EPSON_SIO, "EPSON SIO port", tag, owner, clock),
57      device_t(mconfig, EPSON_SIO, "EPSON SIO port", tag, owner, clock, "epson_sio", __FILE__),
5858      device_slot_interface(mconfig, *this)
5959{
6060}
trunk/src/mess/machine/plus4user.c
r23832r23833
5353//-------------------------------------------------
5454
5555plus4_user_port_device::plus4_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56      device_t(mconfig, PLUS4_USER_PORT, "User Port", tag, owner, clock),
56      device_t(mconfig, PLUS4_USER_PORT, "User Port", tag, owner, clock, "plus4_user_port", __FILE__),
5757      device_slot_interface(mconfig, *this)
5858{
5959}
trunk/src/mess/machine/x68k_hdc.c
r23832r23833
2222const device_type X68KHDC = &device_creator<x68k_hdc_image_device>;
2323
2424x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock),
25   : device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock, "x68k_hdc_image", __FILE__),
2626      device_image_interface(mconfig, *this)
2727{
2828}
trunk/src/mess/machine/cpcexp.c
r23832r23833
4040//**************************************************************************
4141
4242cpc_expansion_slot_device::cpc_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
43      device_t(mconfig, CPC_EXPANSION_SLOT, "Amstrad CPC expansion port", tag, owner, clock),
43      device_t(mconfig, CPC_EXPANSION_SLOT, "Amstrad CPC expansion port", tag, owner, clock, "cpc_expansion_slot", __FILE__),
4444      device_slot_interface(mconfig, *this)
4545{
4646}
trunk/src/mess/machine/microdrv.c
r23832r23833
4242//-------------------------------------------------
4343
4444microdrive_image_device::microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
45   : device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock),
45   : device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock, "microdrive_image", __FILE__),
4646      device_image_interface(mconfig, *this)
4747{
4848}
trunk/src/mess/machine/sat_slot.c
r23832r23833
7979//  sat_cart_slot_device - constructor
8080//-------------------------------------------------
8181sat_cart_slot_device::sat_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
82                  device_t(mconfig, SATURN_CART_SLOT, "Saturn Cartridge Slot", tag, owner, clock),
82                  device_t(mconfig, SATURN_CART_SLOT, "Saturn Cartridge Slot", tag, owner, clock, "sat_cart_slot", __FILE__),
8383                  device_image_interface(mconfig, *this),
8484                  device_slot_interface(mconfig, *this)
8585{
trunk/src/mess/machine/kc_keyb.c
r23832r23833
434434//  kc_keyboard_device - constructor
435435//-------------------------------------------------
436436kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
437      device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock)
437      device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock, "kc_keyboard", __FILE__)
438438{
439439}
440440
trunk/src/mess/machine/concept_exp.c
r23832r23833
3939//-------------------------------------------------
4040
4141concept_exp_port_device::concept_exp_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
42               device_t(mconfig, CONCEPT_EXP_PORT, "Corvus Concept expansion port", tag, owner, clock),
42               device_t(mconfig, CONCEPT_EXP_PORT, "Corvus Concept expansion port", tag, owner, clock, "concept_exp_port", __FILE__),
4343               device_slot_interface(mconfig, *this)
4444{
4545}
trunk/src/mess/machine/a2eauxslot.c
r23832r23833
2525//  a2eauxslot_slot_device - constructor
2626//-------------------------------------------------
2727a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
28      device_t(mconfig, A2EAUXSLOT_SLOT, "Apple II Slot", tag, owner, clock),
28      device_t(mconfig, A2EAUXSLOT_SLOT, "Apple II Slot", tag, owner, clock, "a2eauxslot_slot", __FILE__),
2929      device_slot_interface(mconfig, *this)
3030{
3131}
r23832r23833
9898//-------------------------------------------------
9999
100100a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
101      device_t(mconfig, A2EAUXSLOT, "Apple II Bus", tag, owner, clock)
101      device_t(mconfig, A2EAUXSLOT, "Apple II Bus", tag, owner, clock, "a2eauxslot", __FILE__)
102102{
103103}
104104
trunk/src/mess/machine/nextkbd.c
r23832r23833
99   AM_RANGE(0x8, 0xb) AM_READWRITE(data_r,  data_w)
1010ADDRESS_MAP_END
1111
12nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock)
12nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock, "nextkbd", __FILE__)
1313{
1414}
1515
trunk/src/mess/machine/sns_slot.c
r23832r23833
190190//-------------------------------------------------
191191//  base_sns_cart_slot_device - constructor
192192//-------------------------------------------------
193base_sns_cart_slot_device::base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
194                  device_t(mconfig, type, name, tag, owner, clock),
193base_sns_cart_slot_device::base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
194                  device_t(mconfig, type, name, tag, owner, clock, shortname, source),
195195                  device_image_interface(mconfig, *this),
196196                  device_slot_interface(mconfig, *this),
197197                  m_addon(ADDON_NONE),
r23832r23833
200200}
201201
202202sns_cart_slot_device::sns_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
203                  base_sns_cart_slot_device(mconfig, SNS_CART_SLOT, "SNES Cartridge Slot", tag, owner, clock)
203                  base_sns_cart_slot_device(mconfig, SNS_CART_SLOT, "SNES Cartridge Slot", tag, owner, clock, "sns_cart_slot", __FILE__)
204204{
205205}
206206
207207sns_sufami_cart_slot_device::sns_sufami_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
208                  base_sns_cart_slot_device(mconfig, SNS_SUFAMI_CART_SLOT, "SNES Sufami Turbo Cartridge Slot", tag, owner, clock)
208                  base_sns_cart_slot_device(mconfig, SNS_SUFAMI_CART_SLOT, "SNES Sufami Turbo Cartridge Slot", tag, owner, clock, "sns_sufami_cart_slot", __FILE__)
209209{
210210}
211211
212212sns_bsx_cart_slot_device::sns_bsx_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
213                  base_sns_cart_slot_device(mconfig, SNS_BSX_CART_SLOT, "SNES BS-X Cartridge Slot", tag, owner, clock)
213                  base_sns_cart_slot_device(mconfig, SNS_BSX_CART_SLOT, "SNES BS-X Cartridge Slot", tag, owner, clock, "sns_bsx_cart_slot", __FILE__)
214214{
215215}
216216
trunk/src/mess/machine/sns_slot.h
r23832r23833
156156{
157157public:
158158   // construction/destruction
159   base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
159   base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
160160   virtual ~base_sns_cart_slot_device();
161161
162162   // device-level overrides
trunk/src/mess/machine/apollo.c
r23832r23833
151151const device_type APOLLO_CONF = &device_creator<apollo_config_device>;
152152
153153apollo_config_device::apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
154   : device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock)
154   : device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock, "apollo_config", __FILE__)
155155{
156156}
157157
trunk/src/mess/machine/rx01.c
r23832r23833
5454//-------------------------------------------------
5555
5656rx01_device::rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : device_t(mconfig, RX01, "RX01", tag, owner, clock)
57   : device_t(mconfig, RX01, "RX01", tag, owner, clock, "rx01", __FILE__)
5858{
5959}
6060
trunk/src/mess/machine/pc9801_cbus.c
r23832r23833
5050//-------------------------------------------------
5151
5252pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
53      device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock),
53      device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock, "pc9801_slot", __FILE__),
5454      device_slot_interface(mconfig, *this)
5555{
5656}
trunk/src/mess/machine/md_slot.c
r23832r23833
165165//-------------------------------------------------
166166//  base_md_cart_slot_device - constructor
167167//-------------------------------------------------
168base_md_cart_slot_device::base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
169                  device_t(mconfig, type, name, tag, owner, clock),
168base_md_cart_slot_device::base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
169                  device_t(mconfig, type, name, tag, owner, clock, shortname, source),
170170                  device_image_interface(mconfig, *this),
171171                  device_slot_interface(mconfig, *this),
172172                  m_type(SEGA_STD),
r23832r23833
175175}
176176
177177md_cart_slot_device::md_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
178                  base_md_cart_slot_device(mconfig, MD_CART_SLOT, "MD Cartridge Slot", tag, owner, clock)
178                  base_md_cart_slot_device(mconfig, MD_CART_SLOT, "MD Cartridge Slot", tag, owner, clock, "md_cart_slot", __FILE__)
179179{
180180}
181181
182182pico_cart_slot_device::pico_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
183                  base_md_cart_slot_device(mconfig, PICO_CART_SLOT, "Pico Cartridge Slot", tag, owner, clock)
183                  base_md_cart_slot_device(mconfig, PICO_CART_SLOT, "Pico Cartridge Slot", tag, owner, clock, "pico_cart_slot", __FILE__)
184184{
185185}
186186
trunk/src/mess/machine/abc1600_bus.c
r23832r23833
5252//-------------------------------------------------
5353
5454abc1600bus_slot_device::abc1600bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
55      device_t(mconfig, ABC1600BUS_SLOT, "ABC 1600 bus slot", tag, owner, clock),
55      device_t(mconfig, ABC1600BUS_SLOT, "ABC 1600 bus slot", tag, owner, clock, "abc1600bus_slot", __FILE__),
5656      device_slot_interface(mconfig, *this),
5757      m_int(CLEAR_LINE),
5858      m_pren(1),
trunk/src/mess/machine/md_slot.h
r23832r23833
145145{
146146public:
147147   // construction/destruction
148   base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
148   base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
149149   virtual ~base_md_cart_slot_device();
150150
151151   // device-level overrides
trunk/src/mess/machine/ds1315.c
r23832r23833
1515const device_type DS1315 = &device_creator<ds1315_device>;
1616
1717ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18            : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock)
18            : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__)
1919{
2020}
2121
trunk/src/mess/machine/pc_lpt.c
r23832r23833
229229const device_type PC_LPT = &device_creator<pc_lpt_device>;
230230
231231pc_lpt_device::pc_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
232   : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock)
232   : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock, "pc_lpt", __FILE__)
233233{
234234   m_token = global_alloc_clear(pc_lpt_state);
235235}
trunk/src/mess/machine/docg3.c
r23832r23833
3737//-------------------------------------------------
3838
3939diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40   : device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock),
40   : device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock, "diskonchip_g3", __FILE__),
4141      device_nvram_interface(mconfig, *this)
4242{
4343}
trunk/src/mess/machine/3c505.c
r23832r23833
196196//-------------------------------------------------
197197
198198threecom3c505_device::threecom3c505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
199   : device_t(mconfig, THREECOM3C505, "Threecom 3C505", tag, owner, clock),
199   : device_t(mconfig, THREECOM3C505, "Threecom 3C505", tag, owner, clock, "threecom3c505", __FILE__),
200200      device_network_interface(mconfig, *this, 10.0f)
201201{
202202   memset(static_cast<threecom3c505_interface *>(this), 0, sizeof(threecom3c505_interface));
trunk/src/mess/machine/gb_slot.c
r23832r23833
139139//-------------------------------------------------
140140//  base_gb_cart_slot_device - constructor
141141//-------------------------------------------------
142base_gb_cart_slot_device::base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
143                  device_t(mconfig, type, name, tag, owner, clock),
142base_gb_cart_slot_device::base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
143                  device_t(mconfig, type, name, tag, owner, clock, shortname, source),
144144                  device_image_interface(mconfig, *this),
145145                  device_slot_interface(mconfig, *this),
146146                  m_sgb_hack(0),
r23832r23833
149149}
150150
151151gb_cart_slot_device::gb_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
152                  base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock)
152                  base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock, "gba_cart_slot", __FILE__)
153153{
154154}
155155
156156megaduck_cart_slot_device::megaduck_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
157                  base_gb_cart_slot_device(mconfig, MEGADUCK_CART_SLOT, "Megaduck Cartridge Slot", tag, owner, clock)
157                  base_gb_cart_slot_device(mconfig, MEGADUCK_CART_SLOT, "Megaduck Cartridge Slot", tag, owner, clock, "megaduck_cart_slot", __FILE__)
158158{
159159}
160160
trunk/src/mess/machine/gb_slot.h
r23832r23833
107107{
108108public:
109109   // construction/destruction
110   base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
110   base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
111111   virtual ~base_gb_cart_slot_device();
112112
113113   // device-level overrides
trunk/src/mess/machine/pce220_ser.c
r23832r23833
4242//-------------------------------------------------
4343
4444pce220_serial_device::pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
45   : device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock),
45   : device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock, "pce220_serial", __FILE__),
4646      device_image_interface(mconfig, *this)
4747{
4848}
trunk/src/mess/machine/sc499.c
r23832r23833
161161//-------------------------------------------------
162162
163163sc499_device::sc499_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
164   : device_t(mconfig, SC499, "Archive SC-499", tag, owner, clock)
164   : device_t(mconfig, SC499, "Archive SC-499", tag, owner, clock, "sc499", __FILE__)
165165{
166166   memset(static_cast<sc499_interface *>(this), 0, sizeof(sc499_interface));
167167}
r23832r23833
11711171const device_type SC499_CTAPE = &device_creator<sc499_ctape_image_device>;
11721172
11731173sc499_ctape_image_device::sc499_ctape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1174   : device_t(mconfig, SC499_CTAPE, "Cartridge Tape", tag, owner, clock),
1174   : device_t(mconfig, SC499_CTAPE, "Cartridge Tape", tag, owner, clock, "sc499_ctape", __FILE__),
11751175      device_image_interface(mconfig, *this)
11761176{
11771177}
trunk/src/mess/machine/ieee488.c
r23832r23833
6565//-------------------------------------------------
6666
6767ieee488_slot_device::ieee488_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
68      device_t(mconfig, IEEE488_SLOT, "IEEE-488 slot", tag, owner, clock),
68      device_t(mconfig, IEEE488_SLOT, "IEEE-488 slot", tag, owner, clock, "ieee488_slot", __FILE__),
6969      device_slot_interface(mconfig, *this)
7070{
7171}
r23832r23833
291291//-------------------------------------------------
292292
293293ieee488_device::ieee488_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
294   : device_t(mconfig, IEEE488, "IEEE488 bus", tag, owner, clock),
294   : device_t(mconfig, IEEE488, "IEEE488 bus", tag, owner, clock, "ieee488", __FILE__),
295295      m_write_eoi(*this),
296296      m_write_dav(*this),
297297      m_write_nrfd(*this),
trunk/src/mess/machine/vcsctrl.c
r23832r23833
5353//-------------------------------------------------
5454
5555vcs_control_port_device::vcs_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56   device_t(mconfig, VCS_CONTROL_PORT, "Atari VCS control port", tag, owner, clock),
56   device_t(mconfig, VCS_CONTROL_PORT, "Atari VCS control port", tag, owner, clock, "vcs_control_port", __FILE__),
5757   device_slot_interface(mconfig, *this),
5858   m_trigger_handler(*this)
5959{
trunk/src/mess/machine/nubus.c
r23832r23833
2525//  nubus_slot_device - constructor
2626//-------------------------------------------------
2727nubus_slot_device::nubus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
28      device_t(mconfig, NUBUS_SLOT, "NUBUS_SLOT", tag, owner, clock),
28      device_t(mconfig, NUBUS_SLOT, "NUBUS_SLOT", tag, owner, clock, "nubus_slot", __FILE__),
2929      device_slot_interface(mconfig, *this)
3030{
3131}
r23832r23833
102102//-------------------------------------------------
103103
104104nubus_device::nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
105      device_t(mconfig, NUBUS, "NUBUS", tag, owner, clock)
105      device_t(mconfig, NUBUS, "NUBUS", tag, owner, clock, "nubus", __FILE__)
106106{
107107}
108108
trunk/src/mess/machine/vip_exp.c
r23832r23833
5252//-------------------------------------------------
5353
5454vip_expansion_slot_device::vip_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
55   device_t(mconfig, VIP_EXPANSION_SLOT, "VIP expansion port", tag, owner, clock),
55   device_t(mconfig, VIP_EXPANSION_SLOT, "VIP expansion port", tag, owner, clock, "vip_expansion_slot", __FILE__),
5656   device_slot_interface(mconfig, *this),
5757   m_write_irq(*this),
5858   m_write_dma_out(*this),
trunk/src/mess/machine/a2bus.c
r23832r23833
8787//  a2bus_slot_device - constructor
8888//-------------------------------------------------
8989a2bus_slot_device::a2bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
90      device_t(mconfig, A2BUS_SLOT, "Apple II Slot", tag, owner, clock),
90      device_t(mconfig, A2BUS_SLOT, "Apple II Slot", tag, owner, clock, "a2bus_slot", __FILE__),
9191      device_slot_interface(mconfig, *this)
9292{
9393}
r23832r23833
161161//-------------------------------------------------
162162
163163a2bus_device::a2bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
164      device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock)
164      device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock, "a2bus", __FILE__)
165165{
166166}
167167
trunk/src/mess/machine/s100.c
r23832r23833
2626//  s100_slot_device - constructor
2727//-------------------------------------------------
2828s100_slot_device::s100_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
29      device_t(mconfig, S100_SLOT, "S100 slot", tag, owner, clock),
29      device_t(mconfig, S100_SLOT, "S100 slot", tag, owner, clock, "s100_slot", __FILE__),
3030      device_slot_interface(mconfig, *this)
3131{
3232}
r23832r23833
101101//-------------------------------------------------
102102
103103s100_device::s100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
104      device_t(mconfig, S100, "S100", tag, owner, clock)
104      device_t(mconfig, S100, "S100", tag, owner, clock, "s100", __FILE__)
105105{
106106}
107107
trunk/src/mess/machine/ncr5380.c
r23832r23833
9595//-------------------------------------------------
9696
9797ncr5380_device::ncr5380_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
98   : device_t(mconfig, NCR5380, "5380 SCSI", tag, owner, clock)
98   : device_t(mconfig, NCR5380, "5380 SCSI", tag, owner, clock, "ncr5380", __FILE__)
9999{
100100}
101101
trunk/src/mess/machine/cbm2exp.c
r23832r23833
157157//-------------------------------------------------
158158
159159cbm2_expansion_slot_device::cbm2_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
160      device_t(mconfig, CBM2_EXPANSION_SLOT, "CBM-II expansion port", tag, owner, clock),
160      device_t(mconfig, CBM2_EXPANSION_SLOT, "CBM-II expansion port", tag, owner, clock, "cbm2_expansion_slot", __FILE__),
161161      device_slot_interface(mconfig, *this),
162162      device_image_interface(mconfig, *this)
163163{
trunk/src/mess/machine/kcexp.c
r23832r23833
152152//  kcexp_slot_device - constructor
153153//-------------------------------------------------
154154kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
155      device_t(mconfig, KCEXP_SLOT, "KC85 Expansion Slot", tag, owner, clock),
155      device_t(mconfig, KCEXP_SLOT, "KC85 Expansion Slot", tag, owner, clock, "kcexp_slot", __FILE__),
156156      device_slot_interface(mconfig, *this)
157157{
158158}
159159
160kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
161      device_t(mconfig, type, name, tag, owner, clock),
160kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
161      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
162162      device_slot_interface(mconfig, *this)
163163{
164164}
r23832r23833
316316//  kccart_slot_device - constructor
317317//-------------------------------------------------
318318kccart_slot_device::kccart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
319      kcexp_slot_device(mconfig, KCCART_SLOT, "KC85 Cartridge Slot", tag, owner, clock),
319      kcexp_slot_device(mconfig, KCCART_SLOT, "KC85 Cartridge Slot", tag, owner, clock, "kccart_slot", __FILE__),
320320      device_image_interface(mconfig, *this)
321321{
322322}
trunk/src/mess/machine/kcexp.h
r23832r23833
5252public:
5353   // construction/destruction
5454   kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
55   kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
55   kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
5656   virtual ~kcexp_slot_device();
5757
5858   // device-level overrides
trunk/src/mess/machine/8530scc.c
r23832r23833
2323    IMPLEMENTATION
2424***************************************************************************/
2525
26scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SCC8530, "Zilog 8530 SCC", tag, owner, clock)
26scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SCC8530, "Zilog 8530 SCC", tag, owner, clock, "scc8530", __FILE__)
2727{
2828}
2929
trunk/src/mess/video/uv201.c
r23832r23833
9898//-------------------------------------------------
9999
100100uv201_device::uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
101   : device_t(mconfig, UV201, "UV201", tag, owner, clock)
101   : device_t(mconfig, UV201, "UV201", tag, owner, clock, "uv201", __FILE__)
102102{
103103}
104104
trunk/src/mess/video/crt.c
r23832r23833
4949//-------------------------------------------------
5050
5151crt_device::crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52   : device_t(mconfig, CRT, "CRT Video", tag, owner, clock),
52   : device_t(mconfig, CRT, "CRT Video", tag, owner, clock, "crt", __FILE__),
5353      m_list(NULL),
5454      m_list_head(NULL),
5555      m_decay_counter(0),
trunk/src/mess/video/vic4567.c
r23832r23833
143143const device_type VIC3 = &device_creator<vic3_device>;
144144
145145vic3_device::vic3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
146         : device_t(mconfig, VIC3, "4567 VIC III", tag, owner, clock)
146         : device_t(mconfig, VIC3, "4567 VIC III", tag, owner, clock, "vic3", __FILE__)
147147{
148148}
149149
trunk/src/mess/video/vtvideo.c
r23832r23833
2626const device_type RAINBOW_VIDEO = &device_creator<rainbow_video_device>;
2727
2828
29vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
30               : device_t(mconfig, type, name, tag, owner, clock)
29vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
30               : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
3131{
3232}
3333
3434
3535vt100_video_device::vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36               : device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock)
36               : device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock, "vt100_video", __FILE__)
3737{
3838}
3939
4040
4141rainbow_video_device::rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42               : vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock)
42               : vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock, "rainbow_video", __FILE__)
4343{
4444}
4545
trunk/src/mess/video/vtvideo.h
r23832r23833
3030                     public vt_video_interface
3131{
3232public:
33   vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
33   vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
3434   vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
3535   ~vt100_video_device() {}
3636
trunk/src/mess/video/s3virge.c
r23832r23833
1717const device_type S3VIRGE = &device_creator<s3virge_vga_device>;
1818
1919s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
20   : s3_vga_device(mconfig, S3VIRGE, "S3VIRGE", tag, owner, clock)
20   : s3_vga_device(mconfig, S3VIRGE, "S3VIRGE", tag, owner, clock, "s3virge_vga", __FILE__)
2121{
2222}
2323
trunk/src/mess/video/t6a04.c
r23832r23833
5757//-------------------------------------------------
5858
5959t6a04_device::t6a04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
60   device_t(mconfig, T6A04, "T6A04", tag, owner, clock)
60   device_t(mconfig, T6A04, "T6A04", tag, owner, clock, "t6a04", __FILE__)
6161{
6262}
6363
trunk/src/mess/video/mos6566.c
r23832r23833
580580//-------------------------------------------------
581581
582582mos6566_device::mos6566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
583   : device_t(mconfig, MOS6566, "MOS6566", tag, owner, clock),
583   : device_t(mconfig, MOS6566, "MOS6566", tag, owner, clock, "mos6566", __FILE__),
584584      device_memory_interface(mconfig, *this),
585585      device_execute_interface(mconfig, *this),
586586      m_icount(0),
r23832r23833
594594{
595595}
596596
597mos6566_device::mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
598   : device_t(mconfig, type, name, tag, owner, clock),
597mos6566_device::mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
598   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
599599      device_memory_interface(mconfig, *this),
600600      device_execute_interface(mconfig, *this),
601601      m_icount(0),
r23832r23833
613613}
614614
615615mos6567_device::mos6567_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
616   :mos6566_device(mconfig, MOS6567, "MOS6567", tag, owner, clock, TYPE_6567) { }
616   :mos6566_device(mconfig, MOS6567, "MOS6567", tag, owner, clock, TYPE_6567, "mos6567", __FILE__) { }
617617
618mos6567_device::mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
619   :mos6566_device(mconfig, type, name, tag, owner, clock, TYPE_6567) { }
618mos6567_device::mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
619   :mos6566_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
620620
621621mos8562_device::mos8562_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
622   :mos6567_device(mconfig, MOS8562, "MOS8562", tag, owner, clock, TYPE_8562) { }
622   :mos6567_device(mconfig, MOS8562, "MOS8562", tag, owner, clock, TYPE_8562, "mos8562", __FILE__) { }
623623
624624mos8564_device::mos8564_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
625   :mos6567_device(mconfig, MOS8564, "MOS8564", tag, owner, clock, TYPE_8564) { }
625   :mos6567_device(mconfig, MOS8564, "MOS8564", tag, owner, clock, TYPE_8564, "mos8564", __FILE__) { }
626626
627627mos6569_device::mos6569_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
628   :mos6566_device(mconfig, MOS6566, "MOS6569", tag, owner, clock, TYPE_6569) { }
628   :mos6566_device(mconfig, MOS6566, "MOS6569", tag, owner, clock, TYPE_6569, "mos6569", __FILE__) { }
629629
630mos6569_device::mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
631   :mos6566_device(mconfig, type, name, tag, owner, clock, TYPE_6569) { }
630mos6569_device::mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
631   :mos6566_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
632632
633633mos8565_device::mos8565_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
634   :mos6569_device(mconfig, MOS8565, "MOS8565", tag, owner, clock, TYPE_8565) { }
634   :mos6569_device(mconfig, MOS8565, "MOS8565", tag, owner, clock, TYPE_8565, "mos8565", __FILE__) { }
635635
636636mos8566_device::mos8566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
637   :mos6569_device(mconfig, MOS8566, "MOS8566", tag, owner, clock, TYPE_8566) { }
637   :mos6569_device(mconfig, MOS8566, "MOS8566", tag, owner, clock, TYPE_8566, "mos8566", __FILE__) { }
638638
639639
640640//-------------------------------------------------
trunk/src/mess/video/mos6566.h
r23832r23833
273273{
274274public:
275275   // construction/destruction
276   mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
276   mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
277277   mos6566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
278278
279279   template<class _irq, class _k> void set_callbacks(const char *screen_tag, const char *cpu_tag, _irq irq, _k k) {
r23832r23833
441441public:
442442   // construction/destruction
443443   mos6567_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
444   mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
444   mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
445445};
446446
447447
r23832r23833
472472public:
473473   // construction/destruction
474474   mos6569_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
475   mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
475   mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
476476
477477   // device-level overrides
478478   virtual void execute_run();
trunk/src/mess/video/gf4500.c
r23832r23833
3434
3535
3636gf4500_device::gf4500_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37            : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock)
37            : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock, "gf4500", __FILE__)
3838{
3939}
4040
trunk/src/mess/video/zx8301.c
r23832r23833
127127//-------------------------------------------------
128128
129129zx8301_device::zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
130   : device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock),
130   : device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock, "zx8301", __FILE__),
131131      device_memory_interface(mconfig, *this),
132132      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(zx8301)),
133133      m_dispoff(1),
trunk/src/mess/video/733_asr.c
r23832r23833
219219const device_type ASR733 = &device_creator<asr733_device>;
220220
221221asr733_device::asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
222   : device_t(mconfig, ASR733, "733 ASR", tag, owner, clock)
222   : device_t(mconfig, ASR733, "733 ASR", tag, owner, clock, "asr733", __FILE__)
223223{
224224   m_token = global_alloc_clear(asr_t);
225225}
trunk/src/mess/video/crtc_ega.c
r23832r23833
4040
4141
4242crtc_ega_device::crtc_ega_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43   : device_t(mconfig, CRTC_EGA, "crtc_EGA", tag, owner, clock)
43   : device_t(mconfig, CRTC_EGA, "crtc_EGA", tag, owner, clock, "crtc_ega", __FILE__)
4444{
4545}
4646
trunk/src/mess/video/ef9345.c
r23832r23833
121121//-------------------------------------------------
122122
123123ef9345_device::ef9345_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
124   device_t(mconfig, EF9345, "EF9345", tag, owner, clock),
124   device_t(mconfig, EF9345, "EF9345", tag, owner, clock, "ef9345", __FILE__),
125125   device_memory_interface(mconfig, *this),
126126   m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9345))
127127{
trunk/src/mess/video/gime.c
r23832r23833
106106//  ctor
107107//-------------------------------------------------
108108
109gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata)
110   :   mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false)
109gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source)
110   :   mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false, shortname, source)
111111{
112112}
113113
r23832r23833
20542054//-------------------------------------------------
20552055
20562056gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2057   : gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12)
2057   : gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, "gime_ntsc", __FILE__)
20582058{
20592059}
20602060
r23832r23833
20652065//-------------------------------------------------
20662066
20672067gime_pal_device::gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2068   : gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12)
2068   : gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12, "gime_pal", __FILE__)
20692069{
20702070}
trunk/src/mess/video/gime.h
r23832r23833
8585   void set_il2(bool value) { set_interrupt_value(INTERRUPT_EI2, value); }
8686
8787protected:
88   gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata);
88   gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source);
8989
9090   // device-level overrides
9191   virtual void device_start(void);
trunk/src/mess/video/911_vdt.c
r23832r23833
271271const device_type VDT911 = &device_creator<vdt911_device>;
272272
273273vdt911_device::vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
274   : device_t(mconfig, VDT911, "911 VDT", tag, owner, clock)
274   : device_t(mconfig, VDT911, "911 VDT", tag, owner, clock, "vdt911", __FILE__)
275275{
276276   m_token = global_alloc_clear(vdt_t);
277277}
trunk/src/mess/video/k1ge.c
r23832r23833
873873const device_type K1GE = &device_creator<k1ge_device>;
874874
875875k1ge_device::k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
876   : device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock)
876   : device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock, "k1ge", __FILE__)
877877   , m_vblank_pin_w(*this)
878878   , m_hblank_pin_w(*this)
879879{
880880}
881881
882k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
883   : device_t(mconfig, type, name, tag, owner, clock)
882k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
883   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
884884   , m_vblank_pin_w(*this)
885885   , m_hblank_pin_w(*this)
886886{
r23832r23833
890890const device_type K2GE = &device_creator<k2ge_device>;
891891
892892k2ge_device::k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
893   : k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock)
893   : k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock, "k2ge", __FILE__)
894894{
895895}
trunk/src/mess/video/k1ge.h
r23832r23833
2222{
2323public:
2424   k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
25   k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
2626
2727   DECLARE_READ8_MEMBER( reg_read );
2828   DECLARE_WRITE8_MEMBER( reg_write );
trunk/src/mess/video/newport.c
r23832r23833
8080
8181
8282newport_video_device::newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
83            : device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock)
83            : device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock, "newport_video", __FILE__)
8484{
8585}
8686

Previous 199869 Revisions Next


© 1997-2024 The MAME Team