Previous 199869 Revisions Next

r22096 Tuesday 26th March, 2013 at 15:18:37 UTC by Miodrag Milanović
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
[src/emu]devcpu.c devcpu.h device.c device.h driver.c
[src/emu/cpu/m6502]deco16.c m3745x.c m3745x.h m4510.c m5074x.c m5074x.h m6502.c m6502.h m6504.c m6509.c m6510.c m6510.h m6510t.c m65c02.c m65c02.h m65ce02.c m65ce02.h m65sc02.c m740.c m740.h m7501.c m8502.c n2a03.c r65c02.c r65c02.h
[src/emu/cpu/mcs96]i8x9x.c i8x9x.h i8xc196.c i8xc196.h
[src/emu/cpu/psx]siodev.c siodev.h
[src/emu/cpu/tms32031]tms32031.c tms32031.h
[src/emu/imagedev]chd_cd.c chd_cd.h flopdrv.c flopdrv.h floppy.c floppy.h snapquik.c snapquik.h
[src/emu/machine]53c7xx.c cr589.c ctronics.c ctronics.h idectrl.c idectrl.h laserdsc.c laserdsc.h ldpr8210.c ldpr8210.h ldstub.h ldv1000.c ldvp931.c n68681.c nscsi_bus.c nscsi_bus.h nscsi_cd.c nscsi_cd.h nscsi_hd.c nscsi_hd.h scsicb.c scsicd.c scsicd.h scsidev.c scsidev.h scsihd.c scsihd.h scsihle.c scsihle.h upd765.c upd765.h
[src/emu/sound]bsmt2000.c dac.c k054539.c qs1000.c segapcm.c votrax.c
[src/emu/video]h63484.c hd44780.c hd44780.h hd61830.c m50458.c mb90082.c msm6255.c msm6255.h saa5050.c saa5050.h sed1330.c sed1330.h upd7220.c v9938.c
[src/mame/audio]gottlieb.c midway.c namco52.c namco52.h namco54.c namco54.h williams.c
[src/mame/drivers]chihiro.c
[src/mame/machine]dc-ctrl.c deco222.c decocpu6.c decocpu7.c gdrom.c k573cass.c mapledev.c mapledev.h mega32x.c mie.c namco06.c namco06.h namco50.c namco50.h namco51.c namco51.h namco53.c namco53.h namco62.c namco62.h zndip.c znsec.c
[src/mess/audio]lynx.c
[src/mess/includes]apollo.h lynx.h
[src/mess/machine]3c503.c 3c503.h a2alfam2.c a2alfam2.h a2arcadebd.c a2arcadebd.h a2bus.c a2bus.h a2cffa.c a2cffa.h a2diskii.c a2diskii.h a2eauxslot.c a2eauxslot.h a2echoii.c a2echoii.h a2eext80col.c a2eext80col.h a2eramworks3.c a2eramworks3.h a2estd80col.c a2estd80col.h a2lang.c a2lang.h a2memexp.c a2memexp.h a2midi.c a2midi.h a2mockingboard.c a2mockingboard.h a2sam.c a2sam.h a2scsi.c a2scsi.h a2softcard.c a2softcard.h a2ssc.c a2ssc.h a2swyft.c a2swyft.h a2themill.c a2themill.h a2thunderclock.c a2thunderclock.h a2videoterm.c a2videoterm.h a2vulcan.c a2vulcan.h a2zipdrive.c a2zipdrive.h abc77.c abc77.h abc800kb.c abc80kb.c abc890.c abc890.h abc99.c abc_dos.c abc_dos.h abc_fd2.c abc_fd2.h abc_hdc.c abc_hdc.h abc_sio.c abc_sio.h abc_slutprov.c abc_slutprov.h abc_turbo.c abc_turbo.h abc_uni800.c abc_uni800.h abc_xebec.c abc_xebec.h acb4070.c adam_ddp.c adam_ddp.h adam_fdc.c adam_fdc.h adam_ide.c adam_ide.h adam_kb.c adam_kb.h adam_prn.c adam_prn.h adam_ram.c adam_ram.h adam_spi.c adam_spi.h adamlink.c adamlink.h appldriv.c applefdc.c applefdc.h apricotkb.c at_keybc.c beta.c beta.h bw2_ramcard.c bw2_ramcard.h c128_comal80.c c128_comal80.h c1541.c c1541.h c1551.c c1551.h c1571.c c1571.h c1581.c c1581.h c2031.c c2031.h c2040.c c2040.h c2n.c c2n.h c64_16kb.c c64_16kb.h c64_4cga.c c64_4cga.h c64_4dxh.c c64_4dxh.h c64_4ksa.c c64_4ksa.h c64_4tba.c c64_4tba.h c64_bn1541.c c64_bn1541.h c64_comal80.c c64_comal80.h c64_cpm.c c64_cpm.h c64_currah_speech.c c64_currah_speech.h c64_dela_ep256.c c64_dela_ep256.h c64_dela_ep64.c c64_dela_ep64.h c64_dela_ep7x8.c c64_dela_ep7x8.h c64_dinamic.c c64_dinamic.h c64_dqbb.c c64_dqbb.h c64_easy_calc_result.c c64_easy_calc_result.h c64_easyflash.c c64_easyflash.h c64_epyx_fast_load.c c64_epyx_fast_load.h c64_exos.c c64_exos.h c64_fcc.c c64_fcc.h c64_final.c c64_final.h c64_final3.c c64_final3.h c64_fun_play.c c64_fun_play.h c64_geocable.c c64_geocable.h c64_georam.c c64_georam.h c64_ide64.c c64_ide64.h c64_ieee488.c c64_ieee488.h c64_kingsoft.c c64_kingsoft.h c64_mach5.c c64_mach5.h c64_magic_desk.c c64_magic_desk.h c64_magic_formel.c c64_magic_formel.h c64_magic_voice.c c64_magic_voice.h c64_midi_maplin.c c64_midi_maplin.h c64_midi_namesoft.c c64_midi_namesoft.h c64_midi_passport.c c64_midi_passport.h c64_midi_sci.c c64_midi_sci.h c64_midi_siel.c c64_midi_siel.h c64_mikro_assembler.c c64_mikro_assembler.h c64_multiscreen.c c64_multiscreen.h c64_neoram.c c64_neoram.h c64_ocean.c c64_ocean.h c64_pagefox.c c64_pagefox.h c64_prophet64.c c64_prophet64.h c64_ps64.c c64_ps64.h c64_reu.c c64_reu.h c64_rex.c c64_rex.h c64_rex_ep256.c c64_rex_ep256.h c64_ross.c c64_ross.h c64_sfx_sound_expander.c c64_sfx_sound_expander.h c64_silverrock.c c64_silverrock.h c64_simons_basic.c c64_simons_basic.h c64_stardos.c c64_stardos.h c64_std.c c64_std.h c64_structured_basic.c c64_structured_basic.h c64_super_explode.c c64_super_explode.h c64_super_games.c c64_super_games.h c64_supercpu.c c64_supercpu.h c64_sw8k.c c64_sw8k.h c64_swiftlink.c c64_swiftlink.h c64_system3.c c64_system3.h c64_tdos.c c64_tdos.h c64_turbo232.c c64_turbo232.h c64_vic1011.c c64_vic1011.h c64_vizastar.c c64_vizastar.h c64_vw64.c c64_vw64.h c64_warp_speed.c c64_warp_speed.h c64_westermann.c c64_westermann.h c64_xl80.c c64_xl80.h c64_zaxxon.c c64_zaxxon.h c8280.c c8280.h cbm2_24k.c cbm2_24k.h cbm2_graphic.c cbm2_graphic.h cbm2_std.c cbm2_std.h cmdhd.c cmdhd.h cntr_covox.c cntr_covox.h coco_232.c coco_232.h coco_fdc.c coco_fdc.h coco_multi.c coco_multi.h coco_orch90.c coco_orch90.h coco_pak.c coco_pak.h compiskb.c comx_clm.c comx_clm.h comx_eb.c comx_eb.h comx_epr.c comx_epr.h comx_fd.c comx_fd.h comx_joy.c comx_joy.h comx_prn.c comx_prn.h comx_ram.c comx_ram.h comx_thm.c comx_thm.h comxpl80.c comxpl80.h cpc_rom.c cpc_rom.h cpc_ssa1.c cpc_ssa1.h cuda.c d9060.c d9060.h d9060hd.c dec_lk201.c dec_lk201.h diag264_lb_iec.c diag264_lb_iec.h diag264_lb_tape.c diag264_lb_tape.h diag264_lb_user.c diag264_lb_user.h dp8390.c dp8390.h e01.c e01.h ecb_grip.c ecb_grip.h egret.c esqpanel.c esqpanel.h fd2000.c fd2000.h gb_mbc.c gb_mbc.h gb_rom.c gb_rom.h i82371ab.c i82371ab.h i82371sb.c i82371sb.h i82439tx.c interpod.c interpod.h iq151_disc2.c iq151_disc2.h iq151_minigraf.c iq151_minigraf.h iq151_ms151a.c iq151_ms151a.h iq151_rom.c iq151_rom.h iq151_staper.c iq151_staper.h isa_adlib.c isa_adlib.h isa_aha1542.c isa_aha1542.h isa_com.c isa_com.h isa_fdc.c isa_fdc.h isa_finalchs.c isa_gblaster.c isa_gblaster.h isa_gus.c isa_gus.h isa_hdc.c isa_ibm_mfc.c isa_ibm_mfc.h isa_ide.c isa_ide.h isa_ide_cd.c isa_ide_cd.h isa_mpu401.c isa_mpu401.h isa_sblaster.c isa_sblaster.h isa_ssi2001.c isa_ssi2001.h isa_stereo_fx.c isa_stereo_fx.h isa_wdxt_gen.c isa_wdxt_gen.h k7659kb.c k7659kb.h kb_keytro.c kb_msnat.c kc_d002.c kc_d002.h kc_d004.c kc_d004.h kc_ram.c kc_ram.h kc_rom.c kc_rom.h keyboard.c keyboard.h laser128.c laser128.h lux10828.c lux10828.h lux21046.c lux21046.h lux4105.c lux4105.h mackbd.c mackbd.h md_eeprom.c md_eeprom.h md_jcart.c md_jcart.h md_rom.c md_rom.h md_sk.c md_sk.h md_stm95.c md_stm95.h md_svp.c md_svp.h mface2.c mface2.h midiinport.c midiinport.h midioutport.c midioutport.h mos6702.c mos6702.h mpc105.c msm6222b.c msm6222b.h ncr5380n.c ncr5390.c ne1000.c ne1000.h ne2000.c ne2000.h nes_slot.c nes_slot.h northbridge.c northbridge.h nubus.c nubus.h nubus_asntmc3b.c nubus_asntmc3b.h nubus_image.c nubus_image.h null_modem.c null_modem.h pc1512kb.c pc9801_118.c pc9801_118.h pc9801_26.c pc9801_26.h pc9801_86.c pc9801_86.h pc_fdc.c pc_fdc.h pc_lpt.c pc_lpt.h pet_64k.c pet_64k.h pf10.c pf10.h plus4_sid.c plus4_sid.h plus4_std.c plus4_std.h psxanalog.c psxanalog.h psxcd.c psxcport.c psxcport.h s100_dj2db.c s100_dj2db.h s100_djdma.c s100_djdma.h s100_mm65k16s.c s100_mm65k16s.h s100_wunderbus.c s100_wunderbus.h s1410.c s1410.h sa1403d.c sa1403d.h sat_bram.c sat_bram.h sat_dram.c sat_dram.h sat_rom.c sat_rom.h sed1200.c sed1200.h ser_mouse.c ser_mouse.h serial.c serial.h serialbox.c serialbox.h smartmed.c smartmed.h sns_bsx.c sns_bsx.h sns_rom.c sns_rom.h sns_rom21.c sns_rom21.h sns_sdd1.c sns_sdd1.h sns_sfx.c sns_sfx.h sns_spc7110.c sns_spc7110.h sns_sufami.c sns_sufami.h sns_upd.c sns_upd.h softbox.c softbox.h sonydriv.c southbridge.c southbridge.h superpet.c superpet.h swim.c tandy2kb.c teleprinter.c terminal.c terminal.h tf20.c tf20.h trs80m2kb.c tvc_hbf.c tvc_hbf.h v1050kb.c v1050kb.h vb_money_minder.c vb_money_minder.h vb_std.c vb_std.h vb_timeshare.c vb_timeshare.h vcs_joy.c vcs_joy.h vcs_joybooster.c vcs_joybooster.h vcs_keypad.c vcs_keypad.h vcs_lightpen.c vcs_lightpen.h vcs_paddles.c vcs_paddles.h vcs_wheel.c vcs_wheel.h vic1010.c vic1010.h vic1011.c vic1011.h vic10std.c vic10std.h vic1110.c vic1110.h vic1111.c vic1111.h vic1112.c vic1112.h vic1210.c vic1210.h vic20_megacart.c vic20_megacart.h vic20std.c vic20std.h victor9kb.c vp550.c vp550.h vp570.c vp570.h vp575.c vp575.h vp585.c vp585.h vp590.c vp590.h vp595.c vp595.h vp620.c vp620.h vp700.c vp700.h wangpc_emb.c wangpc_emb.h wangpc_lic.c wangpc_lic.h wangpc_lvc.c wangpc_lvc.h wangpc_mcc.c wangpc_mcc.h wangpc_mvc.c wangpc_mvc.h wangpc_rtc.c wangpc_rtc.h wangpc_tig.c wangpc_tig.h wangpc_wdc.c wangpc_wdc.h wangpckb.c wangpckb.h x68k_neptunex.c x68k_neptunex.h x68k_scsiext.c x68k_scsiext.h z88_flash.c z88_flash.h z88_ram.c z88_ram.h z88_rom.c z88_rom.h
[src/mess/machine/ti99]bwg.c evpc.c grom.c gromport.c gromport.h handset.c hfdc.c horizon.c hsgpl.c joyport.h mapper8.c mecmouse.c memex.c myarcmem.c p_code.c peribox.c peribox.h samsmem.c spchsyn.c speech8.c ti32kmem.c ti99defs.h ti_fdc.c ti_rs232.c tn_ide.c tn_usbsm.c videowrp.c videowrp.h
[src/mess/video]apollo.c cirrus.c cirrus.h iq151_grafik.c iq151_grafik.h iq151_video32.c iq151_video32.h iq151_video64.c iq151_video64.h isa_cga.c isa_cga.h isa_ega.c isa_ega.h isa_mda.c isa_mda.h isa_svga_cirrus.c isa_svga_s3.c isa_svga_tseng.c isa_vga.c isa_vga_ati.c nubus_48gc.c nubus_48gc.h nubus_cb264.c nubus_cb264.h nubus_m2hires.c nubus_m2hires.h nubus_m2video.c nubus_m2video.h nubus_radiustpd.c nubus_radiustpd.h nubus_spec8.c nubus_spec8.h nubus_specpdq.c nubus_specpdq.h nubus_vikbw.c nubus_vikbw.h nubus_wsportrait.c nubus_wsportrait.h pds30_30hr.c pds30_30hr.h pds30_cb264.c pds30_cb264.h pds30_mc30.c pds30_mc30.h pds30_procolor816.c pds30_procolor816.h pds30_sigmalview.c pds30_sigmalview.h

trunk/src/mame/machine/k573cass.c
r22095r22096
33const device_type KONAMI573CASSETTE = &device_creator<konami573cassette_device>;
44
55konami573cassette_device::konami573cassette_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
6   psxsiodev_device(mconfig, KONAMI573CASSETTE, "KONAMI 573 CASSETTE", tag, owner, clock)
6   psxsiodev_device(mconfig, KONAMI573CASSETTE, "KONAMI 573 CASSETTE", tag, owner, clock, "konami573", __FILE__)
77{
88}
99
trunk/src/mame/machine/gdrom.c
r22095r22096
2929const device_type GDROM = &device_creator<gdrom_device>;
3030
3131gdrom_device::gdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
32   : scsihle_device(mconfig, GDROM, "GDROM", tag, owner, clock)
32   : scsihle_device(mconfig, GDROM, "GDROM", tag, owner, clock, "gdrom", __FILE__)
3333{
3434}
3535
trunk/src/mame/machine/zndip.c
r22095r22096
33const device_type ZNDIP = &device_creator<zndip_device>;
44
55zndip_device::zndip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
6   psxsiodev_device(mconfig, ZNDIP, "ZNDIP", tag, owner, clock),
6   psxsiodev_device(mconfig, ZNDIP, "ZNDIP", tag, owner, clock, "zndip", __FILE__),
77   m_data_handler(*this)
88{
99}
trunk/src/mame/machine/namco06.c
r22095r22096
290290const device_type NAMCO_06XX = &device_creator<namco_06xx_device>;
291291
292292namco_06xx_device::namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
293   : device_t(mconfig, NAMCO_06XX, "Namco 06xx", tag, owner, clock)
293   : device_t(mconfig, NAMCO_06XX, "Namco 06xx", tag, owner, clock, "namco06xx", __FILE__)
294294{
295295   m_token = global_alloc_clear(namco_06xx_state);
296296}
297297
298298//-------------------------------------------------
299//  device_config_complete - perform any
300//  operations now that the configuration is
301//  complete
302//-------------------------------------------------
303
304void namco_06xx_device::device_config_complete()
305{
306   m_shortname = "namco06xx";
307}
308
309//-------------------------------------------------
310299//  device_start - device-specific startup
311300//-------------------------------------------------
312301
trunk/src/mame/machine/mega32x.c
r22095r22096
17671767{
17681768   return ROM_NAME( 32x );
17691769}
1770
1771void sega_32x_device::device_config_complete()
1772{
1773   m_shortname = "32x";
1774}
17751770#endif
17761771
17771772
trunk/src/mame/machine/namco06.h
r22095r22096
3636   void *token() const { assert(m_token != NULL); return m_token; }
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete();
4039   virtual void device_start();
4140   virtual void device_reset();
4241private:
trunk/src/mame/machine/namco50.c
r22095r22096
294294const device_type NAMCO_50XX = &device_creator<namco_50xx_device>;
295295
296296namco_50xx_device::namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
297   : device_t(mconfig, NAMCO_50XX, "Namco 50xx", tag, owner, clock)
297   : device_t(mconfig, NAMCO_50XX, "Namco 50xx", tag, owner, clock, "namco50", __FILE__)
298298{
299299   m_token = global_alloc_clear(namco_50xx_state);
300300}
301301
302302//-------------------------------------------------
303//  device_config_complete - perform any
304//  operations now that the configuration is
305//  complete
306//-------------------------------------------------
307
308void namco_50xx_device::device_config_complete()
309{
310   m_shortname = "namco50";
311}
312
313//-------------------------------------------------
314303//  device_start - device-specific startup
315304//-------------------------------------------------
316305
trunk/src/mame/machine/namco50.h
r22095r22096
2323   void *token() const { assert(m_token != NULL); return m_token; }
2424protected:
2525   // device-level overrides
26   virtual void device_config_complete();
2726   virtual void device_start();
2827   virtual const rom_entry *device_rom_region() const;
2928   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mame/machine/mie.c
r22095r22096
8282}
8383
8484mie_device::mie_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85   : maple_device(mconfig, MIE, "MIE", tag, owner, clock)
85   : maple_device(mconfig, MIE, "MIE", tag, owner, clock, "mie", __FILE__)
8686{
87   m_shortname = "mie";
8887   memset(gpio_name, 0, sizeof(gpio_name));
8988   jvs_name = 0;
9089   cpu = 0;
trunk/src/mame/machine/deco222.c
r22095r22096
77
88
99deco_222_device::deco_222_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
10   m6502_device(mconfig, DECO_222, "DECO 222", tag, owner, clock)
10   m6502_device(mconfig, DECO_222, "DECO 222", tag, owner, clock, "deco222", __FILE__)
1111{
1212}
1313
r22095r22096
3131
3232
3333deco_c10707_device::deco_c10707_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
34   m6502_device(mconfig, DECO_C10707, "DECO C10707", tag, owner, clock)
34   m6502_device(mconfig, DECO_C10707, "DECO C10707", tag, owner, clock, "decoc10707", __FILE__)
3535{
3636}
3737
trunk/src/mame/machine/znsec.c
r22095r22096
8787const device_type ZNSEC = &device_creator<znsec_device>;
8888
8989znsec_device::znsec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
90   psxsiodev_device(mconfig, ZNSEC, "ZNSEC", tag, owner, clock)
90   psxsiodev_device(mconfig, ZNSEC, "ZNSEC", tag, owner, clock, "znsec", __FILE__)
9191{
9292}
9393
trunk/src/mame/machine/namco51.c
r22095r22096
442442const device_type NAMCO_51XX = &device_creator<namco_51xx_device>;
443443
444444namco_51xx_device::namco_51xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
445   : device_t(mconfig, NAMCO_51XX, "Namco 51xx", tag, owner, clock)
445   : device_t(mconfig, NAMCO_51XX, "Namco 51xx", tag, owner, clock, "namco51", __FILE__)
446446{
447447   m_token = global_alloc_clear(namco_51xx_state);
448448}
449449
450450//-------------------------------------------------
451//  device_config_complete - perform any
452//  operations now that the configuration is
453//  complete
454//-------------------------------------------------
455
456void namco_51xx_device::device_config_complete()
457{
458   m_shortname = "namco51";
459}
460
461//-------------------------------------------------
462451//  device_start - device-specific startup
463452//-------------------------------------------------
464453
trunk/src/mame/machine/namco51.h
r22095r22096
3030   void *token() const { assert(m_token != NULL); return m_token; }
3131protected:
3232   // device-level overrides
33   virtual void device_config_complete();
3433   virtual void device_start();
3534   virtual void device_reset();
3635   virtual const rom_entry *device_rom_region() const;
trunk/src/mame/machine/dc-ctrl.c
r22095r22096
2828}
2929
3030dc_controller_device::dc_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   maple_device(mconfig, DC_CONTROLLER, "DC_CONTROLLER", tag, owner, clock)
31   maple_device(mconfig, DC_CONTROLLER, "DC_CONTROLLER", tag, owner, clock, "dcctrl", __FILE__)
3232{
3333   memset(port_tag, 0, sizeof(port_tag));
3434
trunk/src/mame/machine/decocpu6.c
r22095r22096
77#include "decocpu6.h"
88
99deco_cpu6_device::deco_cpu6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
10   m6502_device(mconfig, DECO_CPU6, "DECO CPU-6", tag, owner, clock)
10   m6502_device(mconfig, DECO_CPU6, "DECO CPU-6", tag, owner, clock, "decocpu6", __FILE__)
1111{
1212}
1313
trunk/src/mame/machine/decocpu7.c
r22095r22096
22#include "decocpu7.h"
33
44deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
5   m6502_device(mconfig, DECO_CPU7, "DECO CPU-7", tag, owner, clock)
5   m6502_device(mconfig, DECO_CPU7, "DECO CPU-7", tag, owner, clock, "decocpu7", __FILE__)
66{
77}
88
trunk/src/mame/machine/namco53.c
r22095r22096
194194const device_type NAMCO_53XX = &device_creator<namco_53xx_device>;
195195
196196namco_53xx_device::namco_53xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
197   : device_t(mconfig, NAMCO_53XX, "Namco 53xx", tag, owner, clock)
197   : device_t(mconfig, NAMCO_53XX, "Namco 53xx", tag, owner, clock, "namco53", __FILE__)
198198{
199199   m_token = global_alloc_clear(namco_53xx_state);
200200}
201201
202202//-------------------------------------------------
203//  device_config_complete - perform any
204//  operations now that the configuration is
205//  complete
206//-------------------------------------------------
207
208void namco_53xx_device::device_config_complete()
209{
210   m_shortname = "namco53";
211}
212
213//-------------------------------------------------
214203//  device_start - device-specific startup
215204//-------------------------------------------------
216205
trunk/src/mame/machine/namco53.h
r22095r22096
3131   void *token() const { assert(m_token != NULL); return m_token; }
3232protected:
3333   // device-level overrides
34   virtual void device_config_complete();
3534   virtual void device_start();
3635   virtual const rom_entry *device_rom_region() const;
3736   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mame/machine/namco62.c
r22095r22096
8787const device_type NAMCO_62XX = &device_creator<namco_62xx_device>;
8888
8989namco_62xx_device::namco_62xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
90   : device_t(mconfig, NAMCO_62XX, "Namco 62xx", tag, owner, clock)
90   : device_t(mconfig, NAMCO_62XX, "Namco 62xx", tag, owner, clock, "namco62", __FILE__)
9191{
9292   m_token = global_alloc_clear(namco_62xx_state);
9393}
9494
9595//-------------------------------------------------
96//  device_config_complete - perform any
97//  operations now that the configuration is
98//  complete
99//-------------------------------------------------
100
101void namco_62xx_device::device_config_complete()
102{
103   m_shortname = "namco62";
104}
105
106//-------------------------------------------------
10796//  device_start - device-specific startup
10897//-------------------------------------------------
10998
trunk/src/mame/machine/namco62.h
r22095r22096
3030   void *token() const { assert(m_token != NULL); return m_token; }
3131protected:
3232   // device-level overrides
33   virtual void device_config_complete();
3433   virtual void device_start();
3534   virtual const rom_entry *device_rom_region() const;
3635   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mame/machine/mapledev.c
r22095r22096
1010}
1111
1212
13maple_device::maple_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)
13maple_device::maple_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) : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
1414{
1515   host_tag = 0;
1616   host_port = 0;
trunk/src/mame/machine/mapledev.h
r22095r22096
88class maple_device : public device_t
99{
1010public:
11   maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
11   maple_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
1313   static void static_set_host(device_t &device, const char *_host_tag, int _host_port);
1414   virtual void maple_w(const UINT32 *data, UINT32 in_size) = 0;
trunk/src/mame/drivers/chihiro.c
r22095r22096
27142714   // device-level overrides
27152715   virtual void device_start();
27162716   virtual void device_reset();
2717   virtual void device_config_complete() { m_shortname = "ide_baseboard"; }
27182717};
27192718
27202719//**************************************************************************
r22095r22096
27292728//-------------------------------------------------
27302729
27312730ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
2732   : ide_hdd_device(mconfig, IDE_BASEBOARD, "IDE Baseboard", tag, owner, clock)
2731   : ide_hdd_device(mconfig, IDE_BASEBOARD, "IDE Baseboard", tag, owner, clock, "ide_baseboard", __FILE__)
27332732{
27342733}
27352734
trunk/src/mame/audio/namco52.c
r22095r22096
226226const device_type NAMCO_52XX = &device_creator<namco_52xx_device>;
227227
228228namco_52xx_device::namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
229   : device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock)
229   : device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock, "namco52", __FILE__)
230230{
231231   m_token = global_alloc_clear(namco_52xx_state);
232232}
233233
234234//-------------------------------------------------
235//  device_config_complete - perform any
236//  operations now that the configuration is
237//  complete
238//-------------------------------------------------
239
240void namco_52xx_device::device_config_complete()
241{
242   m_shortname = "namco52";
243}
244
245//-------------------------------------------------
246235//  device_start - device-specific startup
247236//-------------------------------------------------
248237
trunk/src/mame/audio/namco52.h
r22095r22096
3434   void *token() const { assert(m_token != NULL); return m_token; }
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete();
3837   virtual void device_start();
3938   virtual const rom_entry *device_rom_region() const;
4039   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mame/audio/williams.c
r22095r22096
9999//-------------------------------------------------
100100
101101williams_cvsd_sound_device::williams_cvsd_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
102   : device_t(mconfig, WILLIAMS_CVSD_SOUND, "Williams CVSD Sound Board", "wmscvsd", tag, owner, clock),
102   : device_t(mconfig, WILLIAMS_CVSD_SOUND, "Williams CVSD Sound Board", tag, owner, clock, "wmscvsd", __FILE__),
103103      device_mixer_interface(mconfig, *this),
104104      m_cpu(*this, "cpu"),
105105      m_pia(*this, "pia"),
r22095r22096
349349//-------------------------------------------------
350350
351351williams_narc_sound_device::williams_narc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
352   : device_t(mconfig, WILLIAMS_NARC_SOUND, "Williams NARC Sound Board", "wmsnarc", tag, owner, clock),
352   : device_t(mconfig, WILLIAMS_NARC_SOUND, "Williams NARC Sound Board", tag, owner, clock, "wmsnarc", __FILE__),
353353      device_mixer_interface(mconfig, *this),
354354      m_cpu0(*this, "cpu0"),
355355      m_cpu1(*this, "cpu1"),
r22095r22096
722722//-------------------------------------------------
723723
724724williams_adpcm_sound_device::williams_adpcm_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
725   : device_t(mconfig, WILLIAMS_ADPCM_SOUND, "Williams ADPCM Sound Board", "wmsadpcm", tag, owner, clock),
725   : device_t(mconfig, WILLIAMS_ADPCM_SOUND, "Williams ADPCM Sound Board", tag, owner, clock, "wmsadpcm", __FILE__),
726726      device_mixer_interface(mconfig, *this),
727727      m_cpu(*this, "cpu"),
728728      m_latch(0),
trunk/src/mame/audio/midway.c
r22095r22096
7777//-------------------------------------------------
7878
7979midway_ssio_device::midway_ssio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80   : device_t(mconfig, MIDWAY_SSIO, "Midway SSIO Sound Board", "midssio", tag, owner, clock),
80   : device_t(mconfig, MIDWAY_SSIO, "Midway SSIO Sound Board", tag, owner, clock, "midssio", __FILE__),
8181      device_mixer_interface(mconfig, *this, 2),
8282      m_cpu(*this, "cpu"),
8383      m_ay0(*this, "ay0"),
r22095r22096
541541//-------------------------------------------------
542542
543543midway_chip_squeak_deluxe_device::midway_chip_squeak_deluxe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
544   : device_t(mconfig, MIDWAY_CHIP_SQUEAK_DELUXE, "Midway Chip Squeak Deluxe Sound Board", "midcsd", tag, owner, clock),
544   : device_t(mconfig, MIDWAY_CHIP_SQUEAK_DELUXE, "Midway Chip Squeak Deluxe Sound Board", tag, owner, clock, "midcsd", __FILE__),
545545      device_mixer_interface(mconfig, *this),
546546      m_cpu(*this, "cpu"),
547547      m_pia(*this, "pia"),
r22095r22096
756756//-------------------------------------------------
757757
758758midway_sounds_good_device::midway_sounds_good_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
759   : device_t(mconfig, MIDWAY_SOUNDS_GOOD, "Midway Sounds Good Sound Board", "midsg", tag, owner, clock),
759   : device_t(mconfig, MIDWAY_SOUNDS_GOOD, "Midway Sounds Good Sound Board", tag, owner, clock, "midsg", __FILE__),
760760      device_mixer_interface(mconfig, *this),
761761      m_cpu(*this, "cpu"),
762762      m_pia(*this, "pia"),
r22095r22096
943943//-------------------------------------------------
944944
945945midway_turbo_chip_squeak_device::midway_turbo_chip_squeak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
946   : device_t(mconfig, MIDWAY_TURBO_CHIP_SQUEAK, "Midway Turbo Chip Squeak Sound Board", "midtcs", tag, owner, clock),
946   : device_t(mconfig, MIDWAY_TURBO_CHIP_SQUEAK, "Midway Turbo Chip Squeak Sound Board", tag, owner, clock, "midtcs", __FILE__),
947947      device_mixer_interface(mconfig, *this),
948948      m_cpu(*this, "cpu"),
949949      m_pia(*this, "pia"),
r22095r22096
11231123//-------------------------------------------------
11241124
11251125midway_squawk_n_talk_device::midway_squawk_n_talk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1126   : device_t(mconfig, MIDWAY_SQUAWK_N_TALK, "Midway Squawk 'n' Talk Sound Board", "midsnt", tag, owner, clock),
1126   : device_t(mconfig, MIDWAY_SQUAWK_N_TALK, "Midway Squawk 'n' Talk Sound Board", tag, owner, clock, "midsnt", __FILE__),
11271127      device_mixer_interface(mconfig, *this),
11281128      m_cpu(*this, "cpu"),
11291129      m_pia0(*this, "pia0"),
trunk/src/mame/audio/namco54.c
r22095r22096
182182const device_type NAMCO_54XX = &device_creator<namco_54xx_device>;
183183
184184namco_54xx_device::namco_54xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
185   : device_t(mconfig, NAMCO_54XX, "Namco 54xx", tag, owner, clock)
185   : device_t(mconfig, NAMCO_54XX, "Namco 54xx", tag, owner, clock, "namco54", __FILE__)
186186{
187187   m_token = global_alloc_clear(namco_54xx_state);
188188}
189189
190190//-------------------------------------------------
191//  device_config_complete - perform any
192//  operations now that the configuration is
193//  complete
194//-------------------------------------------------
195
196void namco_54xx_device::device_config_complete()
197{
198   m_shortname = "namco54";
199}
200
201//-------------------------------------------------
202191//  device_start - device-specific startup
203192//-------------------------------------------------
204193
trunk/src/mame/audio/namco54.h
r22095r22096
3030   void *token() const { assert(m_token != NULL); return m_token; }
3131protected:
3232   // device-level overrides
33   virtual void device_config_complete();
3433   virtual void device_start();
3534   virtual const rom_entry *device_rom_region() const;
3635   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mame/audio/gottlieb.c
r22095r22096
337337//-------------------------------------------------
338338
339339gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
340   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
340   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
341341      device_mixer_interface(mconfig, *this),
342342      m_audiocpu(*this, "audiocpu"),
343343      m_riot(*this, "riot"),
r22095r22096
355355}
356356
357357gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax)
358   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
358   : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
359359      device_mixer_interface(mconfig, *this),
360360      m_audiocpu(*this, "audiocpu"),
361361      m_riot(*this, "riot"),
r22095r22096
636636//-------------------------------------------------
637637
638638gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
639   : device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", "gotsndr2", tag, owner, clock),
639   : device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", tag, owner, clock, "gotsndr2", __FILE__),
640640      device_mixer_interface(mconfig, *this),
641641      m_audiocpu(*this, "audiocpu"),
642642      m_speechcpu(*this, "speechcpu"),
trunk/src/emu/machine/ldstub.h
r22095r22096
7979public:
8080   // construction/destruction
8181   sony_ldp1450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
82      : laserdisc_device(mconfig, SONY_LDP1450, "Sony LDP-1450", "ldp1450", tag, owner, clock) { }
82      : laserdisc_device(mconfig, SONY_LDP1450, "Sony LDP-1450", tag, owner, clock, "ldp1450", __FILE__) { }
8383
8484   // input/output
8585   UINT8 data_available_r() { return CLEAR_LINE; }
r22095r22096
101101public:
102102   // construction/destruction
103103   pioneer_pr7820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
104      : laserdisc_device(mconfig, PIONEER_PR7820, "Pioneer PR-7820", "pr7820", tag, owner, clock) { }
104      : laserdisc_device(mconfig, PIONEER_PR7820, "Pioneer PR-7820", tag, owner, clock, "pr7820", __FILE__) { }
105105
106106   // input/output
107107   UINT8 data_available_r() { return CLEAR_LINE; }
r22095r22096
125125public:
126126   // construction/destruction
127127   phillips_22vp932_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
128      : laserdisc_device(mconfig, PHILLIPS_22VP932, "Phillips 22VP932", "22vp932", tag, owner, clock) { }
128      : laserdisc_device(mconfig, PHILLIPS_22VP932, "Phillips 22VP932", tag, owner, clock, "22vp932", __FILE__) { }
129129
130130   // input/output
131131   UINT8 data_r() { return 0; }
trunk/src/emu/machine/ldpr8210.c
r22095r22096
209209//-------------------------------------------------
210210
211211pioneer_pr8210_device::pioneer_pr8210_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
212   : laserdisc_device(mconfig, PIONEER_PR8210, "Pioneer PR-8210", "pr8210", tag, owner, clock),
212   : laserdisc_device(mconfig, PIONEER_PR8210, "Pioneer PR-8210", tag, owner, clock, "pr8210", __FILE__),
213213      m_control(0),
214214      m_lastcommand(0),
215215      m_accumulator(0),
r22095r22096
224224{
225225}
226226
227pioneer_pr8210_device::pioneer_pr8210_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
228   : laserdisc_device(mconfig, type, name, shortname, tag, owner, clock),
227pioneer_pr8210_device::pioneer_pr8210_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)
228   : laserdisc_device(mconfig, type, name, tag, owner, clock, shortname, source),
229229      m_control(0),
230230      m_lastcommand(0),
231231      m_accumulator(0),
r22095r22096
919919//-------------------------------------------------
920920
921921simutrek_special_device::simutrek_special_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
922   : pioneer_pr8210_device(mconfig, SIMUTREK_SPECIAL, "Simutrek Modified PR-8210", "simutrek", tag, owner, clock),
922   : pioneer_pr8210_device(mconfig, SIMUTREK_SPECIAL, "Simutrek Modified PR-8210", tag, owner, clock, "simutrek", __FILE__),
923923      m_i8748_cpu(*this, "simutrek"),
924924      m_audio_squelch(0),
925925      m_data(0),
trunk/src/emu/machine/ldpr8210.h
r22095r22096
9494public:
9595   // construction/destruction
9696   pioneer_pr8210_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
97   pioneer_pr8210_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
97   pioneer_pr8210_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);
9898
9999   // input and output
100100   void control_w(UINT8 data);
trunk/src/emu/machine/nscsi_hd.c
r22095r22096
44const device_type NSCSI_HARDDISK = &device_creator<nscsi_harddisk_device>;
55
66nscsi_harddisk_device::nscsi_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
7   nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock)
7   nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock, "scsi_harddisk", __FILE__)
88{
99}
1010
trunk/src/emu/machine/nscsi_hd.h
r22095r22096
1515protected:
1616   virtual void device_start();
1717   virtual void device_reset();
18   virtual void device_config_complete() { m_shortname = "scsi_harddisk"; }
1918
2019   virtual void scsi_command();
2120   virtual UINT8 scsi_get_data(int id, int pos);
trunk/src/emu/machine/nscsi_cd.c
r22095r22096
44const device_type NSCSI_CDROM = &device_creator<nscsi_cdrom_device>;
55
66nscsi_cdrom_device::nscsi_cdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
7   nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock)
7   nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock, "scsi_cdrom", __FILE__)
88{
99}
1010
trunk/src/emu/machine/nscsi_cd.h
r22095r22096
1515protected:
1616   virtual void device_start();
1717   virtual void device_reset();
18   virtual void device_config_complete() { m_shortname = "scsi_cdrom"; }
1918
2019   virtual void scsi_command();
2120   virtual UINT8 scsi_get_data(int id, int pos);
trunk/src/emu/machine/53c7xx.c
r22095r22096
5757//-------------------------------------------------
5858
5959ncr53c7xx_device::ncr53c7xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60   :   nscsi_device(mconfig, NCR53C7XX, "53C7xx SCSI", tag, owner, clock),
60   :   nscsi_device(mconfig, NCR53C7XX, "53C7xx SCSI", tag, owner, clock, "ncr537xx", __FILE__),
6161      device_execute_interface(mconfig, *this),
6262      m_icount(0)
6363{
r22095r22096
188188   else
189189   {
190190      memset(&m_out_irq_cb, 0, sizeof(m_out_irq_cb));
191   }
192
193   m_shortname = "ncr537xx";
191   }   
194192}
195193
196194
trunk/src/emu/machine/scsidev.c
r22095r22096
1111
1212#define LOG ( 0 )
1313
14scsidev_device::scsidev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
15   device_t(mconfig, type, name, tag, owner, clock)
14scsidev_device::scsidev_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) :
15   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
1616{
1717}
1818
trunk/src/emu/machine/scsidev.h
r22095r22096
3434
3535public:
3636   // construction/destruction
37   scsidev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
37   scsidev_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);
3838
3939protected:
4040   // device-level overrides
trunk/src/emu/machine/scsicb.c
r22095r22096
2727}
2828
2929scsicb_device::scsicb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30   : scsidev_device(mconfig, SCSICB, "SCSI callback", tag, owner, clock),
30   : scsidev_device(mconfig, SCSICB, "SCSI callback", tag, owner, clock, "scsicb", __FILE__),
3131   m_bsy_handler(*this),
3232   m_sel_handler(*this),
3333   m_cd_handler(*this),
trunk/src/emu/machine/cr589.c
r22095r22096
1010const device_type CR589 = &device_creator<cr589_device>;
1111
1212cr589_device::cr589_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
13   : scsicd_device(mconfig, CR589, "CR589", tag, owner, clock)
13   : scsicd_device(mconfig, CR589, "CR589", tag, owner, clock, "cr589", __FILE__)
1414{
1515}
1616
trunk/src/emu/machine/n68681.c
r22095r22096
6363//**************************************************************************
6464
6565duartn68681_device::duartn68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
66   : device_t(mconfig, DUARTN68681, "DUART 68681 (new)", tag, owner, clock),
66   : device_t(mconfig, DUARTN68681, "DUART 68681 (new)", tag, owner, clock, "dun68681", __FILE__),
6767   m_chanA(*this, CHANA_TAG),
6868   m_chanB(*this, CHANB_TAG)
6969{
r22095r22096
120120
121121void duartn68681_device::device_config_complete()
122122{
123   m_shortname = "dun68681";
124
125123   // inherit a copy of the static data
126124   const duartn68681_config *intf = reinterpret_cast<const duartn68681_config *>(static_config());
127125   if (intf != NULL)
trunk/src/emu/machine/scsihle.c
r22095r22096
88
99#include "machine/scsihle.h"
1010
11scsihle_device::scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
12   scsidev_device(mconfig, type, name, tag, owner, clock)
11scsihle_device::scsihle_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) :
12   scsidev_device(mconfig, type, name, tag, owner, clock, shortname, source)
1313{
1414}
1515
trunk/src/emu/machine/scsihle.h
r22095r22096
1616{
1717public:
1818   // construction/destruction
19   scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
19   scsihle_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);
2020
2121   virtual void SetDevice( void *device ) = 0;
2222   virtual void GetDevice( void **device ) = 0;
trunk/src/emu/machine/ldvp931.c
r22095r22096
116116//-------------------------------------------------
117117
118118phillips_22vp931_device::phillips_22vp931_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
119   : laserdisc_device(mconfig, PHILLIPS_22VP931, "Phillips 22VP931", "22vp931", tag, owner, clock),
119   : laserdisc_device(mconfig, PHILLIPS_22VP931, "Phillips 22VP931", tag, owner, clock, "22vp931", __FILE__),
120120      m_i8049_cpu(*this, "vp931"),
121121      m_tracktimer(NULL),
122122      m_i8049_out0(0),
trunk/src/emu/machine/ctronics.c
r22095r22096
138138//-------------------------------------------------
139139
140140centronics_printer_device::centronics_printer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
141   : device_t(mconfig, CENTRONICS_PRINTER, "Centronics Printer", tag, owner, clock),
141   : device_t(mconfig, CENTRONICS_PRINTER, "Centronics Printer", tag, owner, clock, "centronics_printer", __FILE__),
142142      device_centronics_peripheral_interface( mconfig, *this )
143143{
144144}
trunk/src/emu/machine/ctronics.h
r22095r22096
134134   // device-level overrides
135135   virtual void device_start();
136136   virtual void device_reset();
137   virtual void device_config_complete() { m_shortname = "centronics_printer"; }
138137private:
139138   printer_image_device *m_printer;
140139   centronics_device *m_owner;
trunk/src/emu/machine/scsihd.c
r22095r22096
1414const device_type SCSIHD = &device_creator<scsihd_device>;
1515
1616scsihd_device::scsihd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
17   : scsihle_device(mconfig, SCSIHD, "SCSIHD", tag, owner, clock)
17   : scsihle_device(mconfig, SCSIHD, "SCSIHD", tag, owner, clock, "scsihd", __FILE__)
1818{
1919}
2020
21scsihd_device::scsihd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
22   scsihle_device(mconfig, type, name, tag, owner, clock)
21scsihd_device::scsihd_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   scsihle_device(mconfig, type, name, tag, owner, clock, shortname, source)
2323{
2424}
2525
trunk/src/emu/machine/scsihd.h
r22095r22096
1515public:
1616   // construction/destruction
1717   scsihd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
18   scsihd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
18   scsihd_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);
1919   virtual machine_config_constructor device_mconfig_additions() const;
2020
2121   virtual void SetDevice( void *device );
trunk/src/emu/machine/upd765.c
r22095r22096
8989
9090int upd765_family_device::rates[4] = { 500000, 300000, 250000, 1000000 };
9191
92upd765_family_device::upd765_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_interface(mconfig, type, name, tag, owner, clock)
92upd765_family_device::upd765_family_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) : pc_fdc_interface(mconfig, type, name, tag, owner, clock, shortname, source)
9393{
9494   ready_polled = true;
9595   ready_connected = true;
r22095r22096
21992199}
22002200
22012201
2202upd765a_device::upd765a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765A, "UPD765A", tag, owner, clock)
2202upd765a_device::upd765a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765A, "UPD765A", tag, owner, clock, "upd765a", __FILE__)
22032203{
2204   m_shortname = "upd765a";
22052204   dor_reset = 0x0c;
22062205}
22072206
2208upd765b_device::upd765b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765B, "UPD765B", tag, owner, clock)
2207upd765b_device::upd765b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765B, "UPD765B", tag, owner, clock, "upd765b", __FILE__)
22092208{
2210   m_shortname = "upd765b";
22112209   dor_reset = 0x0c;
22122210}
22132211
2214i8272a_device::i8272a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, I8272A, "I8272A", tag, owner, clock)
2212i8272a_device::i8272a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, I8272A, "I8272A", tag, owner, clock, "i8272a", __FILE__)
22152213{
2216   m_shortname = "i8272a";
22172214   dor_reset = 0x0c;
22182215}
22192216
2220upd72065_device::upd72065_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD72065, "UPD72065", tag, owner, clock)
2217upd72065_device::upd72065_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD72065, "UPD72065", tag, owner, clock, "upd72065", __FILE__)
22212218{
2222   m_shortname = "upd72065";
22232219   dor_reset = 0x0c;
22242220}
22252221
2226smc37c78_device::smc37c78_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, SMC37C78, "SMC37C78", tag, owner, clock)
2222smc37c78_device::smc37c78_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, SMC37C78, "SMC37C78", tag, owner, clock, "smc37c78", __FILE__)
22272223{
2228   m_shortname = "smc37c78";
22292224   ready_connected = false;
22302225   select_connected = true;
22312226}
22322227
2233n82077aa_device::n82077aa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, N82077AA, "N82077AA", tag, owner, clock)
2228n82077aa_device::n82077aa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, N82077AA, "N82077AA", tag, owner, clock, "n82077aa", __FILE__)
22342229{
2235   m_shortname = "n82077aa";
22362230   ready_connected = false;
22372231   select_connected = true;
22382232}
22392233
2240pc_fdc_superio_device::pc_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
2234pc_fdc_superio_device::pc_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "pc_fdc_superio", __FILE__)
22412235{
2242   m_shortname = "pc_fdc_superio";
22432236   ready_polled = false;
22442237   ready_connected = false;
22452238   select_connected = true;
22462239}
22472240
2248dp8473_device::dp8473_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
2241dp8473_device::dp8473_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "dp8473", __FILE__)
22492242{
2250   m_shortname = "dp8473";
22512243   ready_polled = false;
22522244   ready_connected = false;
22532245   select_connected = true;
22542246}
22552247
2256pc8477a_device::pc8477a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
2248pc8477a_device::pc8477a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "pc8477a", __FILE__)
22572249{
2258   m_shortname = "pc8477a";
22592250   ready_polled = true;
22602251   ready_connected = false;
22612252   select_connected = true;
22622253}
22632254
2264wd37c65c_device::wd37c65c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
2255wd37c65c_device::wd37c65c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "wd37c65c", __FILE__)
22652256{
2266   m_shortname = "wd37c65c";
22672257   ready_polled = true;
22682258   ready_connected = false;
22692259   select_connected = true;
trunk/src/emu/machine/upd765.h
r22095r22096
5656   typedef delegate<UINT8 ()> byte_read_cb;
5757   typedef delegate<void (UINT8)> byte_write_cb;
5858
59   pc_fdc_interface(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) {}
59   pc_fdc_interface(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) {}
6060
6161   virtual void setup_intrq_cb(line_cb cb) = 0;
6262   virtual void setup_drq_cb(line_cb cb) = 0;
r22095r22096
7979public:
8080   enum { MODE_AT, MODE_PS2, MODE_M30 };
8181
82   upd765_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
82   upd765_family_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);
8383
8484   void setup_intrq_cb(line_cb cb);
8585   void setup_drq_cb(line_cb cb);
trunk/src/emu/machine/scsicd.c
r22095r22096
2323const device_type SCSICD = &device_creator<scsicd_device>;
2424
2525scsicd_device::scsicd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : scsihle_device(mconfig, SCSICD, "SCSICD", tag, owner, clock)
26   : scsihle_device(mconfig, SCSICD, "SCSICD", tag, owner, clock, "scsicd", __FILE__)
2727{
2828}
2929
30scsicd_device::scsicd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
31   scsihle_device(mconfig, type, name, tag, owner, clock)
30scsicd_device::scsicd_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) :
31   scsihle_device(mconfig, type, name, tag, owner, clock, shortname, source)
3232{
3333}
3434
trunk/src/emu/machine/scsicd.h
r22095r22096
1515public:
1616   // construction/destruction
1717   scsicd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
18   scsicd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
18   scsicd_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);
1919   virtual machine_config_constructor device_mconfig_additions() const;
2020
2121   virtual void SetDevice( void *device );
trunk/src/emu/machine/ldv1000.c
r22095r22096
170170//-------------------------------------------------
171171
172172pioneer_ldv1000_device::pioneer_ldv1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
173   : laserdisc_device(mconfig, PIONEER_LDV1000, "Pioneer LD-V1000", "ldv1000", tag, owner, clock),
173   : laserdisc_device(mconfig, PIONEER_LDV1000, "Pioneer LD-V1000", tag, owner, clock, "ldv1000", __FILE__),
174174      m_z80_cpu(*this, "ldv1000"),
175175      m_z80_ctc(*this, "ldvctc"),
176176      m_multitimer(NULL),
trunk/src/emu/machine/laserdsc.c
r22095r22096
8686//  laserdisc_device - constructor
8787//-------------------------------------------------
8888
89laserdisc_device::laserdisc_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
90   : device_t(mconfig, type, name, shortname, tag, owner, clock),
89laserdisc_device::laserdisc_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)
90   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
9191      device_sound_interface(mconfig, *this),
9292      m_screen_name(NULL),
9393      m_overwidth(0),
trunk/src/emu/machine/laserdsc.h
r22095r22096
162162{
163163protected:
164164   // construction/destruction
165   laserdisc_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
165   laserdisc_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);
166166   virtual ~laserdisc_device();
167167
168168public:
trunk/src/emu/machine/idectrl.c
r22095r22096
19261926//-------------------------------------------------
19271927
19281928ide_hdd_device::ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1929   : device_t(mconfig, IDE_HARDDISK, "IDE Hard Disk", tag, owner, clock),
1929   : device_t(mconfig, IDE_HARDDISK, "IDE Hard Disk", tag, owner, clock, "hdd", __FILE__),
19301930      ide_device_interface( mconfig, *this )
19311931{
19321932}
19331933
1934ide_hdd_device::ide_hdd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
1935      device_t(mconfig, type, name, tag, owner, clock),
1934ide_hdd_device::ide_hdd_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) :
1935      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
19361936      ide_device_interface(mconfig, *this)
19371937{
19381938}
r22095r22096
19941994//-------------------------------------------------
19951995
19961996ide_hdd_image_device::ide_hdd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1997   : ide_hdd_device(mconfig, IDE_HARDDISK_IMAGE, "IDE Hard Disk Image", tag, owner, clock)
1997   : ide_hdd_device(mconfig, IDE_HARDDISK_IMAGE, "IDE Hard Disk Image", tag, owner, clock, "hdd_image", __FILE__)
19981998{
19991999}
20002000
trunk/src/emu/machine/nscsi_bus.c
r22095r22096
142142   return dynamic_cast<nscsi_device *>(get_card_device());
143143}
144144
145nscsi_device::nscsi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
146   device_t(mconfig, type, name, tag, owner, clock),
145nscsi_device::nscsi_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) :
146   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
147147   device_slot_card_interface(mconfig, *this)
148148{
149149   scsi_id = scsi_refid = -1;
r22095r22096
161161{
162162}
163163
164nscsi_full_device::nscsi_full_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
165   nscsi_device(mconfig, type, name, tag, owner, clock)
164nscsi_full_device::nscsi_full_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) :
165   nscsi_device(mconfig, type, name, tag, owner, clock, shortname, source)
166166{
167167}
168168
trunk/src/emu/machine/idectrl.h
r22095r22096
8888public:
8989   // construction/destruction
9090   ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
91   ide_hdd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
91   ide_hdd_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);
9292
9393   virtual int  read_sector(UINT32 lba, void *buffer) { return hard_disk_read(m_disk, lba, buffer); }
9494   virtual int  write_sector(UINT32 lba, const void *buffer) { return hard_disk_write(m_disk, lba, buffer); }
r22095r22096
9797   // device-level overrides
9898   virtual void device_start();
9999   virtual void device_reset();
100   virtual void device_config_complete() { m_shortname = "hdd"; }
101100
102101   void ide_build_features();
103102   virtual bool is_ready() { return (m_disk != NULL); }
r22095r22096
119118   // device-level overrides
120119   virtual void device_start();
121120   virtual void device_reset();
122   virtual void device_config_complete() { m_shortname = "hdd_image"; }
123121   // optional information overrides
124122   virtual machine_config_constructor device_mconfig_additions() const;
125123};
trunk/src/emu/machine/nscsi_bus.h
r22095r22096
8484      S_PHASE_MASK     = S_MSG|S_CTL|S_INP,
8585   };
8686
87   nscsi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
87   nscsi_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
8989   void connect_to_bus(nscsi_bus_device *bus, int refid, int default_scsi_id);
9090   virtual void scsi_ctrl_changed();
r22095r22096
9797class nscsi_full_device : public nscsi_device
9898{
9999public:
100   nscsi_full_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
100   nscsi_full_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);
101101
102102   virtual void scsi_ctrl_changed();
103103protected:
trunk/src/emu/imagedev/snapquik.c
r22095r22096
2424{
2525}
2626
27snapshot_image_device::snapshot_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
28      device_t(mconfig, type, name, tag, owner, clock),
27snapshot_image_device::snapshot_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) :
28      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2929      device_image_interface(mconfig, *this),
3030      m_interface(NULL),
3131      m_delay_attoseconds(0)
r22095r22096
9797//-------------------------------------------------
9898
9999quickload_image_device::quickload_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
100   : snapshot_image_device(mconfig, QUICKLOAD, "Quickload", tag, owner, clock)
100   : snapshot_image_device(mconfig, QUICKLOAD, "Quickload", tag, owner, clock, "quickload", __FILE__)
101101{
102102}
trunk/src/emu/imagedev/snapquik.h
r22095r22096
1818public:
1919   // construction/destruction
2020   snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
21   snapshot_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21   snapshot_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);
2222   virtual ~snapshot_image_device();
2323
2424   // image-level overrides
trunk/src/emu/imagedev/chd_cd.c
r22095r22096
3030{
3131}
3232
33cdrom_image_device::cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
33cdrom_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)
3434   : device_t(mconfig, type, name,  tag, owner, clock),
3535      device_image_interface(mconfig, *this)
3636{
trunk/src/emu/imagedev/floppy.c
r22095r22096
7777//  floppy_image_device - constructor
7878//-------------------------------------------------
7979
80floppy_image_device::floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
81   : device_t(mconfig, type, name, tag, owner, clock),
80floppy_image_device::floppy_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)
81   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
8282      device_image_interface(mconfig, *this),
8383      device_slot_card_interface(mconfig, *this),
8484      image(NULL)
r22095r22096
895895}
896896
897897floppy_3_ssdd::floppy_3_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
898   floppy_image_device(mconfig, FLOPPY_3_SSDD, "3\" single sided floppy drive", tag, owner, clock)
898   floppy_image_device(mconfig, FLOPPY_3_SSDD, "3\" single sided floppy drive", tag, owner, clock, "floppy_3_ssdd", __FILE__)
899899{
900900}
901901
r22095r22096
918918}
919919
920920floppy_3_dsdd::floppy_3_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
921   floppy_image_device(mconfig, FLOPPY_3_DSDD, "3\" double sided floppy drive", tag, owner, clock)
921   floppy_image_device(mconfig, FLOPPY_3_DSDD, "3\" double sided floppy drive", tag, owner, clock, "floppy_3_dsdd", __FILE__)
922922{
923923}
924924
r22095r22096
942942}
943943
944944floppy_35_dd::floppy_35_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
945   floppy_image_device(mconfig, FLOPPY_35_DD, "3.5\" double density floppy drive", tag, owner, clock)
945   floppy_image_device(mconfig, FLOPPY_35_DD, "3.5\" double density floppy drive", tag, owner, clock, "floppy_35_dd", __FILE__)
946946{
947947}
948948
r22095r22096
967967}
968968
969969floppy_35_dd_nosd::floppy_35_dd_nosd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
970   floppy_image_device(mconfig, FLOPPY_35_DD_NOSD, "3.5\" double density floppy drive", tag, owner, clock)
970   floppy_image_device(mconfig, FLOPPY_35_DD_NOSD, "3.5\" double density floppy drive", tag, owner, clock, "floppy_35_dd_nosd", __FILE__)
971971{
972972}
973973
r22095r22096
991991}
992992
993993floppy_35_hd::floppy_35_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
994   floppy_image_device(mconfig, FLOPPY_35_HD, "3.5\" high density floppy drive", tag, owner, clock)
994   floppy_image_device(mconfig, FLOPPY_35_HD, "3.5\" high density floppy drive", tag, owner, clock, "floppy_35_hd", __FILE__)
995995{
996996}
997997
r22095r22096
10171017}
10181018
10191019floppy_35_ed::floppy_35_ed(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1020   floppy_image_device(mconfig, FLOPPY_35_ED, "3.5\" extended density floppy drive", tag, owner, clock)
1020   floppy_image_device(mconfig, FLOPPY_35_ED, "3.5\" extended density floppy drive", tag, owner, clock, "floppy_35_ed", __FILE__)
10211021{
10221022}
10231023
r22095r22096
10441044}
10451045
10461046floppy_525_sssd_35t::floppy_525_sssd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1047   floppy_image_device(mconfig, FLOPPY_525_SSSD_35T, "5.25\" single-sided single density 35-track floppy drive", tag, owner, clock)
1047   floppy_image_device(mconfig, FLOPPY_525_SSSD_35T, "5.25\" single-sided single density 35-track floppy drive", tag, owner, clock, "floppy_525_sssd_35t", __FILE__)
10481048{
10491049}
10501050
r22095r22096
10671067}
10681068
10691069floppy_525_sd_35t::floppy_525_sd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1070   floppy_image_device(mconfig, FLOPPY_525_SD_35T, "5.25\" single density 35-track floppy drive", tag, owner, clock)
1070   floppy_image_device(mconfig, FLOPPY_525_SD_35T, "5.25\" single density 35-track floppy drive", tag, owner, clock, "floppy_525_sd_35t", __FILE__)
10711071{
10721072}
10731073
r22095r22096
10901090}
10911091
10921092floppy_525_sssd::floppy_525_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1093   floppy_image_device(mconfig, FLOPPY_525_SSSD, "5.25\" single-sided single density floppy drive", tag, owner, clock)
1093   floppy_image_device(mconfig, FLOPPY_525_SSSD, "5.25\" single-sided single density floppy drive", tag, owner, clock, "floppy_525_sssd", __FILE__)
10941094{
10951095}
10961096
r22095r22096
11131113}
11141114
11151115floppy_525_sd::floppy_525_sd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1116   floppy_image_device(mconfig, FLOPPY_525_SD, "5.25\" single density floppy drive", tag, owner, clock)
1116   floppy_image_device(mconfig, FLOPPY_525_SD, "5.25\" single density floppy drive", tag, owner, clock, "floppy_525_sd", __FILE__)
11171117{
11181118}
11191119
r22095r22096
11361136}
11371137
11381138floppy_525_ssdd::floppy_525_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1139   floppy_image_device(mconfig, FLOPPY_525_SSDD, "5.25\" single-sided double density floppy drive", tag, owner, clock)
1139   floppy_image_device(mconfig, FLOPPY_525_SSDD, "5.25\" single-sided double density floppy drive", tag, owner, clock, "floppy_525_ssdd", __FILE__)
11401140{
11411141}
11421142
r22095r22096
11601160}
11611161
11621162floppy_525_dd::floppy_525_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1163   floppy_image_device(mconfig, FLOPPY_525_DD, "5.25\" double density floppy drive", tag, owner, clock)
1163   floppy_image_device(mconfig, FLOPPY_525_DD, "5.25\" double density floppy drive", tag, owner, clock, "floppy_525_dd", __FILE__)
11641164{
11651165}
11661166
r22095r22096
11851185}
11861186
11871187floppy_525_qd::floppy_525_qd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1188   floppy_image_device(mconfig, FLOPPY_525_QD, "5.25\" quad density floppy drive", tag, owner, clock)
1188   floppy_image_device(mconfig, FLOPPY_525_QD, "5.25\" quad density floppy drive", tag, owner, clock, "floppy_525_qd", __FILE__)
11891189{
11901190}
11911191
r22095r22096
12121212}
12131213
12141214floppy_525_hd::floppy_525_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1215   floppy_image_device(mconfig, FLOPPY_525_HD, "5.25\" high density floppy drive", tag, owner, clock)
1215   floppy_image_device(mconfig, FLOPPY_525_HD, "5.25\" high density floppy drive", tag, owner, clock, "floppy_525_hd", __FILE__)
12161216{
12171217}
12181218
r22095r22096
12401240}
12411241
12421242floppy_8_sssd::floppy_8_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1243   floppy_image_device(mconfig, FLOPPY_8_SSSD, "8\" single density single sided floppy drive", tag, owner, clock)
1243   floppy_image_device(mconfig, FLOPPY_8_SSSD, "8\" single density single sided floppy drive", tag, owner, clock, "floppy_8_sssd", __FILE__)
12441244{
12451245}
12461246
r22095r22096
12641264}
12651265
12661266floppy_8_dssd::floppy_8_dssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1267   floppy_image_device(mconfig, FLOPPY_8_DSSD, "8\" single density double sided floppy drive", tag, owner, clock)
1267   floppy_image_device(mconfig, FLOPPY_8_DSSD, "8\" single density double sided floppy drive", tag, owner, clock, "floppy_8_dssd", __FILE__)
12681268{
12691269}
12701270
r22095r22096
12891289}
12901290
12911291floppy_8_ssdd::floppy_8_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1292   floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density single sided floppy drive", tag, owner, clock)
1292   floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density single sided floppy drive", tag, owner, clock, "floppy_8_ssdd", __FILE__)
12931293{
12941294}
12951295
r22095r22096
13141314}
13151315
13161316floppy_8_dsdd::floppy_8_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1317   floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density double sided floppy drive", tag, owner, clock)
1317   floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density double sided floppy drive", tag, owner, clock, "floppy_8_dsdd", __FILE__)
13181318{
13191319}
13201320
trunk/src/emu/imagedev/chd_cd.h
r22095r22096
3131public:
3232   // construction/destruction
3333   cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
34   cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
34   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);
3535   virtual ~cdrom_image_device();
3636
3737   // image-level overrides
trunk/src/emu/imagedev/flopdrv.c
r22095r22096
855855   m_token = global_alloc_clear(floppy_drive);
856856}
857857
858legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
859   : device_t(mconfig, type, name, tag, owner, clock),
858legacy_floppy_image_device::legacy_floppy_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)
859   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
860860      device_image_interface(mconfig, *this),
861861      m_token(NULL)
862862{
trunk/src/emu/imagedev/floppy.h
r22095r22096
5252   typedef delegate<void (floppy_image_device *, int)> wpt_cb;
5353
5454   // construction/destruction
55   floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
55   floppy_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);
5656   virtual ~floppy_image_device();
5757
5858   virtual void handled_variants(UINT32 *variants, int &var_count) const = 0;
r22095r22096
201201   floppy_3_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
202202   virtual ~floppy_3_ssdd();
203203   virtual void handled_variants(UINT32 *variants, int &var_count) const;
204   virtual void device_config_complete() { m_shortname = "floppy_3_ssdd"; }
205204   virtual const char *image_interface() const { return "floppy_3"; }
206205protected:
207206   virtual void setup_characteristics();
r22095r22096
212211   floppy_3_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
213212   virtual ~floppy_3_dsdd();
214213   virtual void handled_variants(UINT32 *variants, int &var_count) const;
215   virtual void device_config_complete() { m_shortname = "floppy_3_dsdd"; }
216214   virtual const char *image_interface() const { return "floppy_3"; }
217215protected:
218216   virtual void setup_characteristics();
r22095r22096
223221   floppy_35_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
224222   virtual ~floppy_35_dd();
225223   virtual void handled_variants(UINT32 *variants, int &var_count) const;
226   virtual void device_config_complete() { m_shortname = "floppy_35_dd"; }
227224   virtual const char *image_interface() const { return "floppy_3_5"; }
228225protected:
229226   virtual void setup_characteristics();
r22095r22096
234231   floppy_35_dd_nosd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
235232   virtual ~floppy_35_dd_nosd();
236233   virtual void handled_variants(UINT32 *variants, int &var_count) const;
237   virtual void device_config_complete() { m_shortname = "floppy_35_dd_nosd"; }
238234   virtual const char *image_interface() const { return "floppy_3_5"; }
239235protected:
240236   virtual void setup_characteristics();
r22095r22096
245241   floppy_35_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
246242   virtual ~floppy_35_hd();
247243   virtual void handled_variants(UINT32 *variants, int &var_count) const;
248   virtual void device_config_complete() { m_shortname = "floppy_35_hd"; }
249244   virtual const char *image_interface() const { return "floppy_3_5"; }
250245protected:
251246   virtual void setup_characteristics();
r22095r22096
256251   floppy_35_ed(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
257252   virtual ~floppy_35_ed();
258253   virtual void handled_variants(UINT32 *variants, int &var_count) const;
259   virtual void device_config_complete() { m_shortname = "floppy_35_ed"; }
260254   virtual const char *image_interface() const { return "floppy_3_5"; }
261255protected:
262256   virtual void setup_characteristics();
r22095r22096
267261   floppy_525_sssd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
268262   virtual ~floppy_525_sssd_35t();
269263   virtual void handled_variants(UINT32 *variants, int &var_count) const;
270   virtual void device_config_complete() { m_shortname = "floppy_525_sssd_35t"; }
271264   virtual const char *image_interface() const { return "floppy_5_25"; }
272265protected:
273266   virtual void setup_characteristics();
r22095r22096
278271   floppy_525_sd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
279272   virtual ~floppy_525_sd_35t();
280273   virtual void handled_variants(UINT32 *variants, int &var_count) const;
281   virtual void device_config_complete() { m_shortname = "floppy_525_sd_35t"; }
282274   virtual const char *image_interface() const { return "floppy_5_25"; }
283275protected:
284276   virtual void setup_characteristics();
r22095r22096
289281   floppy_525_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
290282   virtual ~floppy_525_sssd();
291283   virtual void handled_variants(UINT32 *variants, int &var_count) const;
292   virtual void device_config_complete() { m_shortname = "floppy_525_sssd"; }
293284   virtual const char *image_interface() const { return "floppy_5_25"; }
294285protected:
295286   virtual void setup_characteristics();
r22095r22096
300291   floppy_525_sd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
301292   virtual ~floppy_525_sd();
302293   virtual void handled_variants(UINT32 *variants, int &var_count) const;
303   virtual void device_config_complete() { m_shortname = "floppy_525_sd"; }
304294   virtual const char *image_interface() const { return "floppy_5_25"; }
305295protected:
306296   virtual void setup_characteristics();
r22095r22096
311301   floppy_525_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
312302   virtual ~floppy_525_ssdd();
313303   virtual void handled_variants(UINT32 *variants, int &var_count) const;
314   virtual void device_config_complete() { m_shortname = "floppy_525_ssdd"; }
315304   virtual const char *image_interface() const { return "floppy_5_25"; }
316305protected:
317306   virtual void setup_characteristics();
r22095r22096
322311   floppy_525_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
323312   virtual ~floppy_525_dd();
324313   virtual void handled_variants(UINT32 *variants, int &var_count) const;
325   virtual void device_config_complete() { m_shortname = "floppy_525_dd"; }
326314   virtual const char *image_interface() const { return "floppy_5_25"; }
327315protected:
328316   virtual void setup_characteristics();
r22095r22096
333321   floppy_525_qd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
334322   virtual ~floppy_525_qd();
335323   virtual void handled_variants(UINT32 *variants, int &var_count) const;
336   virtual void device_config_complete() { m_shortname = "floppy_525_qd"; }
337324   virtual const char *image_interface() const { return "floppy_5_25"; }
338325protected:
339326   virtual void setup_characteristics();
r22095r22096
344331   floppy_525_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
345332   virtual ~floppy_525_hd();
346333   virtual void handled_variants(UINT32 *variants, int &var_count) const;
347   virtual void device_config_complete() { m_shortname = "floppy_525_hd"; }
348334   virtual const char *image_interface() const { return "floppy_5_25"; }
349335protected:
350336   virtual void setup_characteristics();
r22095r22096
355341   floppy_8_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
356342   virtual ~floppy_8_sssd();
357343   virtual void handled_variants(UINT32 *variants, int &var_count) const;
358   virtual void device_config_complete() { m_shortname = "floppy_8_sssd"; }
359344   virtual const char *image_interface() const { return "floppy_8"; }
360345protected:
361346   virtual void setup_characteristics();
r22095r22096
366351   floppy_8_dssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
367352   virtual ~floppy_8_dssd();
368353   virtual void handled_variants(UINT32 *variants, int &var_count) const;
369   virtual void device_config_complete() { m_shortname = "floppy_8_dssd"; }
370354   virtual const char *image_interface() const { return "floppy_8"; }
371355protected:
372356   virtual void setup_characteristics();
r22095r22096
377361   floppy_8_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
378362   virtual ~floppy_8_ssdd();
379363   virtual void handled_variants(UINT32 *variants, int &var_count) const;
380   virtual void device_config_complete() { m_shortname = "floppy_8_ssdd"; }
381364   virtual const char *image_interface() const { return "floppy_8"; }
382365protected:
383366   virtual void setup_characteristics();
r22095r22096
388371   floppy_8_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
389372   virtual ~floppy_8_dsdd();
390373   virtual void handled_variants(UINT32 *variants, int &var_count) const;
391   virtual void device_config_complete() { m_shortname = "floppy_8_dsdd"; }
392374   virtual const char *image_interface() const { return "floppy_8"; }
393375protected:
394376   virtual void setup_characteristics();
trunk/src/emu/imagedev/flopdrv.h
r22095r22096
184184public:
185185   // construction/destruction
186186   legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
187   legacy_floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
187   legacy_floppy_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);
188188   ~legacy_floppy_image_device();
189189
190190   virtual bool call_load();
trunk/src/emu/cpu/tms32031/tms32031.c
r22095r22096
280280//  tms3203x_device - constructor
281281//-------------------------------------------------
282282
283tms3203x_device::tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map)
284   : cpu_device(mconfig, type, name, tag, owner, clock),
283tms3203x_device::tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map, const char *shortname, const char *source)
284   : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
285285      m_program_config("program", ENDIANNESS_LITTLE, 32, 24, -2, internal_map),
286286      m_chip_type(chiptype),
287287      m_pc(0),
r22095r22096
312312}
313313
314314tms32031_device::tms32031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
315   : tms3203x_device(mconfig, TMS32031, "TMS32031", tag, owner, clock, CHIP_TYPE_TMS32031, ADDRESS_MAP_NAME(internal_32031))
315   : tms3203x_device(mconfig, TMS32031, "TMS32031", tag, owner, clock, CHIP_TYPE_TMS32031, ADDRESS_MAP_NAME(internal_32031), "tms32031", __FILE__)
316316{
317   m_shortname = "tms32031";
318317}
319318
320319tms32032_device::tms32032_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
321   : tms3203x_device(mconfig, TMS32032, "TMS32032", tag, owner, clock, CHIP_TYPE_TMS32032, ADDRESS_MAP_NAME(internal_32032))
320   : tms3203x_device(mconfig, TMS32032, "TMS32032", tag, owner, clock, CHIP_TYPE_TMS32032, ADDRESS_MAP_NAME(internal_32032), "tms32032", __FILE__)
322321{
323   m_shortname = "tms32032";
324322}
325323
326324
r22095r22096
422420   m_direct = &m_program->direct();
423421
424422   // set up the internal boot loader ROM
425   m_bootrom = reinterpret_cast<UINT32*>(memregion(m_shortname)->base());
423   m_bootrom = reinterpret_cast<UINT32*>(memregion(shortname())->base());
426424   m_direct->set_direct_update(direct_update_delegate(FUNC(tms3203x_device::direct_handler), this));
427425
428426   // save state
trunk/src/emu/cpu/tms32031/tms32031.h
r22095r22096
183183   };
184184
185185   // construction/destruction
186   tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map);
186   tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map, const char *shortname, const char *source);
187187   virtual ~tms3203x_device();
188188
189189public:
trunk/src/emu/cpu/mcs96/i8xc196.h
r22095r22096
4444
4545class i8xc196_device : public mcs96_device {
4646public:
47   i8xc196_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
47   i8xc196_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);
4848
4949   static const disasm_entry disasm_entries[0x100];
5050
trunk/src/emu/cpu/mcs96/i8x9x.c
r22095r22096
4040#include "emu.h"
4141#include "i8x9x.h"
4242
43i8x9x_device::i8x9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
43i8x9x_device::i8x9x_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) :
4444   mcs96_device(mconfig, type, name, tag, owner, clock, 8),
4545   io_config("io", ENDIANNESS_LITTLE, 16, 16, -1)
4646{
r22095r22096
387387}
388388
389389c8095_device::c8095_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
390   i8x9x_device(mconfig, C8095, "C8095", tag, owner, clock)
390   i8x9x_device(mconfig, C8095, "C8095", tag, owner, clock, "c8095", __FILE__)
391391{
392392}
393393
394394p8098_device::p8098_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
395   i8x9x_device(mconfig, P8098, "P8098", tag, owner, clock)
395   i8x9x_device(mconfig, P8098, "P8098", tag, owner, clock, "p8098", __FILE__)
396396{
397397}
398398
trunk/src/emu/cpu/mcs96/i8xc196.c
r22095r22096
4040#include "emu.h"
4141#include "i8xc196.h"
4242
43i8xc196_device::i8xc196_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
43i8xc196_device::i8xc196_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) :
4444   mcs96_device(mconfig, type, name, tag, owner, clock, 16)
4545{
4646}
trunk/src/emu/cpu/mcs96/i8x9x.h
r22095r22096
5050      P0, P1, P2
5151   };
5252
53   i8x9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
53   i8x9x_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);
5454
5555   void serial_w(UINT8 val);
5656
trunk/src/emu/cpu/m6502/m65sc02.c
r22095r22096
4343const device_type M65SC02 = &device_creator<m65sc02_device>;
4444
4545m65sc02_device::m65sc02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   r65c02_device(mconfig, M65SC02, "M65SC02", tag, owner, clock)
46   r65c02_device(mconfig, M65SC02, "M65SC02", tag, owner, clock, "m65sc02", __FILE__)
4747{
4848}
trunk/src/emu/cpu/m6502/m5074x.c
r22095r22096
3737//-------------------------------------------------
3838//  m5074x_device - constructor
3939//-------------------------------------------------
40m5074x_device::m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map) :
41   m740_device(mconfig, type, name, tag, owner, clock),
40m5074x_device::m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source) :
41   m740_device(mconfig, type, name, tag, owner, clock, shortname, source),
4242   m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0, internal_map),
4343   read_p0(*this),
4444   read_p1(*this),
r22095r22096
5151{
5252}
5353
54void m5074x_device::device_config_complete()
55{
56   m_shortname = "m5074x";
57}
58
5954//-------------------------------------------------
6055//  device_start - device-specific startup
6156//-------------------------------------------------
r22095r22096
483478ADDRESS_MAP_END
484479
485480m50740_device::m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
486   m5074x_device(mconfig, M50740, "Mitsubishi M50740", tag, owner, clock, ADDRESS_MAP_NAME(m50740_map))
481   m5074x_device(mconfig, M50740, "Mitsubishi M50740", tag, owner, clock, ADDRESS_MAP_NAME(m50740_map), "m50740", __FILE__)
487482{
488483}
489484
490m50740_device::m50740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
491   m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50740_map))
485m50740_device::m50740_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) :
486   m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50740_map), shortname, source)
492487{
493488}
494489
r22095r22096
502497ADDRESS_MAP_END
503498
504499m50741_device::m50741_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
505   m5074x_device(mconfig, M50740, "Mitsubishi M50741", tag, owner, clock, ADDRESS_MAP_NAME(m50741_map))
500   m5074x_device(mconfig, M50740, "Mitsubishi M50741", tag, owner, clock, ADDRESS_MAP_NAME(m50741_map), "m50741", __FILE__)
506501{
507502}
508503
509m50741_device::m50741_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
510   m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50741_map))
504m50741_device::m50741_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) :
505   m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50741_map), shortname, source)
511506{
512507}
513508
trunk/src/emu/cpu/m6502/m3745x.c
r22095r22096
3535//-------------------------------------------------
3636//  m3745x_device - constructor
3737//-------------------------------------------------
38m3745x_device::m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map) :
39   m740_device(mconfig, type, name, tag, owner, clock),
38m3745x_device::m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source) :
39   m740_device(mconfig, type, name, tag, owner, clock, "m3745x", source),
4040   m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0, internal_map),
4141   read_p3(*this),
4242   read_p4(*this),
r22095r22096
5757{
5858}
5959
60void m3745x_device::device_config_complete()
61{
62   m_shortname = "m3745x";
63}
64
6560//-------------------------------------------------
6661//  device_start - device-specific startup
6762//-------------------------------------------------
r22095r22096
496491ADDRESS_MAP_END
497492
498493m37450_device::m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
499   m3745x_device(mconfig, M37450, "Mitsubishi M37450", tag, owner, clock, ADDRESS_MAP_NAME(m37450_map))
494   m3745x_device(mconfig, M37450, "Mitsubishi M37450", tag, owner, clock, ADDRESS_MAP_NAME(m37450_map), "m3745x", __FILE__)
500495{
501496}
502497
503m37450_device::m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
504   m3745x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m37450_map))
498m37450_device::m37450_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) :
499   m3745x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m37450_map), shortname, source)
505500{
506501}
trunk/src/emu/cpu/m6502/m6502.c
r22095r22096
4444const device_type M6502 = &device_creator<m6502_device>;
4545
4646m6502_device::m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47   cpu_device(mconfig, M6502, "M6502", tag, owner, clock),
47   cpu_device(mconfig, M6502, "M6502", tag, owner, clock, "m6502", __FILE__),
4848   program_config("program", ENDIANNESS_LITTLE, 8, 16)
4949{
5050   direct_disabled = false;
5151}
5252
53m6502_device::m6502_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
54   cpu_device(mconfig, type, name, tag, owner, clock),
53m6502_device::m6502_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   cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
5555   program_config("program", ENDIANNESS_LITTLE, 8, 16)
5656{
5757   direct_disabled = false;
trunk/src/emu/cpu/m6502/m5074x.h
r22095r22096
5050
5151public:
5252   // construction/destruction
53   m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map);
53   m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source);
5454
5555   const address_space_config m_program_config;
5656
r22095r22096
117117{
118118public:
119119   m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
120   m50740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
120   m50740_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);
121121
122122protected:
123123
r22095r22096
128128{
129129public:
130130   m50741_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
131   m50741_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
131   m50741_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);
132132
133133protected:
134134
trunk/src/emu/cpu/m6502/m8502.c
r22095r22096
4343const device_type M8502 = &device_creator<m8502_device>;
4444
4545m8502_device::m8502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6510_device(mconfig, M8502, "M8502", tag, owner, clock)
46   m6510_device(mconfig, M8502, "M8502", tag, owner, clock, "m8502", __FILE__)
4747{
4848}
trunk/src/emu/cpu/m6502/m6504.c
r22095r22096
4343const device_type M6504 = &device_creator<m6504_device>;
4444
4545m6504_device::m6504_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6502_device(mconfig, M6504, "M6504", tag, owner, clock)
46   m6502_device(mconfig, M6504, "M6504", tag, owner, clock, "m6504", __FILE__)
4747{
4848   program_config.m_addrbus_width = 13;
4949}
trunk/src/emu/cpu/m6502/m65c02.c
r22095r22096
4444const device_type M65C02 = &device_creator<m65c02_device>;
4545
4646m65c02_device::m65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47   m6502_device(mconfig, M65C02, "M65C02", tag, owner, clock)
47   m6502_device(mconfig, M65C02, "M65C02", tag, owner, clock, "mc65c02", __FILE__)
4848{
4949}
5050
51m65c02_device::m65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
52   m6502_device(mconfig, type, name, tag, owner, clock)
51m65c02_device::m65c02_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) :
52   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source)
5353{
5454}
5555
trunk/src/emu/cpu/m6502/m3745x.h
r22095r22096
5959   };
6060
6161   // construction/destruction
62   m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map);
62   m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source);
6363
6464   const address_space_config m_program_config;
6565
r22095r22096
122122   virtual void device_start();
123123   virtual void device_reset();
124124   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
125   virtual void device_config_complete();
126125   virtual void execute_set_input(int inputnum, int state);
127126   virtual const address_space_config *memory_space_config(address_spacenum spacenum) const { return (spacenum == AS_PROGRAM) ? &m_program_config : NULL; }
128127
r22095r22096
144143{
145144public:
146145   m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
147   m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
146   m37450_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);
148147
149148protected:
150149
trunk/src/emu/cpu/m6502/m6502.h
r22095r22096
5353   };
5454
5555   m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
56   m6502_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
56   m6502_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
5858   UINT64 get_cycle();
5959   bool get_sync() const { return sync; }
trunk/src/emu/cpu/m6502/m6509.c
r22095r22096
4343const device_type M6509 = &device_creator<m6509_device>;
4444
4545m6509_device::m6509_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6502_device(mconfig, M6509, "M6509", tag, owner, clock)
46   m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__)
4747{
4848   program_config.m_addrbus_width = 20;
4949   program_config.m_logaddr_width = 20;
trunk/src/emu/cpu/m6502/m65c02.h
r22095r22096
4646class m65c02_device : public m6502_device {
4747public:
4848   m65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
49   m65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
49   m65c02_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);
5050
5151   static const disasm_entry disasm_entries[0x100];
5252
trunk/src/emu/cpu/m6502/m740.c
r22095r22096
4343const device_type M740 = &device_creator<m740_device>;
4444
4545m740_device::m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6502_device(mconfig, M740, "M740", tag, owner, clock)
46   m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__)
4747{
4848}
4949
50m740_device::m740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
51   m6502_device(mconfig, type, name, tag, owner, clock)
50m740_device::m740_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) :
51   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source)
5252{
5353}
5454
trunk/src/emu/cpu/m6502/m6510t.c
r22095r22096
4343const device_type M6510T = &device_creator<m6510t_device>;
4444
4545m6510t_device::m6510t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6510_device(mconfig, M6510T, "M6510T", tag, owner, clock)
46   m6510_device(mconfig, M6510T, "M6510T", tag, owner, clock, "m6510t", __FILE__)
4747{
4848}
trunk/src/emu/cpu/m6502/m740.h
r22095r22096
6666      };
6767
6868      m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
69      m740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
69      m740_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);
7070
7171      virtual void device_start();
7272      virtual void device_reset();
trunk/src/emu/cpu/m6502/m4510.c
r22095r22096
4343const device_type M4510 = &device_creator<m4510_device>;
4444
4545m4510_device::m4510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m65ce02_device(mconfig, M4510, "M4510", tag, owner, clock)
46   m65ce02_device(mconfig, M4510, "M4510", tag, owner, clock, "m4510", __FILE__)
4747{
4848   program_config.m_addrbus_width = 20;
4949   program_config.m_logaddr_width = 16;
trunk/src/emu/cpu/m6502/m6510.c
r22095r22096
4343const device_type M6510 = &device_creator<m6510_device>;
4444
4545m6510_device::m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6502_device(mconfig, M6510, "M6510", tag, owner, clock),
46   m6502_device(mconfig, M6510, "M6510", tag, owner, clock, "m6510", __FILE__),
4747   read_port(*this),
4848   write_port(*this)
4949{
r22095r22096
5151   floating = 0x00;
5252}
5353
54m6510_device::m6510_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
55   m6502_device(mconfig, type, name, tag, owner, clock),
54m6510_device::m6510_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) :
55   m6502_device(mconfig, type, name, tag, owner, clock, shortname, source),
5656   read_port(*this),
5757   write_port(*this)
5858{
trunk/src/emu/cpu/m6502/m7501.c
r22095r22096
4343const device_type M7501 = &device_creator<m7501_device>;
4444
4545m7501_device::m7501_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6510_device(mconfig, M7501, "M7501", tag, owner, clock)
46   m6510_device(mconfig, M7501, "M7501", tag, owner, clock, "m7501", __FILE__)
4747{
4848}
trunk/src/emu/cpu/m6502/m6510.h
r22095r22096
5151class m6510_device : public m6502_device {
5252public:
5353   m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
54   m6510_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
54   m6510_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);
5555
5656   UINT8 get_port();
5757   void set_port(UINT8 val);
trunk/src/emu/cpu/m6502/deco16.c
r22095r22096
4545const device_type DECO16 = &device_creator<deco16_device>;
4646
4747deco16_device::deco16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
48   m6502_device(mconfig, DECO16, "DECO16", tag, owner, clock),
48   m6502_device(mconfig, DECO16, "DECO16", tag, owner, clock, "deco16", __FILE__),
4949   io_config("io", ENDIANNESS_LITTLE, 8, 16)
5050{
5151}
trunk/src/emu/cpu/m6502/r65c02.c
r22095r22096
4343const device_type R65C02 = &device_creator<r65c02_device>;
4444
4545r65c02_device::r65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m65c02_device(mconfig, R65C02, "R65C02", tag, owner, clock)
46   m65c02_device(mconfig, R65C02, "R65C02", tag, owner, clock, "r65c02", __FILE__)
4747{
4848}
4949
50r65c02_device::r65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
51   m65c02_device(mconfig, type, name, tag, owner, clock)
50r65c02_device::r65c02_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) :
51   m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
5252{
5353}
5454
trunk/src/emu/cpu/m6502/m65ce02.c
r22095r22096
4343const device_type M65CE02 = &device_creator<m65ce02_device>;
4444
4545m65ce02_device::m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock)
46   m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__)
4747{
4848}
4949
50m65ce02_device::m65ce02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
51   m65c02_device(mconfig, type, name, tag, owner, clock)
50m65ce02_device::m65ce02_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) :
51   m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
5252{
5353}
5454
trunk/src/emu/cpu/m6502/n2a03.c
r22095r22096
4343const device_type N2A03 = &device_creator<n2a03_device>;
4444
4545n2a03_device::n2a03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   m6502_device(mconfig, N2A03, "N2A03", tag, owner, clock)
46   m6502_device(mconfig, N2A03, "N2A03", tag, owner, clock, "n2a03", __FILE__)
4747{
4848}
4949
trunk/src/emu/cpu/m6502/r65c02.h
r22095r22096
4545class r65c02_device : public m65c02_device {
4646public:
4747   r65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
48   r65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
48   r65c02_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);
4949
5050   static const disasm_entry disasm_entries[0x100];
5151
trunk/src/emu/cpu/m6502/m65ce02.h
r22095r22096
4545class m65ce02_device : public m65c02_device {
4646public:
4747   m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
48   m65ce02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
48   m65ce02_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);
4949
5050   static const disasm_entry disasm_entries[0x100];
5151
trunk/src/emu/cpu/psx/siodev.c
r22095r22096
11#include "sio.h"
22#include "siodev.h"
33
4psxsiodev_device::psxsiodev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
5   device_t(mconfig, type, name, tag, owner, clock),
4psxsiodev_device::psxsiodev_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) :
5   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
66   m_dataout(0)
77{
88}
trunk/src/emu/cpu/psx/siodev.h
r22095r22096
2121
2222public:
2323   // construction/destruction
24   psxsiodev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
24   psxsiodev_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
2626protected:
2727   // device-level overrides
trunk/src/emu/video/msm6255.h
r22095r22096
5050
5151protected:
5252   // device-level overrides
53   virtual void device_config_complete() { m_shortname = "msm6255"; }
5453   virtual void device_start();
5554   virtual void device_reset();
5655
trunk/src/emu/video/h63484.c
r22095r22096
2626//-------------------------------------------------
2727
2828h63484_device::h63484_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29   : device_t(mconfig, H63484, "H63484", tag, owner, clock),
29   : device_t(mconfig, H63484, "H63484", tag, owner, clock, "h63484", __FILE__),
3030      device_memory_interface(mconfig, *this),
3131   m_ar(0),
3232   m_sr(0),
r22095r22096
4343   m_dcr(0),
4444      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 20, 0, NULL, *ADDRESS_MAP_NAME(h63484_vram))
4545{
46   m_shortname = "h63484";
4746}
4847
4948enum
trunk/src/emu/video/hd61830.c
r22095r22096
106106//-------------------------------------------------
107107
108108hd61830_device::hd61830_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
109   : device_t(mconfig, HD61830, "Hitachi HD61830", tag, owner, clock),
109   : device_t(mconfig, HD61830, "Hitachi HD61830", tag, owner, clock, "hd61830", __FILE__),
110110      device_memory_interface(mconfig, *this),
111111      m_bf(false),
112112      m_cac(0),
r22095r22096
115115      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830)),
116116      m_region_hd61830(*this, "hd61830")
117117{
118   m_shortname = "hd61830";
119118}
120119
121120
trunk/src/emu/video/m50458.c
r22095r22096
171171//-------------------------------------------------
172172
173173m50458_device::m50458_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
174   : device_t(mconfig, M50458, "m50458", tag, owner, clock),
174   : device_t(mconfig, M50458, "m50458", tag, owner, clock, "m50458", __FILE__),
175175      device_memory_interface(mconfig, *this),
176176      m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(m50458_vram))
177177{
178   m_shortname = "m50458";
179178}
180179
181180
trunk/src/emu/video/saa5050.c
r22095r22096
128128//  saa5050_device - constructor
129129//-------------------------------------------------
130130
131saa5050_device::saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
132   : device_t(mconfig, type, name, tag, owner, clock),
131saa5050_device::saa5050_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)
132   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
133133      m_frame_count(0),
134134      m_variant(variant)
135135{
136136}
137137
138138saa5050_device::saa5050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
139   : device_t(mconfig, SAA5050, "SAA5050", tag, owner, clock),
139   : device_t(mconfig, SAA5050, "SAA5050", tag, owner, clock, "saa5050", __FILE__),
140140      m_frame_count(0),
141141      m_variant(TYPE_5050)
142142{
143143}
144144
145145saa5052_device::saa5052_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
146   : saa5050_device(mconfig, SAA5052, "SAA5052", tag, owner, clock, TYPE_5052)
146   : saa5050_device(mconfig, SAA5052, "SAA5052", tag, owner, clock, TYPE_5052, "saa5052", __FILE__)
147147{
148148}
149149
r22095r22096
166166   {
167167      memset(&m_in_d_cb, 0, sizeof(m_in_d_cb));
168168   }
169
170   switch (m_variant)
171   {
172      default:        m_shortname = "saa5050"; break;
173      case TYPE_5052: m_shortname = "saa5052"; break;
174   }
175169}
176170
177171
trunk/src/emu/video/sed1330.c
r22095r22096
140140//-------------------------------------------------
141141
142142sed1330_device::sed1330_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
143   : device_t(mconfig, SED1330, "SED1330", tag, owner, clock),
143   : device_t(mconfig, SED1330, "SED1330", tag, owner, clock, "sed1330", __FILE__),
144144      device_memory_interface(mconfig, *this),
145145      m_bf(0),
146146      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(sed1330))
trunk/src/emu/video/saa5050.h
r22095r22096
7474{
7575public:
7676   // construction/destruction
77   saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
77   saa5050_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);
7878   saa5050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7979
8080   // optional information overrides
trunk/src/emu/video/sed1330.h
r22095r22096
5656
5757protected:
5858   // device-level overrides
59   virtual void device_config_complete() { m_shortname = "sed1330"; }
6059   virtual void device_start();
6160   virtual void device_reset();
6261
trunk/src/emu/video/upd7220.c
r22095r22096
679679//-------------------------------------------------
680680
681681upd7220_device::upd7220_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
682   : device_t(mconfig, UPD7220, "uPD7220", tag, owner, clock),
682   : device_t(mconfig, UPD7220, "uPD7220", tag, owner, clock, "upd7220", __FILE__),
683683      device_memory_interface(mconfig, *this),
684684      m_mask(0),
685685      m_pitch(0),
r22095r22096
715715      m_bitmap_mod(0),
716716      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(upd7220_vram))
717717{
718   m_shortname = "upd7220";
719718   for (int i = 0; i < 16; i++)
720719   {
721720      m_fifo[i] = 0;
trunk/src/emu/video/mb90082.c
r22095r22096
8484//-------------------------------------------------
8585
8686mb90082_device::mb90082_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
87   : device_t(mconfig, MB90082, "mb90082", tag, owner, clock),
87   : device_t(mconfig, MB90082, "mb90082", tag, owner, clock, "mb90082", __FILE__),
8888      device_memory_interface(mconfig, *this),
8989      m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(mb90082_vram))
9090{
91   m_shortname = "mb90082";
92
9391}
9492
9593
trunk/src/emu/video/hd44780.c
r22095r22096
4343//-------------------------------------------------
4444
4545hd44780_device::hd44780_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
46   device_t(mconfig, HD44780, "HD44780 A00", tag, owner, clock),
46   device_t(mconfig, HD44780, "HD44780 A00", tag, owner, clock, "hd44780_a00", __FILE__),
4747   m_pixel_update_func(NULL)
4848{
49   m_shortname = "hd44780_a00";
5049   set_charset_type(CHARSET_HD44780_A00);
5150}
5251
53hd44780_device::hd44780_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),
52hd44780_device::hd44780_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),
5554   m_pixel_update_func(NULL)
5655{
5756}
5857
5958ks0066_f05_device::ks0066_f05_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
60   hd44780_device(mconfig, KS0066_F05, "KS0066 F05", tag, owner, clock)
59   hd44780_device(mconfig, KS0066_F05, "KS0066 F05", tag, owner, clock, "ks0066_f05", __FILE__)
6160{
62   m_shortname = "ks0066_f05";
6361   set_charset_type(CHARSET_KS0066_F05);
6462}
6563
trunk/src/emu/video/v9938.c
r22095r22096
6262const device_type V9958 = &device_creator<v9958_device>;
6363
6464v99x8_device::v99x8_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
65:   device_t(mconfig, type, name, shortname, tag, owner, clock),
65:   device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
6666   device_memory_interface(mconfig, *this),
6767   m_space_config("vram", ENDIANNESS_BIG, 8, 18),
6868   m_model(0),
trunk/src/emu/video/hd44780.h
r22095r22096
3737public:
3838   // construction/destruction
3939   hd44780_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
40   hd44780_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
40   hd44780_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   // static configuration helpers
4343   static void static_set_lcd_size(device_t &device, int _lines, int _chars) { hd44780_device &dev=downcast<hd44780_device &>(device); dev.m_lines = _lines; dev.m_chars = _chars; }
trunk/src/emu/video/msm6255.c
r22095r22096
113113//-------------------------------------------------
114114
115115msm6255_device::msm6255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
116   : device_t(mconfig, MSM6255, "MSM6255", tag, owner, clock),
116   : device_t(mconfig, MSM6255, "MSM6255", tag, owner, clock, "msm6255", __FILE__),
117117      device_memory_interface(mconfig, *this),
118118      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 20, 0, NULL, *ADDRESS_MAP_NAME(msm6255)),
119119      m_cursor(0)
trunk/src/emu/devcpu.c
r22095r22096
5050//  cpu_device - constructor
5151//-------------------------------------------------
5252
53cpu_device::cpu_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),
53cpu_device::cpu_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_execute_interface(mconfig, *this),
5656      device_memory_interface(mconfig, *this),
5757      device_state_interface(mconfig, *this),
r22095r22096
7474//-------------------------------------------------
7575
7676legacy_cpu_device::legacy_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, cpu_get_info_func get_info)
77   : cpu_device(mconfig, type, "CPU", tag, owner, clock),
77   : cpu_device(mconfig, type, "CPU", tag, owner, clock, "", __FILE__),
7878      m_get_info(get_info),
7979      m_token(NULL),
8080      m_set_info(reinterpret_cast<cpu_set_info_func>(get_legacy_fct(CPUINFO_FCT_SET_INFO))),
trunk/src/emu/devcpu.h
r22095r22096
378378
379379protected:
380380   // construction/destruction
381   cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
381   cpu_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 = __FILE__);
382382   virtual ~cpu_device();
383383};
384384
trunk/src/emu/device.c
r22095r22096
9696//  from the provided config
9797//-------------------------------------------------
9898
99device_t::device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
99device_t::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)
100100   : m_type(type),
101101      m_name(name),
102      m_owner(owner),
103      m_next(NULL),
104
105      m_interface_list(NULL),
106      m_execute(NULL),
107      m_memory(NULL),
108      m_state(NULL),
109
110      m_configured_clock(clock),
111      m_unscaled_clock(clock),
112      m_clock(clock),
113      m_clock_scale(1.0),
114      m_attoseconds_per_clock((clock == 0) ? 0 : HZ_TO_ATTOSECONDS(clock)),
115
116      m_debug(NULL),
117      m_region(NULL),
118      m_machine_config(mconfig),
119      m_static_config(NULL),
120      m_input_defaults(NULL),
121
122      m_machine(NULL),
123      m_save(NULL),
124      m_basetag(tag),
125      m_config_complete(false),
126      m_started(false),
127      m_auto_finder_list(NULL)
128{
129   if (owner != NULL)
130      m_tag.cpy((owner->owner() == NULL) ? "" : owner->tag()).cat(":").cat(tag);
131   else
132      m_tag.cpy(":");
133   static_set_clock(*this, clock);
134}
135
136
137device_t::device_t(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
138   : m_type(type),
139      m_name(name),
140102      m_shortname(shortname),
141103      m_searchpath(shortname),
142104      m_owner(owner),
trunk/src/emu/device.h
r22095r22096
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);
149   device_t(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
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__);
150149   virtual ~device_t();
151150
152151public:
trunk/src/emu/sound/votrax.c
r22095r22096
124124//-------------------------------------------------
125125
126126votrax_sc01_device::votrax_sc01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127   : device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", "votrax", tag, owner, clock),
127   : device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", tag, owner, clock, "votrax", __FILE__),
128128      device_sound_interface(mconfig, *this),
129129      m_stream(NULL),
130130      m_phoneme_timer(NULL)
trunk/src/emu/sound/dac.c
r22095r22096
5454//-------------------------------------------------
5555
5656dac_device::dac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
57   : device_t(mconfig, DAC, "DAC", "dac", tag, owner, clock),
57   : device_t(mconfig, DAC, "DAC", tag, owner, clock, "dac", __FILE__),
5858      device_sound_interface(mconfig, *this),
5959      m_stream(NULL),
6060      m_output(0)
trunk/src/emu/sound/qs1000.c
r22095r22096
183183//  qs1000_device - constructor
184184//-------------------------------------------------
185185qs1000_device::qs1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
186   : device_t(mconfig, QS1000, "QS1000", "qs1000", tag, owner, clock),
186   : device_t(mconfig, QS1000, "QS1000", tag, owner, clock, "qs1000", __FILE__),
187187      device_sound_interface(mconfig, *this),
188188      device_memory_interface(mconfig, *this),
189189      m_space_config("samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL),
r22095r22096
191191      m_direct(NULL),
192192      m_cpu(*this, "cpu")
193193{
194   m_shortname = "qs1000";
195194   m_address_map[0] = *ADDRESS_MAP_NAME(qs1000);
196195}
197196
trunk/src/emu/sound/segapcm.c
r22095r22096
1515//-------------------------------------------------
1616
1717segapcm_device::segapcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18   : device_t(mconfig, SEGAPCM, "Sega PCM", "segapcm", tag, owner, clock),
18   : device_t(mconfig, SEGAPCM, "Sega PCM", tag, owner, clock, "segapcm", __FILE__),
1919      device_sound_interface(mconfig, *this),
2020      m_ram(NULL),
2121      m_rom(NULL),
trunk/src/emu/sound/k054539.c
r22095r22096
2727#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
2828
2929k054539_device::k054539_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30   : device_t(mconfig, K054539, "K054539", "k054539", tag, owner, clock),
30   : device_t(mconfig, K054539, "K054539", tag, owner, clock, "k054539", __FILE__),
3131      device_sound_interface(mconfig, *this)
3232{
3333}
trunk/src/emu/sound/bsmt2000.c
r22095r22096
106106//-------------------------------------------------
107107
108108bsmt2000_device::bsmt2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
109   : device_t(mconfig, BSMT2000, "BSMT2000", "bsmt2000", tag, owner, clock),
109   : device_t(mconfig, BSMT2000, "BSMT2000", tag, owner, clock, "bsmt2000", __FILE__),
110110      device_sound_interface(mconfig, *this),
111111      device_memory_interface(mconfig, *this),
112112      m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL),
r22095r22096
122122      m_right_data(0),
123123      m_write_pending(false)
124124{
125   m_shortname = "bsmt2000";
126125   m_address_map[0] = *ADDRESS_MAP_NAME(bsmt2000);
127126}
128127
trunk/src/emu/driver.c
r22095r22096
6161//-------------------------------------------------
6262
6363driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag)
64   : device_t(mconfig, type, "Driver Device", tag, NULL, 0),
64   : device_t(mconfig, type, "Driver Device", tag, NULL, 0, "", __FILE__),
6565      device_memory_interface(mconfig, *this),
6666      m_generic_paletteram_8(*this, "paletteram"),
6767      m_generic_paletteram2_8(*this, "paletteram2"),
trunk/src/mess/audio/lynx.c
r22095r22096
509509   m_token = global_alloc_clear(lynx_sound_state);
510510}
511511
512lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
513   : device_t(mconfig, type, name, tag, owner, clock),
512lynx_sound_device::lynx_sound_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)
513   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
514514      device_sound_interface(mconfig, *this)
515515{
516516   m_token = global_alloc_clear(lynx_sound_state);
r22095r22096
558558const device_type LYNX2 = &device_creator<lynx2_sound_device>;
559559
560560lynx2_sound_device::lynx2_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
561   : lynx_sound_device(mconfig, LYNX2, "Mikey (Lynx II)", tag, owner, clock)
561   : lynx_sound_device(mconfig, LYNX2, "Mikey (Lynx II)", tag, owner, clock, "lynx2_sound", __FILE__)
562562{
563563}
564564
trunk/src/mess/machine/vp585.h
r22095r22096
3535
3636protected:
3737   // device-level overrides
38   virtual void device_config_complete() { m_shortname = "vp585"; }
3938   virtual void device_start();
4039
4140   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/teleprinter.c
r22095r22096
133133};
134134
135135teleprinter_device::teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
136   : generic_terminal_device(mconfig, TELEPRINTER, "Teleprinter", tag, owner, clock)
136   : generic_terminal_device(mconfig, TELEPRINTER, "Teleprinter", tag, owner, clock, "teleprinter", __FILE__)
137137{
138138}
139139
trunk/src/mess/machine/isa_ide.c
r22095r22096
9595//-------------------------------------------------
9696
9797isa16_ide_device::isa16_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
98      : device_t(mconfig, ISA16_IDE, "IDE Fixed Drive Adapter", tag, owner, clock),
98      : device_t(mconfig, ISA16_IDE, "IDE Fixed Drive Adapter", tag, owner, clock, "isa_ide", __FILE__),
9999      device_isa16_card_interface( mconfig, *this ),
100100      m_is_primary(true),
101101      m_ide(*this, "ide")
trunk/src/mess/machine/abc_sio.c
r22095r22096
139139//-------------------------------------------------
140140
141141abc_sio_device::abc_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
142   : device_t(mconfig, ABC_SIO, "ABC SIO", tag, owner, clock),
142   : device_t(mconfig, ABC_SIO, "ABC SIO", tag, owner, clock, "abcsio", __FILE__),
143143      device_abcbus_card_interface(mconfig, *this),
144144      m_ctc(*this, Z80CTC_TAG),
145145      m_sio(*this, Z80SIO_TAG),
trunk/src/mess/machine/c128_comal80.c
r22095r22096
2828//-------------------------------------------------
2929
3030c128_comal80_cartridge_device::c128_comal80_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C128_COMAL80, "C128 COMAL 80 cartridge", tag, owner, clock),
31   device_t(mconfig, C128_COMAL80, "C128 COMAL 80 cartridge", tag, owner, clock, "c128_comal80", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this),
3333   m_bank(0)
3434{
trunk/src/mess/machine/isa_ide.h
r22095r22096
3636   // device-level overrides
3737   virtual void device_start();
3838   virtual void device_reset();
39   virtual void device_config_complete() { m_shortname = "isa_ide"; }
4039
4140private:
4241   // internal state
trunk/src/mess/machine/dec_lk201.c
r22095r22096
7373//-------------------------------------------------
7474
7575lk201_device::lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76   : device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock),
76   : device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock, "lk201", __FILE__),
7777   m_maincpu(*this, LK201_CPU_TAG)
7878{
7979}
r22095r22096
9595{
9696}
9797
98void lk201_device::device_config_complete()
99{
100   m_shortname = "lk201";
101}
102
10398READ8_MEMBER( lk201_device::ddr_r )
10499{
105100   return ddrs[offset];
trunk/src/mess/machine/abc_sio.h
r22095r22096
3232   // device-level overrides
3333   virtual void device_start();
3434   virtual void device_reset();
35   virtual void device_config_complete() { m_shortname = "abcsio"; }
3635
3736   // device_abcbus_interface overrides
3837   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/c128_comal80.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c128_comal80"; }
3938
4039   // device_c64_expansion_card_interface overrides
4140   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
trunk/src/mess/machine/c64_fcc.c
r22095r22096
120120//-------------------------------------------------
121121
122122c64_final_chesscard_device::c64_final_chesscard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
123   device_t(mconfig, C64_FCC, "Final ChessCard", tag, owner, clock),
123   device_t(mconfig, C64_FCC, "Final ChessCard", tag, owner, clock, "c64_fcc", __FILE__),
124124   device_c64_expansion_card_interface(mconfig, *this),
125125   device_nvram_interface(mconfig, *this),
126126   m_maincpu(*this, G65SC02P4_TAG),
trunk/src/mess/machine/esqpanel.c
r22095r22096
2424//  esqpanel_device - constructor
2525//-------------------------------------------------
2626
27esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
28   device_t(mconfig, type, name, tag, owner, clock),
27esqpanel_device::esqpanel_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) :
28   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2929   device_serial_interface(mconfig, *this)
3030{
3131}
3232
3333void esqpanel_device::device_config_complete()
3434{
35   m_shortname = "esqpanel";
36
3735   // inherit a copy of the static data
3836   const esqpanel_interface *intf = reinterpret_cast<const esqpanel_interface *>(static_config());
3937   if (intf != NULL)
r22095r22096
179177}
180178
181179esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
182   esqpanel_device(mconfig, ESQPANEL1x22, "Ensoniq front panel with 1x22 VFD", tag, owner, clock),
180   esqpanel_device(mconfig, ESQPANEL1x22, "Ensoniq front panel with 1x22 VFD", tag, owner, clock, "esqpanel122", __FILE__),
183181   m_vfd(*this, "vfd")
184182{
185183   m_eps_mode = true;
r22095r22096
197195}
198196
199197esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
200   esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x40 VFD", tag, owner, clock),
198   esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x40 VFD", tag, owner, clock, "esqpanel240", __FILE__),
201199   m_vfd(*this, "vfd")
202200{
203201   m_eps_mode = false;
r22095r22096
215213}
216214
217215esqpanel2x40_sq1_device::esqpanel2x40_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
218   esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x16 LCD", tag, owner, clock),
216   esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x16 LCD", tag, owner, clock, "esqpanel240_sq1", __FILE__),
219217   m_vfd(*this, "vfd")
220218{
221219   m_eps_mode = false;
trunk/src/mess/machine/dec_lk201.h
r22095r22096
4949   // device-level overrides
5050   virtual void device_start();
5151   virtual void device_reset();
52   virtual void device_config_complete();
5352   virtual machine_config_constructor device_mconfig_additions() const;
5453   virtual const rom_entry *device_rom_region() const;
5554
trunk/src/mess/machine/c64_fcc.h
r22095r22096
4242
4343protected:
4444   // device-level overrides
45   virtual void device_config_complete() { m_shortname = "c64_fcc"; }
4645   virtual void device_start();
4746   virtual void device_reset();
4847
trunk/src/mess/machine/iq151_rom.c
r22095r22096
3939//  iq151_rom_device - constructor
4040//-------------------------------------------------
4141
42iq151_rom_device::iq151_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
43      device_t(mconfig, type, name, tag, owner, clock),
42iq151_rom_device::iq151_rom_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) :
43      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4444      device_iq151cart_interface(mconfig, *this)
4545{
4646}
r22095r22096
8282//-------------------------------------------------
8383
8484iq151_basic6_device::iq151_basic6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85      : iq151_rom_device(mconfig, IQ151_BASIC6, "IQ151 BASIC6", tag, owner, clock)
85      : iq151_rom_device(mconfig, IQ151_BASIC6, "IQ151 BASIC6", tag, owner, clock, "iq151_basic6", __FILE__)
8686{
8787}
8888
r22095r22096
107107//-------------------------------------------------
108108
109109iq151_basicg_device::iq151_basicg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
110      : iq151_rom_device(mconfig, IQ151_BASICG, "IQ151 BASICG", tag, owner, clock)
110      : iq151_rom_device(mconfig, IQ151_BASICG, "IQ151 BASICG", tag, owner, clock, "iq151_basicg", __FILE__)
111111{
112112}
113113
r22095r22096
133133//-------------------------------------------------
134134
135135iq151_amos1_device::iq151_amos1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
136      : iq151_rom_device(mconfig, IQ151_AMOS1, "IQ151 AMOS cart 1", tag, owner, clock),
136      : iq151_rom_device(mconfig, IQ151_AMOS1, "IQ151 AMOS cart 1", tag, owner, clock, "iq151_amos1", __FILE__),
137137      m_active(true)
138138{
139139}
r22095r22096
167167//-------------------------------------------------
168168
169169iq151_amos2_device::iq151_amos2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
170      : iq151_rom_device(mconfig, IQ151_AMOS2, "IQ151 AMOS cart 2", tag, owner, clock),
170      : iq151_rom_device(mconfig, IQ151_AMOS2, "IQ151 AMOS cart 2", tag, owner, clock, "iq151_amos2", __FILE__),
171171      m_active(false)
172172{
173173}
r22095r22096
201201//-------------------------------------------------
202202
203203iq151_amos3_device::iq151_amos3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
204      : iq151_rom_device(mconfig, IQ151_AMOS3, "IQ151 AMOS cart 3", tag, owner, clock),
204      : iq151_rom_device(mconfig, IQ151_AMOS3, "IQ151 AMOS cart 3", tag, owner, clock, "iq151_amos3", __FILE__),
205205      m_active(true)
206206{
207207}
trunk/src/mess/machine/esqpanel.h
r22095r22096
5858{
5959public:
6060   // construction/destruction
61   esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
61   esqpanel_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);
6262
6363   DECLARE_WRITE_LINE_MEMBER( rx_w ) { check_for_start(state); }
6464
trunk/src/mess/machine/cbm2_graphic.c
r22095r22096
104104//-------------------------------------------------
105105
106106cbm2_graphic_cartridge_device::cbm2_graphic_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
107   device_t(mconfig, CBM2_GRAPHIC, "CBM 500/600/700 High Resolution Graphics", tag, owner, clock),
107   device_t(mconfig, CBM2_GRAPHIC, "CBM 500/600/700 High Resolution Graphics", tag, owner, clock, "cbm2_graphic", __FILE__),
108108   device_cbm2_expansion_card_interface(mconfig, *this),
109109   //m_gdc(*this, EF9365_TAG),
110110   m_variant(TYPE_A)
trunk/src/mess/machine/abc_fd2.c
r22095r22096
173173//-------------------------------------------------
174174
175175abc_fd2_device::abc_fd2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
176   : device_t(mconfig, ABC_FD2, "ABC FD2", tag, owner, clock),
176   : device_t(mconfig, ABC_FD2, "ABC FD2", tag, owner, clock, "abc_fd2", __FILE__),
177177      device_abcbus_card_interface(mconfig, *this),
178178      m_maincpu(*this, Z80_TAG),
179179      m_pio(*this, Z80PIO_TAG),
trunk/src/mess/machine/iq151_rom.h
r22095r22096
1919{
2020public:
2121   // construction/destruction
22   iq151_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22   iq151_rom_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);
2323
2424   // optional information overrides
2525   virtual const rom_entry *device_rom_region() const;
r22095r22096
4545   iq151_basic6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4646
4747protected:
48   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "iq151_basic6"; }
50
5148   // iq151cart_interface overrides
5249   virtual void read(offs_t offset, UINT8 &data);
5350};
r22095r22096
6259   iq151_basicg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6360
6461protected:
65   // device-level overrides
66   virtual void device_config_complete() { m_shortname = "iq151_basicg"; }
67
6862   // iq151cart_interface overrides
6963   virtual void read(offs_t offset, UINT8 &data);
7064};
r22095r22096
8074   iq151_amos1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
8175
8276protected:
83   // device-level overrides
84   virtual void device_config_complete() { m_shortname = "iq151_amos1"; }
85
8677   // iq151cart_interface overrides
8778   virtual void read(offs_t offset, UINT8 &data);
8879   virtual void io_write(offs_t offset, UINT8 data);
r22095r22096
10192   iq151_amos2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
10293
10394protected:
104   // device-level overrides
105   virtual void device_config_complete() { m_shortname = "iq151_amos2"; }
106
10795   // iq151cart_interface overrides
10896   virtual void read(offs_t offset, UINT8 &data);
10997   virtual void io_write(offs_t offset, UINT8 data);
r22095r22096
122110   iq151_amos3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
123111
124112protected:
125   // device-level overrides
126   virtual void device_config_complete() { m_shortname = "iq151_amos3"; }
127
128113   // iq151cart_interface overrides
129114   virtual void read(offs_t offset, UINT8 &data);
130115   virtual void io_write(offs_t offset, UINT8 data);
trunk/src/mess/machine/wangpc_lvc.c
r22095r22096
187187//-------------------------------------------------
188188
189189wangpc_lvc_device::wangpc_lvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
190   device_t(mconfig, WANGPC_LVC, "Wang PC Low Resolution Video Card", tag, owner, clock),
190   device_t(mconfig, WANGPC_LVC, "Wang PC Low Resolution Video Card", tag, owner, clock, "wangpc_lvc", __FILE__),
191191   device_wangpcbus_card_interface(mconfig, *this),
192192   m_crtc(*this, MC6845_TAG),
193193   m_video_ram(*this, "video_ram"),
trunk/src/mess/machine/cbm2_graphic.h
r22095r22096
4343   };
4444
4545   // device-level overrides
46   virtual void device_config_complete() { m_shortname = "cbm2_graphic"; }
4746   virtual void device_start();
4847   virtual void device_reset();
4948
trunk/src/mess/machine/vic1111.c
r22095r22096
2828//-------------------------------------------------
2929
3030vic1111_device::vic1111_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, VIC1111, "VIC1111", tag, owner, clock),
31   : device_t(mconfig, VIC1111, "VIC1111", tag, owner, clock, "vic1111", __FILE__),
3232      device_vic20_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/abc_fd2.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "abc_fd2"; }
4746
4847   // device_abcbus_interface overrides
4948   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/comx_joy.c
r22095r22096
6868//-------------------------------------------------
6969
7070comx_joy_device::comx_joy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
71   device_t(mconfig, COMX_JOY, "COMX JoyCard", tag, owner, clock),
71   device_t(mconfig, COMX_JOY, "COMX JoyCard", tag, owner, clock, "comx_joy", __FILE__),
7272   device_comx_expansion_card_interface(mconfig, *this),
7373   m_joy1(*this, "JOY1"),
7474   m_joy2(*this, "JOY2")
trunk/src/mess/machine/wangpc_lvc.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "wangpc_lvc"; }
4746
4847   // device_wangpcbus_card_interface overrides
4948   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/vic1111.h
r22095r22096
3434protected:
3535   // device-level overrides
3636   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "vic1111"; }
3837
3938   // device_vic20_expansion_card_interface overrides
4039   virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
trunk/src/mess/machine/comx_joy.h
r22095r22096
3838   // device-level overrides
3939   virtual void device_start();
4040   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "comx_joy"; }
4241
4342   // device_comx_expansion_card_interface overrides
4443   virtual UINT8 comx_io_r(address_space &space, offs_t offset);
trunk/src/mess/machine/nubus_image.c
r22095r22096
177177//-------------------------------------------------
178178
179179nubus_image_device::nubus_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
180      device_t(mconfig, NUBUS_IMAGE, "Disk Image Pseudo-Card", tag, owner, clock),
180      device_t(mconfig, NUBUS_IMAGE, "Disk Image Pseudo-Card", tag, owner, clock, "nb_image", __FILE__),
181181      device_nubus_card_interface(mconfig, *this)
182182{
183   m_shortname = "nb_image";
184183}
185184
186nubus_image_device::nubus_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
187      device_t(mconfig, type, name, tag, owner, clock),
185nubus_image_device::nubus_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) :
186      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
188187      device_nubus_card_interface(mconfig, *this)
189188{
190   m_shortname = "nb_image";
191189}
192190
193191//-------------------------------------------------
trunk/src/mess/machine/a2diskii.c
r22095r22096
9595//  LIVE DEVICE
9696//**************************************************************************
9797
98a2bus_floppy_device::a2bus_floppy_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),
98a2bus_floppy_device::a2bus_floppy_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      device_a2bus_card_interface(mconfig, *this),
101101      m_fdc(*this, FDC_TAG)
102102{
103103}
104104
105105a2bus_diskii_device::a2bus_diskii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
106   a2bus_floppy_device(mconfig, A2BUS_DISKII, "Apple Disk II controller", tag, owner, clock)
106   a2bus_floppy_device(mconfig, A2BUS_DISKII, "Apple Disk II controller", tag, owner, clock, "a2diskii", __FILE__)
107107{
108   m_shortname = "a2diskii";
109108}
110109
111110a2bus_iwmflop_device::a2bus_iwmflop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
112   a2bus_floppy_device(mconfig, A2BUS_IWM_FDC, "Apple IWM floppy card", tag, owner, clock)
111   a2bus_floppy_device(mconfig, A2BUS_IWM_FDC, "Apple IWM floppy card", tag, owner, clock, "a2diskii", __FILE__)
113112{
114   m_shortname = "a2diskii";
115113}
116114
117115//-------------------------------------------------
trunk/src/mess/machine/a2swyft.c
r22095r22096
4444//**************************************************************************
4545
4646a2bus_swyft_device::a2bus_swyft_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
47      device_t(mconfig, A2BUS_SWYFT, "IAI SwyftCard", tag, owner, clock),
47      device_t(mconfig, A2BUS_SWYFT, "IAI SwyftCard", tag, owner, clock, "a2swyft", __FILE__),
4848      device_a2bus_card_interface(mconfig, *this)
4949{
50   m_shortname = "a2swyft";
5150}
5251
53a2bus_swyft_device::a2bus_swyft_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),
52a2bus_swyft_device::a2bus_swyft_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),
5554      device_a2bus_card_interface(mconfig, *this)
5655{
57   m_shortname = "a2swyft";
5856}
5957
6058//-------------------------------------------------
trunk/src/mess/machine/abc_turbo.c
r22095r22096
131131//-------------------------------------------------
132132
133133turbo_kontroller_device::turbo_kontroller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
134   : device_t(mconfig, TURBO_KONTROLLER, "Turbo-Kontroller", tag, owner, clock),
134   : device_t(mconfig, TURBO_KONTROLLER, "Turbo-Kontroller", tag, owner, clock, "unidisk", __FILE__),
135135      device_abcbus_card_interface(mconfig, *this),
136136      m_maincpu(*this, Z80_TAG),
137137      m_image0(*this, FLOPPY_0),
trunk/src/mess/machine/k7659kb.c
r22095r22096
214214//-------------------------------------------------
215215
216216k7659_keyboard_device::k7659_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
217   : device_t(mconfig, K7659_KEYBOARD, "K7659 Keyboard", tag, owner, clock)
217   : device_t(mconfig, K7659_KEYBOARD, "K7659 Keyboard", tag, owner, clock, "k7659kb", __FILE__)
218218{}
219219
220220
trunk/src/mess/machine/cbm2_24k.c
r22095r22096
2828//-------------------------------------------------
2929
3030cbm2_24k_cartridge_device::cbm2_24k_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, CBM2_24K, "24K RAM/ROM cartridge", tag, owner, clock),
31   device_t(mconfig, CBM2_24K, "24K RAM/ROM cartridge", tag, owner, clock, "cbm2_24k", __FILE__),
3232   device_cbm2_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/nubus_image.h
r22095r22096
2929public:
3030      // construction/destruction
3131      nubus_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
32      nubus_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
32      nubus_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);
3333
3434      // optional information overrides
3535      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/abc_slutprov.c
r22095r22096
3939//-------------------------------------------------
4040
4141abc_slutprov_device::abc_slutprov_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42   : device_t(mconfig, ABC_SLUTPROV, "Slutprov", tag, owner, clock),
42   : device_t(mconfig, ABC_SLUTPROV, "Slutprov", tag, owner, clock, "slutprov", __FILE__),
4343      device_abcbus_card_interface(mconfig, *this)
4444{
4545}
trunk/src/mess/machine/a2diskii.h
r22095r22096
2222{
2323public:
2424   // construction/destruction
25   a2bus_floppy_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   a2bus_floppy_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   // optional information overrides
2828   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/a2swyft.h
r22095r22096
2323public:
2424   // construction/destruction
2525   a2bus_swyft_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_swyft_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_swyft_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);
2727
2828   virtual const rom_entry *device_rom_region() const;
2929
trunk/src/mess/machine/abc_turbo.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "unidisk"; }
4746
4847   // device_abcbus_interface overrides
4948   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/plus4_sid.c
r22095r22096
9494//-------------------------------------------------
9595
9696plus4_sid_cartridge_device::plus4_sid_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
97   device_t(mconfig, PLUS4_SID, "Plus/4 SID cartridge", tag, owner, clock),
97   device_t(mconfig, PLUS4_SID, "Plus/4 SID cartridge", tag, owner, clock, "plus4_sid", __FILE__),
9898   device_plus4_expansion_card_interface(mconfig, *this),
9999   m_sid(*this, MOS8580_TAG),
100100   m_joy(*this, CONTROL1_TAG)
trunk/src/mess/machine/northbridge.c
r22095r22096
1111//  GLOBAL VARIABLES
1212//**************************************************************************
1313
14northbridge_device::northbridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
15   : device_t(mconfig, type, name, tag, owner, clock),
14northbridge_device::northbridge_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)
15   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
1616   m_maincpu(*this, ":maincpu"),
1717   m_ram(*this, ":" RAM_TAG)
1818{
trunk/src/mess/machine/k7659kb.h
r22095r22096
5858   virtual void device_start();
5959   virtual void device_reset();
6060   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
61   virtual void device_config_complete() { m_shortname = "k7659kb"; }
6261   emu_timer *m_timer;
6362
6463private:
trunk/src/mess/machine/cbm2_24k.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "cbm2_24k"; }
3736   virtual void device_start();
3837
3938   // device_cbm2_expansion_card_interface overrides
trunk/src/mess/machine/abc_slutprov.h
r22095r22096
2929   // device-level overrides
3030   virtual void device_start();
3131   virtual void device_reset();
32   virtual void device_config_complete() { m_shortname = "slutprov"; }
3332
3433   // device_abcbus_interface overrides
3534   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/msm6222b.c
r22095r22096
5050   ROM_LOAD( "msm6222b-01.bin", 0x0000, 0x1000, CRC(8ffa8521) SHA1(e108b520e6d20459a7bbd5958bbfa1d551a690bd) )
5151ROM_END
5252
53msm6222b_device::msm6222b_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)
53msm6222b_device::msm6222b_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{
56   m_shortname = "msm6222b";
5756}
5857
5958msm6222b_device::msm6222b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
60   device_t(mconfig, MSM6222B, "msm6222b-xx", tag, owner, clock)
59   device_t(mconfig, MSM6222B, "msm6222b-xx", tag, owner, clock, "msm6222b", __FILE__)
6160{
62   m_shortname = "msm6222b";
6361}
6462
6563msm6222b_01_device::msm6222b_01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66   msm6222b_device(mconfig, MSM6222B_01, "msm6222b-01", tag, owner, clock)
64   msm6222b_device(mconfig, MSM6222B_01, "msm6222b-01", tag, owner, clock, "msm6222b", __FILE__)
6765{
6866}
6967
trunk/src/mess/machine/c64_rex.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_rex_cartridge_device::c64_rex_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_REX, "C64 Rex cartridge", tag, owner, clock),
31   device_t(mconfig, C64_REX, "C64 Rex cartridge", tag, owner, clock, "c64_rex", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/plus4_sid.h
r22095r22096
4141
4242protected:
4343   // device-level overrides
44   virtual void device_config_complete() { m_shortname = "plus4_sid"; }
4544   virtual void device_start();
4645   virtual void device_reset();
4746
trunk/src/mess/machine/comx_epr.c
r22095r22096
5858//-------------------------------------------------
5959
6060comx_epr_device::comx_epr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
61   device_t(mconfig, COMX_EPR, "COMX-35 F&M EPROM Switchboard", tag, owner, clock),
61   device_t(mconfig, COMX_EPR, "COMX-35 F&M EPROM Switchboard", tag, owner, clock, "comx_epr", __FILE__),
6262   device_comx_expansion_card_interface(mconfig, *this),
6363   m_rom(*this, "f800"),
6464   m_eprom(*this, "eprom"),
trunk/src/mess/machine/northbridge.h
r22095r22096
1818{
1919public:
2020      // construction/destruction
21      northbridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21      northbridge_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);
2222protected:
2323      // device-level overrides
2424      virtual void device_start();
trunk/src/mess/machine/adam_fdc.c
r22095r22096
173173//-------------------------------------------------
174174
175175adam_fdc_device::adam_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
176   : device_t(mconfig, ADAM_FDC, "Adam FDC", tag, owner, clock),
176   : device_t(mconfig, ADAM_FDC, "Adam FDC", tag, owner, clock, "adam_fdc", __FILE__),
177177      device_adamnet_card_interface(mconfig, *this),
178178      m_maincpu(*this, M6801_TAG),
179179      m_fdc(*this, WD2793_TAG),
trunk/src/mess/machine/midiinport.c
r22095r22096
1111const device_type MIDIIN_PORT = &device_creator<midiin_port_device>;
1212
1313midiin_port_device::midiin_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
14   : device_t(mconfig, MIDIIN_PORT, "MIDI In port", tag, owner, clock),
14   : device_t(mconfig, MIDIIN_PORT, "MIDI In port", tag, owner, clock, "midiin_port", __FILE__),
1515      device_serial_port_interface(mconfig, *this),
1616      m_midiin(*this, "midiinimg")
1717{
trunk/src/mess/machine/msm6222b.h
r22095r22096
5151class msm6222b_device : public device_t {
5252public:
5353   msm6222b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
54   msm6222b_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
54   msm6222b_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);
5555
5656   void control_w(UINT8 data);
5757   UINT8 control_r();
trunk/src/mess/machine/c64_rex.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_rex"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/comx_epr.h
r22095r22096
3838   // device-level overrides
3939   virtual void device_start();
4040   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "comx_epr"; }
4241
4342   // device_comx_expansion_card_interface overrides
4443   virtual UINT8 comx_mrd_r(address_space &space, offs_t offset, int *extrom);
trunk/src/mess/machine/wangpc_tig.c
r22095r22096
165165//-------------------------------------------------
166166
167167wangpc_tig_device::wangpc_tig_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
168   device_t(mconfig, WANGPC_TIG, "Wang PC TIG Controller", tag, owner, clock),
168   device_t(mconfig, WANGPC_TIG, "Wang PC TIG Controller", tag, owner, clock, "wangpc_tig", __FILE__),
169169   device_wangpcbus_card_interface(mconfig, *this),
170170   m_hgdc0(*this, UPD7720_0_TAG),
171171   m_hgdc1(*this, UPD7720_1_TAG),
trunk/src/mess/machine/kc_d002.c
r22095r22096
8989//-------------------------------------------------
9090
9191kc_d002_device::kc_d002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
92      : device_t(mconfig, KC_D002, "D002 Bus Driver", tag, owner, clock),
92      : device_t(mconfig, KC_D002, "D002 Bus Driver", tag, owner, clock, "kc_d002", __FILE__),
9393      device_kcexp_interface( mconfig, *this )
9494{
9595}
trunk/src/mess/machine/adam_fdc.h
r22095r22096
5050
5151protected:
5252   // device-level overrides
53   virtual void device_config_complete() { m_shortname = "adam_fdc"; }
5453   virtual void device_start();
5554
5655   // device_adamnet_card_interface overrides
trunk/src/mess/machine/midiinport.h
r22095r22096
2525protected:
2626   virtual void device_start() { m_owner = dynamic_cast<serial_port_device *>(owner()); }
2727   virtual void device_reset() { }
28   virtual void device_config_complete() { m_shortname = "midiin_port"; }
2928private:
3029   serial_port_device *m_owner;
3130   required_device<midiin_device> m_midiin;
trunk/src/mess/machine/wangpc_tig.h
r22095r22096
4141   // device-level overrides
4242   virtual void device_start();
4343   virtual void device_reset();
44   virtual void device_config_complete() { m_shortname = "wangpc_tig"; }
4544
4645   // device_wangpcbus_card_interface overrides
4746   virtual UINT16 wangpcbus_iorc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/kc_d002.h
r22095r22096
3636   // device-level overrides
3737   virtual void device_start();
3838   virtual void device_reset();
39   virtual void device_config_complete() { m_shortname = "kc_d002"; }
4039
4140   // kcexp_interface overrides
4241   virtual void read(offs_t offset, UINT8 &data);
trunk/src/mess/machine/a2softcard.c
r22095r22096
4949//  LIVE DEVICE
5050//**************************************************************************
5151
52a2bus_softcard_device::a2bus_softcard_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),
52a2bus_softcard_device::a2bus_softcard_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   device_a2bus_card_interface(mconfig, *this),
5555   m_z80(*this, Z80_TAG),
5656   m_6502space(NULL)
5757{
58   m_shortname = "a2softcard";
5958}
6059
6160a2bus_softcard_device::a2bus_softcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
62   device_t(mconfig, A2BUS_SOFTCARD, "Microsoft SoftCard", tag, owner, clock),
61   device_t(mconfig, A2BUS_SOFTCARD, "Microsoft SoftCard", tag, owner, clock, "a2softcard", __FILE__),
6362   device_a2bus_card_interface(mconfig, *this),
6463   m_z80(*this, Z80_TAG),
6564   m_6502space(NULL)
6665{
67   m_shortname = "a2softcard";
6866}
6967
7068//-------------------------------------------------
trunk/src/mess/machine/diag264_lb_iec.c
r22095r22096
2828//-------------------------------------------------
2929
3030diag264_serial_loopback_device::diag264_serial_loopback_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DIAG264_SERIAL_LOOPBACK, "Diag264 Serial Loopback", tag, owner, clock),
31   : device_t(mconfig, DIAG264_SERIAL_LOOPBACK, "Diag264 Serial Loopback", tag, owner, clock, "diag264_serial_loopback", __FILE__),
3232      device_cbm_iec_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/a2softcard.h
r22095r22096
2222{
2323public:
2424   // construction/destruction
25   a2bus_softcard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   a2bus_softcard_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   a2bus_softcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2727
2828   // optional information overrides
trunk/src/mess/machine/isa_gblaster.c
r22095r22096
6464//-------------------------------------------------
6565
6666isa8_gblaster_device::isa8_gblaster_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67      device_t(mconfig, ISA8_GAME_BLASTER, "Game Blaster Sound Card", tag, owner, clock),
67      device_t(mconfig, ISA8_GAME_BLASTER, "Game Blaster Sound Card", tag, owner, clock, "isa_gblaster", __FILE__),
6868      device_isa8_card_interface(mconfig, *this)
6969{
7070}
trunk/src/mess/machine/diag264_lb_iec.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "diag264_serial_loopback"; }
3736   virtual void device_start();
3837
3938   // device_cbm_iec_interface overrides
trunk/src/mess/machine/isa_gblaster.h
r22095r22096
2626      // device-level overrides
2727      virtual void device_start();
2828      virtual void device_reset();
29      virtual void device_config_complete() { m_shortname = "isa_gblaster"; }
3029private:
3130      // internal state
3231};
trunk/src/mess/machine/apricotkb.c
r22095r22096
4444   {
4545      memset(&m_out_txd_cb, 0, sizeof(m_out_txd_cb));
4646   }
47
48   m_shortname = "aprikb";
4947}
5048
5149
r22095r22096
269267//-------------------------------------------------
270268
271269apricot_keyboard_device::apricot_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
272   : device_t(mconfig, APRICOT_KEYBOARD, "Apricot Keyboard", tag, owner, clock),
270   : device_t(mconfig, APRICOT_KEYBOARD, "Apricot Keyboard", tag, owner, clock, "aprikb", __FILE__),
273271      m_y0(*this, "Y0"),
274272      m_y1(*this, "Y1"),
275273      m_y2(*this, "Y2"),
trunk/src/mess/machine/c64_dela_ep64.c
r22095r22096
7171//-------------------------------------------------
7272
7373c64_dela_ep64_cartridge_device::c64_dela_ep64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
74   device_t(mconfig, C64_DELA_EP64, "C64 Rex 64KB EPROM cartridge", tag, owner, clock),
74   device_t(mconfig, C64_DELA_EP64, "C64 Rex 64KB EPROM cartridge", tag, owner, clock, "c64_dela_ep64", __FILE__),
7575   device_c64_expansion_card_interface(mconfig, *this),
7676   m_eprom(*this, "eprom")
7777{
trunk/src/mess/machine/plus4_std.c
r22095r22096
2828//-------------------------------------------------
2929
3030plus4_standard_cartridge_device::plus4_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, PLUS4_STD, "Plus/4 standard cartridge", tag, owner, clock),
31   device_t(mconfig, PLUS4_STD, "Plus/4 standard cartridge", tag, owner, clock, "plus4_standard", __FILE__),
3232   device_plus4_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_structured_basic.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_structured_basic_cartridge_device::c64_structured_basic_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_STRUCTURED_BASIC, "C64 Structured Basic cartridge", tag, owner, clock),
31   device_t(mconfig, C64_STRUCTURED_BASIC, "C64 Structured Basic cartridge", tag, owner, clock, "c64_structured_basic", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/vb_std.c
r22095r22096
2828//-------------------------------------------------
2929
3030videobrain_standard_cartridge_device::videobrain_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, VB_STD, "VideoBrain standard cartridge", tag, owner, clock),
31   device_t(mconfig, VB_STD, "VideoBrain standard cartridge", tag, owner, clock, "vb_std", __FILE__),
3232   device_videobrain_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/isa_finalchs.c
r22095r22096
9090//-------------------------------------------------
9191
9292isa8_finalchs_device::isa8_finalchs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
93      : device_t(mconfig, ISA8_FINALCHS, "Final Chess Card", tag, owner, clock),
93      : device_t(mconfig, ISA8_FINALCHS, "Final Chess Card", tag, owner, clock, "finalchs", __FILE__),
9494      device_isa8_card_interface( mconfig, *this )
9595{
96   m_shortname = "finalchs";
9796}
9897
9998//-------------------------------------------------
trunk/src/mess/machine/c64_dela_ep64.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_dela_ep64"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/vic1210.c
r22095r22096
2929//-------------------------------------------------
3030
3131vic1210_device::vic1210_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
32   : device_t(mconfig, VIC1210, "VIC1210", tag, owner, clock),
32   : device_t(mconfig, VIC1210, "VIC1210", tag, owner, clock, "vic1210", __FILE__),
3333      device_vic20_expansion_card_interface(mconfig, *this)
3434{
3535}
trunk/src/mess/machine/plus4_std.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "plus4_standard"; }
3837   virtual void device_start();
3938
4039   // device_plus4_expansion_card_interface overrides
trunk/src/mess/machine/c64_structured_basic.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_structured_basic"; }
3837   virtual void device_start();
3938   virtual void device_reset();
4039
trunk/src/mess/machine/vb_std.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "vb_std"; }
3736   virtual void device_start();
3837
3938   // device_videobrain_expansion_card_interface overrides
trunk/src/mess/machine/vic1112.c
r22095r22096
173173//-------------------------------------------------
174174
175175vic1112_device::vic1112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
176   : device_t(mconfig, VIC1112, "VIC1112", tag, owner, clock),
176   : device_t(mconfig, VIC1112, "VIC1112", tag, owner, clock, "vic1112", __FILE__),
177177      device_vic20_expansion_card_interface(mconfig, *this),
178178      m_via0(*this, M6522_0_TAG),
179179      m_via1(*this, M6522_1_TAG),
trunk/src/mess/machine/vp595.c
r22095r22096
6060//-------------------------------------------------
6161
6262vp595_device::vp595_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
63   device_t(mconfig, VP595, "VP595", tag, owner, clock),
63   device_t(mconfig, VP595, "VP595", tag, owner, clock, "vp595", __FILE__),
6464   device_vip_expansion_card_interface(mconfig, *this),
6565   m_pfg(*this, CDP1863_TAG)
6666{
trunk/src/mess/machine/vic1210.h
r22095r22096
3535protected:
3636   // device-level overrides
3737   virtual void device_start();
38   virtual void device_config_complete() { m_shortname = "vic1210"; }
3938
4039   // device_vic20_expansion_card_interface overrides
4140   virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
trunk/src/mess/machine/c64_midi_namesoft.c
r22095r22096
129129//-------------------------------------------------
130130
131131c64_namesoft_midi_cartridge_device::c64_namesoft_midi_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
132   device_t(mconfig, C64_MIDI_NAMESOFT, "C64 Namesoft MIDI", tag, owner, clock),
132   device_t(mconfig, C64_MIDI_NAMESOFT, "C64 Namesoft MIDI", tag, owner, clock, "c64_midins", __FILE__),
133133   device_c64_expansion_card_interface(mconfig, *this),
134134   m_acia(*this, MC6850_TAG),
135135   m_mdout(*this, "mdout"),
trunk/src/mess/machine/vic1112.h
r22095r22096
5050   // device-level overrides
5151   virtual void device_start();
5252   virtual void device_reset();
53   virtual void device_config_complete() { m_shortname = "vic1112"; }
5453
5554   // device_vic20_expansion_card_interface overrides
5655   virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
trunk/src/mess/machine/vp595.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vp595"; }
4039   virtual void device_start();
4140
4241   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/c64_midi_namesoft.h
r22095r22096
4444
4545protected:
4646   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "c64_midins"; }
4847   virtual void device_start();
4948   virtual void device_reset();
5049
trunk/src/mess/machine/acb4070.c
r22095r22096
1010const device_type ACB4070 = &device_creator<acb4070_device>;
1111
1212acb4070_device::acb4070_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
13   : scsihd_device(mconfig, ACB4070, "ACB4070", tag, owner, clock)
13   : scsihd_device(mconfig, ACB4070, "ACB4070", tag, owner, clock, "acb4070", __FILE__)
1414{
1515}
1616
trunk/src/mess/machine/comx_clm.c
r22095r22096
193193//-------------------------------------------------
194194
195195comx_clm_device::comx_clm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
196   device_t(mconfig, COMX_CLM, "COMX 80 Column Card", tag, owner, clock),
196   device_t(mconfig, COMX_CLM, "COMX 80 Column Card", tag, owner, clock, "comx_clm", __FILE__),
197197   device_comx_expansion_card_interface(mconfig, *this),
198198   m_crtc(*this, MC6845_TAG),
199199   m_rom(*this, "c000"),
trunk/src/mess/machine/c64_ross.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_ross_cartridge_device::c64_ross_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_ROSS, "C64 Ross cartridge", tag, owner, clock),
31   device_t(mconfig, C64_ROSS, "C64 Ross cartridge", tag, owner, clock, "c64_ross", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/ncr5390.c
r22095r22096
2020ADDRESS_MAP_END
2121
2222ncr5390_device::ncr5390_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23      : nscsi_device(mconfig, NCR5390, "5390 SCSI", tag, owner, clock)
23      : nscsi_device(mconfig, NCR5390, "5390 SCSI", tag, owner, clock, "ncr5390", __FILE__)
2424{
2525}
2626
r22095r22096
8383      memset(&m_irq_cb, 0, sizeof(m_irq_cb));
8484      memset(&m_drq_cb, 0, sizeof(m_drq_cb));
8585   }
86   m_shortname = "ncr5390";
8786}
8887
8988void ncr5390_device::reset_soft()
trunk/src/mess/machine/comx_clm.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "comx_clm"; }
4746
4847   // device_comx_expansion_card_interface overrides
4948   virtual int comx_ef4_r();
trunk/src/mess/machine/c64_ross.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_ross"; }
3837   virtual void device_start();
3938   virtual void device_reset();
4039
trunk/src/mess/machine/c64_midi_siel.c
r22095r22096
129129//-------------------------------------------------
130130
131131c64_siel_midi_cartridge_device::c64_siel_midi_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
132   device_t(mconfig, C64_MIDI_SIEL, "C64 Siel MIDI", tag, owner, clock),
132   device_t(mconfig, C64_MIDI_SIEL, "C64 Siel MIDI", tag, owner, clock, "c64_midisiel", __FILE__),
133133   device_c64_expansion_card_interface(mconfig, *this),
134134   m_acia(*this, MC6850_TAG),
135135   m_mdout(*this, "mdout"),
trunk/src/mess/machine/comxpl80.c
r22095r22096
160160//-------------------------------------------------
161161
162162comx_pl80_device::comx_pl80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
163   : device_t(mconfig, COMX_PL80, "COMX PL-80", tag, owner, clock),
163   : device_t(mconfig, COMX_PL80, "COMX PL-80", tag, owner, clock, "comx_pl80", __FILE__),
164164      device_centronics_peripheral_interface(mconfig, *this),
165165      m_plotter(*this, "PLOTTER"),
166166      m_font(*this, "FONT"),
trunk/src/mess/machine/applefdc.c
r22095r22096
103103//  ctor
104104//-------------------------------------------------
105105
106applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
107   : device_t(mconfig, type, name, tag, owner, clock)
106applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
107   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
108108{
109109   m_type = fdc_type;
110110}
r22095r22096
566566const device_type APPLEFDC = &device_creator<applefdc_device>;
567567
568568applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
569   : applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, "Apple FDC", tag, owner, clock)
569   : applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, "Apple FDC", tag, owner, clock, "apple_fdc", __FILE__)
570570{
571571}
572572
r22095r22096
579579const device_type IWM = &device_creator<iwm_device>;
580580
581581iwm_device::iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
582   : applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, "Apple IWM (Integrated Woz Machine)", tag, owner, clock)
582   : applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, "Apple IWM (Integrated Woz Machine)", tag, owner, clock, "iwm", __FILE__)
583583{
584584}
trunk/src/mess/machine/adam_kb.c
r22095r22096
224224//-------------------------------------------------
225225
226226adam_keyboard_device::adam_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
227   : device_t(mconfig, ADAM_KB, "Adam keyboard", tag, owner, clock),
227   : device_t(mconfig, ADAM_KB, "Adam keyboard", tag, owner, clock, "adam_kb", __FILE__),
228228      device_adamnet_card_interface(mconfig, *this),
229229      m_maincpu(*this, M6801_TAG),
230230      m_y0(*this, "Y0"),
trunk/src/mess/machine/c64_midi_siel.h
r22095r22096
4444
4545protected:
4646   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "c64_midisiel"; }
4847   virtual void device_start();
4948   virtual void device_reset();
5049
trunk/src/mess/machine/comxpl80.h
r22095r22096
4444
4545protected:
4646   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "comx_pl80"; }
4847   virtual void device_start();
4948   virtual void device_reset();
5049
trunk/src/mess/machine/applefdc.h
r22095r22096
7979   };
8080
8181   // constructor
82   applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
82   applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
8383
8484   // device-level overrides
8585   virtual void device_start();
trunk/src/mess/machine/adam_kb.h
r22095r22096
4747
4848protected:
4949   // device-level overrides
50   virtual void device_config_complete() { m_shortname = "adam_kb"; }
5150   virtual void device_start();
5251
5352   // device_adamnet_card_interface overrides
trunk/src/mess/machine/c64_rex_ep256.c
r22095r22096
9090//-------------------------------------------------
9191
9292c64_rex_ep256_cartridge_device::c64_rex_ep256_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
93   device_t(mconfig, C64_REX_EP256, "C64 Rex 256KB EPROM cartridge", tag, owner, clock),
93   device_t(mconfig, C64_REX_EP256, "C64 Rex 256KB EPROM cartridge", tag, owner, clock, "rexep256", __FILE__),
9494   device_c64_expansion_card_interface(mconfig, *this),
9595   m_eprom(*this, "eprom")
9696{
trunk/src/mess/machine/wangpckb.c
r22095r22096
383383//-------------------------------------------------
384384
385385wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
386   : device_t(mconfig, WANGPC_KEYBOARD, "Wang PC Keyboard", tag, owner, clock),
386   : device_t(mconfig, WANGPC_KEYBOARD, "Wang PC Keyboard", tag, owner, clock, "wangpckb", __FILE__),
387387      device_serial_interface(mconfig, *this),
388388      m_maincpu(*this, I8051_TAG),
389389      m_y0(*this, "Y0"),
trunk/src/mess/machine/c64_neoram.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_neoram_cartridge_device::c64_neoram_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_NEORAM, "C64 NeoRAM cartridge", tag, owner, clock),
31   device_t(mconfig, C64_NEORAM, "C64 NeoRAM cartridge", tag, owner, clock, "c64_neoram", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this),
3333   device_nvram_interface(mconfig, *this)
3434{
trunk/src/mess/machine/c64_rex_ep256.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "rexep256"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/wangpckb.h
r22095r22096
1/**********************************************************************
1   /**********************************************************************
22
33    Wang PC keyboard emulation
44
r22095r22096
6565
6666protected:
6767   // device-level overrides
68   virtual void device_config_complete() { m_shortname = "wangpckb"; }
6968   virtual void device_start();
7069   virtual void device_reset();
7170
trunk/src/mess/machine/c64_neoram.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_neoram"; }
3837   virtual void device_start();
3938   virtual void device_reset();
4039
trunk/src/mess/machine/c64_final.c
r22095r22096
6464//-------------------------------------------------
6565
6666c64_final_cartridge_device::c64_final_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67   device_t(mconfig, C64_FINAL, "C64 Final cartridge", tag, owner, clock),
67   device_t(mconfig, C64_FINAL, "C64 Final cartridge", tag, owner, clock, "c64_final", __FILE__),
6868   device_c64_expansion_card_interface(mconfig, *this)
6969{
7070}
trunk/src/mess/machine/c64_final.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_final"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/appldriv.c
r22095r22096
296296//-------------------------------------------------
297297
298298apple525_floppy_image_device::apple525_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
299   : legacy_floppy_image_device(mconfig, FLOPPY_APPLE, "Apple Disk II", tag, owner, clock)
299   : legacy_floppy_image_device(mconfig, FLOPPY_APPLE, "Apple Disk II", tag, owner, clock, "floppy_apple", __FILE__)
300300{
301301}
302302
trunk/src/mess/machine/c64_system3.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_system3_cartridge_device::c64_system3_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_SYSTEM3, "C64 System 3 cartridge", tag, owner, clock),
31   device_t(mconfig, C64_SYSTEM3, "C64 System 3 cartridge", tag, owner, clock, "c64_system3", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/wangpc_mvc.c
r22095r22096
207207//-------------------------------------------------
208208
209209wangpc_mvc_device::wangpc_mvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
210   device_t(mconfig, WANGPC_MVC, "Wang PC Medium Resolution Video Card", tag, owner, clock),
210   device_t(mconfig, WANGPC_MVC, "Wang PC Medium Resolution Video Card", tag, owner, clock, "wangpc_mvc", __FILE__),
211211   device_wangpcbus_card_interface(mconfig, *this),
212212   m_crtc(*this, MC6845_TAG),
213213   m_video_ram(*this, "video_ram"),
trunk/src/mess/machine/nubus_asntmc3b.c
r22095r22096
7878//  nubus_mac8390_device - constructor
7979//-------------------------------------------------
8080
81nubus_mac8390_device::nubus_mac8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
82      device_t(mconfig, NUBUS_ASNTMC3NB, name, tag, owner, clock),
81nubus_mac8390_device::nubus_mac8390_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) :
82      device_t(mconfig, NUBUS_ASNTMC3NB, name, tag, owner, clock, shortname, source),
8383      device_nubus_card_interface(mconfig, *this),
8484      m_dp83902(*this, MAC8390_839X)
8585{
8686}
8787
8888nubus_asntmc3nb_device::nubus_asntmc3nb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
89      nubus_mac8390_device(mconfig, NUBUS_ASNTMC3NB, "Asante MC3NB Ethernet card", tag, owner, clock)
89      nubus_mac8390_device(mconfig, NUBUS_ASNTMC3NB, "Asante MC3NB Ethernet card", tag, owner, clock, "nb_amc3b", __FILE__)
9090{
91   m_shortname = "nb_amc3b";
9291}
9392
9493nubus_appleenet_device::nubus_appleenet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
95      nubus_mac8390_device(mconfig, NUBUS_APPLEENET, "Apple NuBus Ethernet card", tag, owner, clock)
94      nubus_mac8390_device(mconfig, NUBUS_APPLEENET, "Apple NuBus Ethernet card", tag, owner, clock, "nb_aenet", __FILE__)
9695{
97   m_shortname = "nb_aenet";
9896}
9997
10098//-------------------------------------------------
trunk/src/mess/machine/c64_ide64.c
r22095r22096
9696//-------------------------------------------------
9797
9898c64_ide64_cartridge_device::c64_ide64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
99   device_t(mconfig, C64_IDE64, "C64 IDE64 cartridge", tag, owner, clock),
99   device_t(mconfig, C64_IDE64, "C64 IDE64 cartridge", tag, owner, clock, "c64_ide64", __FILE__),
100100   device_c64_expansion_card_interface(mconfig, *this),
101101   m_flash_rom(*this, AT29C010A_TAG),
102102   m_rtc(*this, DS1302_TAG),
trunk/src/mess/machine/c64_system3.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_system3"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/wangpc_mvc.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "wangpc_mvc"; }
4746
4847   // device_wangpcbus_card_interface overrides
4948   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/nubus_asntmc3b.h
r22095r22096
1919{
2020public:
2121      // construction/destruction
22      nubus_mac8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_mac8390_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/c64_ide64.h
r22095r22096
4141
4242protected:
4343   // device-level overrides
44   virtual void device_config_complete() { m_shortname = "c64_ide64"; }
4544   virtual void device_start();
4645   virtual void device_reset();
4746
trunk/src/mess/machine/c1571.c
r22095r22096
6262
6363
6464//-------------------------------------------------
65//  device_config_complete - perform any
66//  operations now that the configuration is
67//  complete
68//-------------------------------------------------
69
70void c1571_device::device_config_complete()
71{
72   switch (m_variant)
73   {
74   case TYPE_1570:
75      m_shortname = "c1570";
76      break;
77
78   default:
79   case TYPE_1571:
80      m_shortname = "c1571";
81      break;
82
83   case TYPE_1571CR:
84      m_shortname = "c1571cr";
85      break;
86
87   case TYPE_MINI_CHIEF:
88      m_shortname = "minichif";
89      break;
90   }
91}
92
93
94//-------------------------------------------------
9565//  ROM( c1570 )
9666//-------------------------------------------------
9767
r22095r22096
885855//  c1571_device - constructor
886856//-------------------------------------------------
887857
888c1571_device::c1571_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
889   : device_t(mconfig, type, name, tag, owner, clock),
858c1571_device::c1571_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)
859   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
890860      device_cbm_iec_interface(mconfig, *this),
891861      device_c64_floppy_parallel_interface(mconfig, *this),
892862      m_maincpu(*this, M6502_TAG),
r22095r22096
909879}
910880
911881c1571_device::c1571_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
912   : device_t(mconfig, C1571, "C1571", tag, owner, clock),
882   : device_t(mconfig, C1571, "C1571", tag, owner, clock, "c1571", __FILE__),
913883      device_cbm_iec_interface(mconfig, *this),
914884      device_c64_floppy_parallel_interface(mconfig, *this),
915885      m_maincpu(*this, M6502_TAG),
r22095r22096
938908//-------------------------------------------------
939909
940910c1570_device::c1570_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
941   : c1571_device(mconfig, C1570, "C1570", tag, owner, clock, TYPE_1570)
911   : c1571_device(mconfig, C1570, "C1570", tag, owner, clock, TYPE_1570, "c1570", __FILE__)
942912      //m_floppy(*this, WD1770_TAG":0:525ssdd")
943913{
944914}
r22095r22096
949919//-------------------------------------------------
950920
951921c1571cr_device::c1571cr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
952   : c1571_device(mconfig, C1571CR, "C1571CR", tag, owner, clock, TYPE_1571CR)
922   : c1571_device(mconfig, C1571CR, "C1571CR", tag, owner, clock, TYPE_1571CR, "c1571cr", __FILE__)
953923      //m_floppy(*this, WD1770_TAG":0:525dd")
954924{
955925}
r22095r22096
960930//-------------------------------------------------
961931
962932mini_chief_device::mini_chief_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
963   : c1571_device(mconfig, MINI_CHIEF, "ICT Mini Chief", tag, owner, clock, TYPE_MINI_CHIEF)
933   : c1571_device(mconfig, MINI_CHIEF, "ICT Mini Chief", tag, owner, clock, TYPE_MINI_CHIEF, "minichif", __FILE__)
964934      //m_floppy(*this, WD1770_TAG":0:525dd")
965935{
966936}
trunk/src/mess/machine/a2midi.c
r22095r22096
8484//**************************************************************************
8585
8686a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
87      device_t(mconfig, A2BUS_MIDI, "6850 MIDI card", tag, owner, clock),
87      device_t(mconfig, A2BUS_MIDI, "6850 MIDI card", tag, owner, clock, "a2midi", __FILE__),
8888      device_a2bus_card_interface(mconfig, *this),
8989      m_ptm(*this, MIDI_PTM_TAG),
9090      m_acia(*this, MIDI_ACIA_TAG),
9191      m_mdout(*this, "mdout")
9292{
93   m_shortname = "a2midi";
9493}
9594
96a2bus_midi_device::a2bus_midi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
97      device_t(mconfig, type, name, tag, owner, clock),
95a2bus_midi_device::a2bus_midi_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) :
96      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
9897      device_a2bus_card_interface(mconfig, *this),
9998      m_ptm(*this, MIDI_PTM_TAG),
10099      m_acia(*this, MIDI_ACIA_TAG),
101100      m_mdout(*this, "mdout")
102101{
103   m_shortname = "a2midi";
104102}
105103
106104//-------------------------------------------------
trunk/src/mess/machine/c1571.h
r22095r22096
5555   };
5656
5757   // construction/destruction
58   c1571_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
58   c1571_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);
5959   c1571_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6060
6161   // optional information overrides
r22095r22096
8989
9090protected:
9191   // device-level overrides
92   virtual void device_config_complete();
9392   virtual void device_start();
9493   virtual void device_reset();
9594
trunk/src/mess/machine/md_eeprom.c
r22095r22096
5858const device_type MD_EEPROM_BLARA = &device_creator<md_eeprom_blara_device>;
5959
6060
61md_std_eeprom_device::md_std_eeprom_device(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),
61md_std_eeprom_device::md_std_eeprom_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)
62               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
6363               device_md_cart_interface( mconfig, *this ),
6464               m_i2cmem(*this, "i2cmem")
6565{
6666}
6767
6868md_std_eeprom_device::md_std_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
69               : device_t(mconfig, MD_STD_EEPROM, "MD Standard cart + EEPROM", tag, owner, clock),
69               : device_t(mconfig, MD_STD_EEPROM, "MD Standard cart + EEPROM", tag, owner, clock, "md_std_eeprom", __FILE__),
7070               device_md_cart_interface( mconfig, *this ),
7171               m_i2cmem(*this, "i2cmem")
7272{
7373}
7474
7575md_eeprom_nbajam_device::md_eeprom_nbajam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76               : md_std_eeprom_device(mconfig, MD_EEPROM_NBAJAM, "MD NBA Jam", tag, owner, clock)
76               : md_std_eeprom_device(mconfig, MD_EEPROM_NBAJAM, "MD NBA Jam", tag, owner, clock, "md_eeprom_nbajam", __FILE__)
7777{
7878}
7979
8080md_eeprom_nbajamte_device::md_eeprom_nbajamte_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
81               : md_std_eeprom_device(mconfig, MD_EEPROM_NBAJAMTE, "MD NBA Jam TE (and a few more)", tag, owner, clock)
81               : md_std_eeprom_device(mconfig, MD_EEPROM_NBAJAMTE, "MD NBA Jam TE (and a few more)", tag, owner, clock, "md_eeprom_nbajamte", __FILE__)
8282{
8383}
8484
8585md_eeprom_cslam_device::md_eeprom_cslam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
86               : md_std_eeprom_device(mconfig, MD_EEPROM_CSLAM, "MD College Slam", tag, owner, clock)
86               : md_std_eeprom_device(mconfig, MD_EEPROM_CSLAM, "MD College Slam", tag, owner, clock, "md_eeprom_cslam", __FILE__)
8787{
8888}
8989
9090md_eeprom_nflqb_device::md_eeprom_nflqb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
91               : md_std_eeprom_device(mconfig, MD_EEPROM_NFLQB, "MD NFL Quarterback 96", tag, owner, clock)
91               : md_std_eeprom_device(mconfig, MD_EEPROM_NFLQB, "MD NFL Quarterback 96", tag, owner, clock, "md_eeprom_nflqb", __FILE__)
9292{
9393}
9494
9595md_eeprom_nhlpa_device::md_eeprom_nhlpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
96               : md_std_eeprom_device(mconfig, MD_EEPROM_NHLPA, "MD NHLPA 93", tag, owner, clock)
96               : md_std_eeprom_device(mconfig, MD_EEPROM_NHLPA, "MD NHLPA 93", tag, owner, clock, "md_eeprom_nhlpa", __FILE__)
9797{
9898}
9999
100100md_eeprom_blara_device::md_eeprom_blara_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
101               : md_std_eeprom_device(mconfig, MD_EEPROM_BLARA, "MD Brian Lara", tag, owner, clock)
101               : md_std_eeprom_device(mconfig, MD_EEPROM_BLARA, "MD Brian Lara", tag, owner, clock, "md_eeprom_blara", __FILE__)
102102{
103103}
104104
trunk/src/mess/machine/c64_sw8k.c
r22095r22096
7373//-------------------------------------------------
7474
7575c64_switchable_8k_cartridge_device::c64_switchable_8k_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
76   device_t(mconfig, C64_SW8K, "C64 Switchable 8K cartridge", tag, owner, clock),
76   device_t(mconfig, C64_SW8K, "C64 Switchable 8K cartridge", tag, owner, clock, "c64_sw8k", __FILE__),
7777   device_c64_expansion_card_interface(mconfig, *this),
7878   m_sw(*this, "SW")
7979{
trunk/src/mess/machine/a2midi.h
r22095r22096
2828public:
2929   // construction/destruction
3030   a2bus_midi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
31   a2bus_midi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
31   a2bus_midi_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);
3232
3333   // optional information overrides
3434   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/md_eeprom.h
r22095r22096
1616{
1717public:
1818   // construction/destruction
19   md_std_eeprom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
19   md_std_eeprom_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);
2020   md_std_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2121
2222   // device-level overrides
2323   virtual void device_start();
2424   virtual void device_reset();
25   virtual void device_config_complete() { m_shortname = "md_std_eeprom"; }
2625   virtual machine_config_constructor device_mconfig_additions() const;
2726
2827   // reading and writing
r22095r22096
4241   md_eeprom_nbajam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4342
4443   // device-level overrides
45   virtual void device_config_complete() { m_shortname = "md_eeprom_nbajam"; }
4644   virtual machine_config_constructor device_mconfig_additions() const;
4745
4846   // reading and writing
r22095r22096
5957   md_eeprom_nbajamte_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6058
6159   // device-level overrides
62   virtual void device_config_complete() { m_shortname = "md_eeprom_nbajamte"; }
6360   virtual machine_config_constructor device_mconfig_additions() const;
6461
6562   // reading and writing
r22095r22096
7673   md_eeprom_cslam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7774
7875   // device-level overrides
79   virtual void device_config_complete() { m_shortname = "md_eeprom_cslam"; }
8076   virtual machine_config_constructor device_mconfig_additions() const;
8177
8278   // reading and writing
r22095r22096
9389   md_eeprom_nflqb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
9490
9591   // device-level overrides
96   virtual void device_config_complete() { m_shortname = "md_eeprom_nflqb"; }
9792   virtual machine_config_constructor device_mconfig_additions() const;
9893
9994   // reading and writing
r22095r22096
110105   md_eeprom_nhlpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
111106
112107   // device-level overrides
113   virtual void device_config_complete() { m_shortname = "md_eeprom_nhlpa"; }
114108   virtual machine_config_constructor device_mconfig_additions() const;
115109
116110   // reading and writing
r22095r22096
127121   md_eeprom_blara_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
128122
129123   // device-level overrides
130   virtual void device_config_complete() { m_shortname = "md_eeprom_blara"; }
131124   virtual machine_config_constructor device_mconfig_additions() const;
132125
133126   // reading and writing
trunk/src/mess/machine/vp700.c
r22095r22096
4747//-------------------------------------------------
4848
4949vp700_device::vp700_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
50   device_t(mconfig, VP700, "VP700", tag, owner, clock),
50   device_t(mconfig, VP700, "VP700", tag, owner, clock, "vp700", __FILE__),
5151   device_vip_expansion_card_interface(mconfig, *this),
5252   m_rom(*this, "vp700")
5353{
trunk/src/mess/machine/c64_sw8k.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_sw8k"; }
4039   virtual void device_start();
4140   virtual void device_reset();
4241
trunk/src/mess/machine/vp700.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vp700"; }
4039   virtual void device_start();
4140
4241   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/kc_d004.c
r22095r22096
130130//-------------------------------------------------
131131
132132kc_d004_device::kc_d004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
133      : device_t(mconfig, KC_D004, "D004 Floppy Disk Interface", tag, owner, clock),
133      : device_t(mconfig, KC_D004, "D004 Floppy Disk Interface", tag, owner, clock, "kc_d004", __FILE__),
134134      device_kcexp_interface( mconfig, *this ),
135135      m_cpu(*this, Z80_TAG),
136136      m_fdc(*this, UPD765_TAG),
r22095r22096
138138{
139139}
140140
141kc_d004_device::kc_d004_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
142      : device_t(mconfig, type, name, tag, owner, clock),
141kc_d004_device::kc_d004_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)
142      : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
143143      device_kcexp_interface( mconfig, *this ),
144144      m_cpu(*this, Z80_TAG),
145145      m_fdc(*this, UPD765_TAG),
r22095r22096
389389//-------------------------------------------------
390390
391391kc_d004_gide_device::kc_d004_gide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
392      : kc_d004_device(mconfig, KC_D004, "D004 Floppy Disk + GIDE Interface", tag, owner, clock),
392      : kc_d004_device(mconfig, KC_D004, "D004 Floppy Disk + GIDE Interface", tag, owner, clock, "kc_d004gide", __FILE__),
393393      m_ide(*this, IDE_TAG)
394394{
395395}
trunk/src/mess/machine/c64_swiftlink.c
r22095r22096
108108//-------------------------------------------------
109109
110110c64_swiftlink_cartridge_device::c64_swiftlink_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
111   device_t(mconfig, C64_SWIFTLINK, "C64 SwiftLink cartridge", tag, owner, clock),
111   device_t(mconfig, C64_SWIFTLINK, "C64 SwiftLink cartridge", tag, owner, clock, "c64_swiftlink", __FILE__),
112112   device_c64_expansion_card_interface(mconfig, *this),
113113   m_acia(*this, MOS6551_TAG),
114114   m_io_cs(*this, "CS"),
trunk/src/mess/machine/c64_final3.c
r22095r22096
6565//-------------------------------------------------
6666
6767c64_final3_cartridge_device::c64_final3_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
68   device_t(mconfig, C64_FINAL3, "C64 Final Cartridge III", tag, owner, clock),
68   device_t(mconfig, C64_FINAL3, "C64 Final Cartridge III", tag, owner, clock, "c64_final3", __FILE__),
6969   device_c64_expansion_card_interface(mconfig, *this)
7070{
7171}
trunk/src/mess/machine/kc_d004.h
r22095r22096
2626public:
2727   // construction/destruction
2828   kc_d004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
29   kc_d004_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
29   kc_d004_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);
3030
3131   // optional information overrides
3232   virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
3939   virtual void device_start();
4040   virtual void device_reset();
4141   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
42   virtual void device_config_complete() { m_shortname = "kc_d004"; }
4342
4443   // kcexp_interface overrides
4544   virtual UINT8 module_id_r() { return 0xa7; }
r22095r22096
9594protected:
9695   // device-level overrides
9796   virtual void device_reset();
98   virtual void device_config_complete() { m_shortname = "kc_d004gide"; }
9997
10098public:
10199   DECLARE_READ8_MEMBER(gide_r);
trunk/src/mess/machine/c64_swiftlink.h
r22095r22096
4242
4343protected:
4444   // device-level overrides
45   virtual void device_config_complete() { m_shortname = "c64_swiftlink"; }
4645   virtual void device_start();
4746   virtual void device_reset();
4847
trunk/src/mess/machine/c64_final3.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_final3"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/vic10std.c
r22095r22096
2828//-------------------------------------------------
2929
3030vic10_standard_cartridge_device::vic10_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, VIC10_STD, "VIC-10 Standard Cartridge", tag, owner, clock),
31   : device_t(mconfig, VIC10_STD, "VIC-10 Standard Cartridge", tag, owner, clock, "vic10_standard", __FILE__),
3232      device_vic10_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/coco_fdc.c
r22095r22096
186186//-------------------------------------------------
187187//  coco_fdc_device - constructor
188188//-------------------------------------------------
189coco_fdc_device::coco_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
190   : device_t(mconfig, type, name, tag, owner, clock),
189coco_fdc_device::coco_fdc_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)
190   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
191191      device_cococart_interface( mconfig, *this )
192192{
193193}
194194
195195coco_fdc_device::coco_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
196      : device_t(mconfig, COCO_FDC, "CoCo FDC", tag, owner, clock),
196      : device_t(mconfig, COCO_FDC, "CoCo FDC", tag, owner, clock, "coco_fdc", __FILE__),
197197      device_cococart_interface( mconfig, *this )
198198{
199199}
r22095r22096
215215}
216216
217217//-------------------------------------------------
218//  device_config_complete - perform any
219//  operations now that the configuration is
220//  complete
221//-------------------------------------------------
222
223void coco_fdc_device::device_config_complete()
224{
225   m_shortname = "coco_fdc";
226}
227//-------------------------------------------------
228218//  machine_config_additions - device-specific
229219//  machine configurations
230220//-------------------------------------------------
r22095r22096
449439//-------------------------------------------------
450440//  dragon_fdc_device - constructor
451441//-------------------------------------------------
452dragon_fdc_device::dragon_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
453   : coco_fdc_device(mconfig, type, name, tag, owner, clock)
442dragon_fdc_device::dragon_fdc_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)
443   : coco_fdc_device(mconfig, type, name, tag, owner, clock, shortname, source)
454444{
455445}
456446dragon_fdc_device::dragon_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
457      : coco_fdc_device(mconfig, DRAGON_FDC, "Dragon FDC", tag, owner, clock)
447      : coco_fdc_device(mconfig, DRAGON_FDC, "Dragon FDC", tag, owner, clock, "dragon_fdc", __FILE__)
458448{
459449}
460450
r22095r22096
473463}
474464
475465//-------------------------------------------------
476//  device_config_complete - perform any
477//  operations now that the configuration is
478//  complete
479//-------------------------------------------------
480
481void dragon_fdc_device::device_config_complete()
482{
483   m_shortname = "dragon_fdc";
484}
485//-------------------------------------------------
486466//  machine_config_additions - device-specific
487467//  machine configurations
488468//-------------------------------------------------
r22095r22096
625605//-------------------------------------------------
626606
627607sdtandy_fdc_device::sdtandy_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
628      : dragon_fdc_device(mconfig, SDTANDY_FDC, "SDTANDY FDC", tag, owner, clock)
608      : dragon_fdc_device(mconfig, SDTANDY_FDC, "SDTANDY FDC", tag, owner, clock, "sdtandy_fdc", __FILE__)
629609{
630610}
631611
632612//-------------------------------------------------
633//  device_config_complete - perform any
634//  operations now that the configuration is
635//  complete
636//-------------------------------------------------
637
638void sdtandy_fdc_device::device_config_complete()
639{
640   m_shortname = "sdtandy_fdc";
641}
642
643//-------------------------------------------------
644613//  rom_region - device-specific ROM region
645614//-------------------------------------------------
646615
r22095r22096
668637//-------------------------------------------------
669638
670639coco_fdc_v11_device::coco_fdc_v11_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
671      : coco_fdc_device(mconfig, COCO_FDC_V11, "CoCo FDC v1.1", tag, owner, clock)
640      : coco_fdc_device(mconfig, COCO_FDC_V11, "CoCo FDC v1.1", tag, owner, clock, "coco_fdc_v11", __FILE__)
672641{
673642}
674643
675644//-------------------------------------------------
676//  device_config_complete - perform any
677//  operations now that the configuration is
678//  complete
679//-------------------------------------------------
680
681void coco_fdc_v11_device::device_config_complete()
682{
683   m_shortname = "coco_fdc_v11";
684}
685
686//-------------------------------------------------
687645//  rom_region - device-specific ROM region
688646//-------------------------------------------------
689647
r22095r22096
708666//-------------------------------------------------
709667
710668cp400_fdc_device::cp400_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
711      : coco_fdc_device(mconfig, CP400_FDC, "CP400 FDC", tag, owner, clock)
669      : coco_fdc_device(mconfig, CP400_FDC, "CP400 FDC", tag, owner, clock, "cp400_fdc", __FILE__)
712670{
713671}
714672
715673//-------------------------------------------------
716//  device_config_complete - perform any
717//  operations now that the configuration is
718//  complete
719//-------------------------------------------------
720
721void cp400_fdc_device::device_config_complete()
722{
723   m_shortname = "cp400_fdc";
724}
725
726//-------------------------------------------------
727674//  rom_region - device-specific ROM region
728675//-------------------------------------------------
729676
trunk/src/mess/machine/vic10std.h
r22095r22096
3434protected:
3535   // device-level overrides
3636   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "vic10_standard"; }
3837
3938   // device_vic10_expansion_card_interface overrides
4039   virtual UINT8 vic10_cd_r(address_space &space, offs_t offset, UINT8 data, int lorom, int uprom, int exram);
trunk/src/mess/machine/c64_magic_desk.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_magic_desk_cartridge_device::c64_magic_desk_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_MAGIC_DESK, "C64 Magic Desk cartridge", tag, owner, clock),
31   device_t(mconfig, C64_MAGIC_DESK, "C64 Magic Desk cartridge", tag, owner, clock, "c64_magic_desk", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/coco_fdc.h
r22095r22096
3030public:
3131      // construction/destruction
3232      coco_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
33      coco_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
33      coco_fdc_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      // optional information overrides
3636      virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
4646protected:
4747      // device-level overrides
4848      virtual void device_start();
49      virtual void device_config_complete();
5049      virtual DECLARE_READ8_MEMBER(read);
5150      virtual DECLARE_WRITE8_MEMBER(write);
5251
r22095r22096
8281
8382      // optional information overrides
8483      virtual const rom_entry *device_rom_region() const;
85protected:
86      // device-level overrides
87      virtual void device_config_complete();
8884};
8985
9086
r22095r22096
10298
10399      // optional information overrides
104100      virtual const rom_entry *device_rom_region() const;
105protected:
106      // device-level overrides
107      virtual void device_config_complete();
108101};
109102
110103
r22095r22096
119112public:
120113      // construction/destruction
121114      dragon_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
122      dragon_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
115      dragon_fdc_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);
123116
124117      // optional information overrides
125118      virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
129122protected:
130123      // device-level overrides
131124      virtual void device_start();
132      virtual void device_config_complete();
133125      virtual DECLARE_READ8_MEMBER(read);
134126      virtual DECLARE_WRITE8_MEMBER(write);
135127private:
r22095r22096
150142
151143      // optional information overrides
152144      virtual const rom_entry *device_rom_region() const;
153protected:
154      // device-level overrides
155      virtual void device_config_complete();
156145};
157146
158147
trunk/src/mess/machine/c64_pagefox.c
r22095r22096
5050//-------------------------------------------------
5151
5252c64_pagefox_cartridge_device::c64_pagefox_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
53   device_t(mconfig, C64_PAGEFOX, "C64 Pagefox cartridge", tag, owner, clock),
53   device_t(mconfig, C64_PAGEFOX, "C64 Pagefox cartridge", tag, owner, clock, "c64_pagefox", __FILE__),
5454   device_c64_expansion_card_interface(mconfig, *this)
5555{
5656}
trunk/src/mess/machine/z88_flash.c
r22095r22096
4040//-------------------------------------------------
4141
4242z88_1024k_flash_device::z88_1024k_flash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43      : device_t(mconfig, Z88_1024K_FLASH, "Z88 1024KB Flash", tag, owner, clock),
43      : device_t(mconfig, Z88_1024K_FLASH, "Z88 1024KB Flash", tag, owner, clock, "z88_1024k_flash", __FILE__),
4444      device_z88cart_interface( mconfig, *this ),
4545      m_flash(*this, FLASH_TAG)
4646{
trunk/src/mess/machine/c64_magic_desk.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_magic_desk"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/c64_pagefox.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_pagefox"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/vcs_joybooster.c
r22095r22096
5858//-------------------------------------------------
5959
6060vcs_joystick_booster_device::vcs_joystick_booster_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
61   device_t(mconfig, VCS_JOYSTICK_BOOSTER, "Digital joystick with Boostergrip", tag, owner, clock),
61   device_t(mconfig, VCS_JOYSTICK_BOOSTER, "Digital joystick with Boostergrip", tag, owner, clock, "vcs_joystick_booster", __FILE__),
6262   device_vcs_control_port_interface(mconfig, *this),
6363   m_joy(*this, "JOY"),
6464   m_potx(*this, "POTX"),
trunk/src/mess/machine/z88_flash.h
r22095r22096
2626protected:
2727   // device-level overrides
2828   virtual void device_start();
29   virtual void device_config_complete() { m_shortname = "z88_1024k_flash"; }
3029
3130   // z88cart_interface overrides
3231   virtual DECLARE_READ8_MEMBER(read);
trunk/src/mess/machine/adam_spi.c
r22095r22096
100100//-------------------------------------------------
101101
102102adam_spi_device::adam_spi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
103   : device_t(mconfig, ADAM_SPI, "Adam SPI", tag, owner, clock),
103   : device_t(mconfig, ADAM_SPI, "Adam SPI", tag, owner, clock, "adam_spi", __FILE__),
104104      device_adamnet_card_interface(mconfig, *this),
105105      m_maincpu(*this, M6801_TAG)
106106{
trunk/src/mess/machine/vcs_joybooster.h
r22095r22096
3737
3838protected:
3939   // device-level overrides
40   virtual void device_config_complete() { m_shortname = "vcs_joystick_booster"; }
4140   virtual void device_start();
4241
4342   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/sns_spc7110.c
r22095r22096
2828const device_type SNS_HIROM_SPC7110_RTC = &device_creator<sns_rom_spc7110rtc_device>;
2929
3030
31sns_rom_spc7110_device::sns_rom_spc7110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
32         : sns_rom21_device(mconfig, type, name, tag, owner, clock)
31sns_rom_spc7110_device::sns_rom_spc7110_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         : sns_rom21_device(mconfig, type, name, tag, owner, clock, shortname, source)
3333{
3434}
3535
3636sns_rom_spc7110_device::sns_rom_spc7110_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37         : sns_rom21_device(mconfig, SNS_HIROM_SPC7110, "SNES Cart + SPC-7110", tag, owner, clock)
37         : sns_rom21_device(mconfig, SNS_HIROM_SPC7110, "SNES Cart + SPC-7110", tag, owner, clock, "sns_rom_spc7110", __FILE__)
3838{
3939}
4040
4141sns_rom_spc7110rtc_device::sns_rom_spc7110rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42         : sns_rom_spc7110_device(mconfig, SNS_HIROM_SPC7110_RTC, "SNES Cart + SPC-7110 + RTC", tag, owner, clock)
42         : sns_rom_spc7110_device(mconfig, SNS_HIROM_SPC7110_RTC, "SNES Cart + SPC-7110 + RTC", tag, owner, clock, "sns_rom_spc7110rtc", __FILE__)
4343{
4444}
4545
trunk/src/mess/machine/adam_spi.h
r22095r22096
4141
4242protected:
4343   // device-level overrides
44   virtual void device_config_complete() { m_shortname = "adam_spi"; }
4544   virtual void device_start();
4645
4746   // device_adamnet_card_interface overrides
trunk/src/mess/machine/sns_spc7110.h
r22095r22096
7272{
7373public:
7474   // construction/destruction
75   sns_rom_spc7110_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
75   sns_rom_spc7110_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);
7676   sns_rom_spc7110_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7777
7878   // device-level overrides
7979   virtual void device_start();
80   virtual void device_config_complete() { m_shortname = "sns_rom_spc7110"; }
8180
8281   // reading and writing
8382   virtual DECLARE_READ8_MEMBER(read_l);
r22095r22096
194193
195194   // device-level overrides
196195   virtual void device_start();
197   virtual void device_config_complete() { m_shortname = "sns_rom_spc7110rtc"; }
198196
199197   // reading and writing
200198
trunk/src/mess/machine/v1050kb.c
r22095r22096
304304//-------------------------------------------------
305305
306306v1050_keyboard_device::v1050_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
307   : device_t(mconfig, V1050_KEYBOARD, "Visual 1050 Keyboard", tag, owner, clock),
307   : device_t(mconfig, V1050_KEYBOARD, "Visual 1050 Keyboard", tag, owner, clock, "v1050kb", __FILE__),
308308      m_maincpu(*this, I8049_TAG),
309309      m_discrete(*this, DISCRETE_TAG),
310310      m_y0(*this, "Y0"),
trunk/src/mess/machine/coco_multi.c
r22095r22096
131131//-------------------------------------------------
132132
133133coco_multipak_device::coco_multipak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
134      : device_t(mconfig, COCO_MULTIPAK, "CoCo Multi-Pak Interface", tag, owner, clock),
134      : device_t(mconfig, COCO_MULTIPAK, "CoCo Multi-Pak Interface", tag, owner, clock, "coco_multipak", __FILE__),
135135      device_cococart_interface( mconfig, *this )
136136{
137137}
trunk/src/mess/machine/v1050kb.h
r22095r22096
6969   // device-level overrides
7070   virtual void device_start();
7171   virtual void device_reset();
72   virtual void device_config_complete() { m_shortname = "v1050kb"; }
7372
7473private:
7574   required_device<cpu_device> m_maincpu;
trunk/src/mess/machine/c64_kingsoft.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_kingsoft_cartridge_device::c64_kingsoft_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_KINGSOFT, "C64 Kingsoft cartridge", tag, owner, clock),
31   device_t(mconfig, C64_KINGSOFT, "C64 Kingsoft cartridge", tag, owner, clock, "c64_kingsoft", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/coco_multi.h
r22095r22096
3939   // device-level overrides
4040   virtual void device_start();
4141   virtual void device_reset();
42   virtual void device_config_complete() { m_shortname = "coco_multipak"; }
4342   virtual DECLARE_READ8_MEMBER(read);
4443   virtual DECLARE_WRITE8_MEMBER(write);
4544
trunk/src/mess/machine/wangpc_emb.c
r22095r22096
4545//-------------------------------------------------
4646
4747wangpc_emb_device::wangpc_emb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
48   device_t(mconfig, WANGPC_EMB, "Wang PC-PM031-B", tag, owner, clock),
48   device_t(mconfig, WANGPC_EMB, "Wang PC-PM031-B", tag, owner, clock, "wangpc_emb", __FILE__),
4949   device_wangpcbus_card_interface(mconfig, *this),
5050   m_ram(*this, "ram")
5151{
trunk/src/mess/machine/c64_dela_ep256.c
r22095r22096
9090//-------------------------------------------------
9191
9292c64_dela_ep256_cartridge_device::c64_dela_ep256_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
93   device_t(mconfig, C64_DELA_EP256, "C64 Dela 256KB EPROM cartridge", tag, owner, clock),
93   device_t(mconfig, C64_DELA_EP256, "C64 Dela 256KB EPROM cartridge", tag, owner, clock, "delep256", __FILE__),
9494   device_c64_expansion_card_interface(mconfig, *this),
9595   m_eprom(*this, "eprom")
9696{
trunk/src/mess/machine/c64_kingsoft.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_kingsoft"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/c64_4tba.c
r22095r22096
6363//-------------------------------------------------
6464
6565c64_4tba_device::c64_4tba_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66   device_t(mconfig, C64_4TBA, "C64 Tie Break Adapter", tag, owner, clock),
66   device_t(mconfig, C64_4TBA, "C64 Tie Break Adapter", tag, owner, clock, "c64_4tba", __FILE__),
6767   device_c64_user_port_interface(mconfig, *this),
6868   m_pb(*this, "PB"),
6969   m_pa2(*this, "PA2")
trunk/src/mess/machine/coco_orch90.c
r22095r22096
3737//-------------------------------------------------
3838
3939coco_orch90_device::coco_orch90_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40      : device_t(mconfig, COCO_ORCH90, "CoCo Orch-90 PAK", tag, owner, clock),
40      : device_t(mconfig, COCO_ORCH90, "CoCo Orch-90 PAK", tag, owner, clock, "coco_orch90", __FILE__),
4141      device_cococart_interface( mconfig, *this )
4242{
4343}
trunk/src/mess/machine/wangpc_emb.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "wangpc_emb"; }
3938
4039   // device_wangpcbus_card_interface overrides
4140   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/c64_dela_ep256.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "delep256"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/c64_4tba.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_4tba"; }
4039   virtual void device_start();
4140
4241   // device_c64_user_port_interface overrides
trunk/src/mess/machine/coco_orch90.h
r22095r22096
2626protected:
2727      // device-level overrides
2828      virtual void device_start();
29      virtual void device_config_complete() { m_shortname = "coco_orch90"; }
3029      virtual DECLARE_WRITE8_MEMBER(write);
3130private:
3231      // internal state
trunk/src/mess/machine/vp620.c
r22095r22096
6868//-------------------------------------------------
6969
7070vp620_device::vp620_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
71   device_t(mconfig, VP620, "VP620", tag, owner, clock),
71   device_t(mconfig, VP620, "VP620", tag, owner, clock, "vp620", __FILE__),
7272   device_vip_byteio_port_interface(mconfig, *this),
7373   m_keydata(0),
7474   m_keystb(CLEAR_LINE)
trunk/src/mess/machine/vp620.h
r22095r22096
3939
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "vp620"; }
4342   virtual void device_start();
4443
4544   // device_vip_byteio_port_interface overrides
trunk/src/mess/machine/softbox.c
r22095r22096
160160//-------------------------------------------------
161161
162162softbox_device::softbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
163   : device_t(mconfig, SOFTBOX, "SoftBox", tag, owner, clock),
163   : device_t(mconfig, SOFTBOX, "SoftBox", tag, owner, clock, "softbox", __FILE__),
164164      device_ieee488_interface(mconfig, *this),
165165      m_maincpu(*this, Z80_TAG)
166166{
trunk/src/mess/machine/sat_bram.c
r22095r22096
1919const device_type SATURN_BRAM_32MB = &device_creator<saturn_bram32mb_device>;
2020
2121
22saturn_bram_device::saturn_bram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size)
23               : device_t(mconfig, type, name, tag, owner, clock),
22saturn_bram_device::saturn_bram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size, const char *shortname, const char *source)
23               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2424                  device_sat_cart_interface( mconfig, *this ),
2525                  device_nvram_interface(mconfig, *this),
2626                  m_size(size)
r22095r22096
2828}
2929
3030saturn_bram4mb_device::saturn_bram4mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31               : saturn_bram_device(mconfig, SATURN_BRAM_4MB, "Saturn Battery RAM 4Mbit Cart", tag, owner, clock, 0x80000)
31               : saturn_bram_device(mconfig, SATURN_BRAM_4MB, "Saturn Battery RAM 4Mbit Cart", tag, owner, clock, 0x80000, "sat_bram_4mb", __FILE__)
3232{
3333   m_cart_type = 0x21;
3434}
3535
3636saturn_bram8mb_device::saturn_bram8mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37               : saturn_bram_device(mconfig, SATURN_BRAM_8MB, "Saturn Battery RAM 8Mbit Cart", tag, owner, clock, 0x100000)
37               : saturn_bram_device(mconfig, SATURN_BRAM_8MB, "Saturn Battery RAM 8Mbit Cart", tag, owner, clock, 0x100000, "sat_bram_8mb", __FILE__)
3838{
3939   m_cart_type = 0x22;
4040}
4141
4242saturn_bram16mb_device::saturn_bram16mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43               : saturn_bram_device(mconfig, SATURN_BRAM_16MB, "Saturn Battery RAM 16Mbit Cart", tag, owner, clock, 0x200000)
43               : saturn_bram_device(mconfig, SATURN_BRAM_16MB, "Saturn Battery RAM 16Mbit Cart", tag, owner, clock, 0x200000, "sat_bram_16mb", __FILE__)
4444{
4545   m_cart_type = 0x23;
4646}
4747
4848saturn_bram32mb_device::saturn_bram32mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49               : saturn_bram_device(mconfig, SATURN_BRAM_32MB, "Saturn Battery RAM 32Mbit Cart", tag, owner, clock, 0x400000)
49               : saturn_bram_device(mconfig, SATURN_BRAM_32MB, "Saturn Battery RAM 32Mbit Cart", tag, owner, clock, 0x400000, "sat_bram_32mb", __FILE__)
5050{
5151   m_cart_type = 0x24;
5252}
trunk/src/mess/machine/softbox.h
r22095r22096
4343   // device-level overrides
4444   virtual void device_start();
4545   virtual void device_reset();
46   virtual void device_config_complete() { m_shortname = "softbox"; }
4746
4847   // device_ieee488_interface overrides
4948   void ieee488_atn(int state);
trunk/src/mess/machine/isa_gus.c
r22095r22096
12891289
12901290
12911291isa16_gus_device::isa16_gus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1292      : device_t(mconfig, ISA16_GUS, "Gravis Ultrasound", tag, owner, clock),
1292      : device_t(mconfig, ISA16_GUS, "Gravis Ultrasound", tag, owner, clock, "isa_gus", __FILE__),
12931293      device_isa16_card_interface( mconfig, *this )
12941294{
12951295}
trunk/src/mess/machine/sat_bram.h
r22095r22096
1212{
1313public:
1414   // construction/destruction
15   saturn_bram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size);
15   saturn_bram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size, const char *shortname, const char *source);
1616
1717   // device-level overrides
1818   virtual void device_start();
1919   virtual void device_reset();
20   virtual void device_config_complete() { m_shortname = "sat_bram"; }
2120
2221   // device_nvram_interface overrides
2322   virtual void nvram_default() { }
r22095r22096
3635public:
3736   // construction/destruction
3837   saturn_bram4mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
39
40   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "sat_bram_4mb"; }
4238};
4339
4440class saturn_bram8mb_device : public saturn_bram_device
r22095r22096
4642public:
4743   // construction/destruction
4844   saturn_bram8mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
49
50   // device-level overrides
51   virtual void device_config_complete() { m_shortname = "sat_bram_8mb"; }
5245};
5346
5447class saturn_bram16mb_device : public saturn_bram_device
r22095r22096
5649public:
5750   // construction/destruction
5851   saturn_bram16mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
59
60   // device-level overrides
61   virtual void device_config_complete() { m_shortname = "sat_bram_16mb"; }
6252};
6353
6454class saturn_bram32mb_device : public saturn_bram_device
r22095r22096
6656public:
6757   // construction/destruction
6858   saturn_bram32mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
69
70   // device-level overrides
71   virtual void device_config_complete() { m_shortname = "sat_bram_32mb"; }
7259};
7360
7461
trunk/src/mess/machine/isa_gus.h
r22095r22096
271271      virtual void device_start();
272272      virtual void device_reset();
273273      virtual void device_stop();
274      virtual void device_config_complete() { m_shortname = "isa_gus"; }
275274private:
276275      gf1_device* m_gf1;
277276      acia6850_device* m_midi;
trunk/src/mess/machine/c1581.c
r22095r22096
4747
4848
4949//-------------------------------------------------
50//  device_config_complete - perform any
51//  operations now that the configuration is
52//  complete
53//-------------------------------------------------
54
55void c1581_device::device_config_complete()
56{
57   switch (m_variant)
58   {
59   default:
60   case TYPE_1581:
61      m_shortname = "c1581";
62      break;
63
64   case TYPE_1563:
65      m_shortname = "c1563";
66      break;
67   }
68}
69
70
71//-------------------------------------------------
7250//  ROM( c1581 )
7351//-------------------------------------------------
7452
r22095r22096
329307//  c1581_device - constructor
330308//-------------------------------------------------
331309
332c1581_device::c1581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
333   : device_t(mconfig, type, name, tag, owner, clock),
310c1581_device::c1581_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)
311   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
334312      device_cbm_iec_interface(mconfig, *this),
335313      m_maincpu(*this, M6502_TAG),
336314      m_cia(*this, M8520_TAG),
r22095r22096
346324}
347325
348326c1581_device::c1581_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
349   : device_t(mconfig, C1581, "C1581", tag, owner, clock),
327   : device_t(mconfig, C1581, "C1581", tag, owner, clock, "c1581", __FILE__),
350328      device_cbm_iec_interface(mconfig, *this),
351329      m_maincpu(*this, M6502_TAG),
352330      m_cia(*this, M8520_TAG),
r22095r22096
367345//-------------------------------------------------
368346
369347c1563_device::c1563_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
370   : c1581_device(mconfig, C1563, "C1563", tag, owner, clock, TYPE_1563) { }
348   : c1581_device(mconfig, C1563, "C1563", tag, owner, clock, TYPE_1563, "c1563", __FILE__) { }
371349
372350
373351//-------------------------------------------------
trunk/src/mess/machine/c1581.h
r22095r22096
4141{
4242public:
4343   // construction/destruction
44   c1581_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
44   c1581_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);
4545   c1581_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4646
4747   enum
r22095r22096
6666
6767protected:
6868   // device-level overrides
69   virtual void device_config_complete();
7069   virtual void device_start();
7170   virtual void device_reset();
7271
trunk/src/mess/machine/z88_rom.c
r22095r22096
3030//-------------------------------------------------
3131
3232z88_32k_rom_device::z88_32k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
33      : device_t(mconfig, Z88_32K_ROM, "Z88 32KB ROM", tag, owner, clock),
33      : device_t(mconfig, Z88_32K_ROM, "Z88 32KB ROM", tag, owner, clock, "z88_32k_rom", __FILE__),
3434      device_z88cart_interface( mconfig, *this )
3535{
3636}
3737
38z88_32k_rom_device::z88_32k_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
39      : device_t(mconfig, type, name, tag, owner, clock),
38z88_32k_rom_device::z88_32k_rom_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)
39      : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4040      device_z88cart_interface( mconfig, *this )
4141{
4242}
r22095r22096
4646//-------------------------------------------------
4747
4848z88_128k_rom_device::z88_128k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49      : z88_32k_rom_device(mconfig, Z88_128K_ROM, "Z88 128KB ROM", tag, owner, clock)
49      : z88_32k_rom_device(mconfig, Z88_128K_ROM, "Z88 128KB ROM", tag, owner, clock, "z88_128k_rom", __FILE__)
5050{
5151}
5252
r22095r22096
5555//-------------------------------------------------
5656
5757z88_256k_rom_device::z88_256k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
58      : z88_32k_rom_device(mconfig, Z88_256K_ROM, "Z88 256KB ROM", tag, owner, clock)
58      : z88_32k_rom_device(mconfig, Z88_256K_ROM, "Z88 256KB ROM", tag, owner, clock, "z88_256k_rom", __FILE__)
5959{
6060}
6161
trunk/src/mess/machine/gb_mbc.c
r22095r22096
3131const device_type GB_ROM_SM3SP = &device_creator<gb_rom_sm3sp_device>;
3232
3333
34gb_rom_mbc_device::gb_rom_mbc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
35               : device_t(mconfig, type, name, tag, owner, clock),
34gb_rom_mbc_device::gb_rom_mbc_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)
35               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3636                  device_gb_cart_interface( mconfig, *this )
3737{
3838}
3939
4040gb_rom_mbc1_device::gb_rom_mbc1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41               : gb_rom_mbc_device(mconfig, GB_ROM_MBC1, "GB MBC1 Carts", tag, owner, clock)
41               : gb_rom_mbc_device(mconfig, GB_ROM_MBC1, "GB MBC1 Carts", tag, owner, clock, "gb_rom_mbc1", __FILE__)
4242{
4343}
4444
4545gb_rom_mbc1col_device::gb_rom_mbc1col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46               : gb_rom_mbc_device(mconfig, GB_ROM_MBC1_COL, "GB MBC1 Collection Carts", tag, owner, clock)
46               : gb_rom_mbc_device(mconfig, GB_ROM_MBC1_COL, "GB MBC1 Collection Carts", tag, owner, clock, "gb_rom_mbc1col", __FILE__)
4747{
4848}
4949
5050gb_rom_mbc2_device::gb_rom_mbc2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51               : gb_rom_mbc_device(mconfig, GB_ROM_MBC2, "GB MBC2 Carts", tag, owner, clock)
51               : gb_rom_mbc_device(mconfig, GB_ROM_MBC2, "GB MBC2 Carts", tag, owner, clock, "gb_rom_mbc2", __FILE__)
5252{
5353}
5454
5555gb_rom_mbc3_device::gb_rom_mbc3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
56               : gb_rom_mbc_device(mconfig, GB_ROM_MBC3, "GB MBC3 Carts", tag, owner, clock)
56               : gb_rom_mbc_device(mconfig, GB_ROM_MBC3, "GB MBC3 Carts", tag, owner, clock, "gb_rom_mbc3", __FILE__)
5757{
5858}
5959
60gb_rom_mbc5_device::gb_rom_mbc5_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
61               : gb_rom_mbc_device(mconfig, type, name, tag, owner, clock)
60gb_rom_mbc5_device::gb_rom_mbc5_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)
61               : gb_rom_mbc_device(mconfig, type, name, tag, owner, clock, shortname, source)
6262{
6363}
6464
6565gb_rom_mbc5_device::gb_rom_mbc5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
66               : gb_rom_mbc_device(mconfig, GB_ROM_MBC5, "GB MBC5 Carts", tag, owner, clock)
66               : gb_rom_mbc_device(mconfig, GB_ROM_MBC5, "GB MBC5 Carts", tag, owner, clock, "gb_rom_mbc5", __FILE__)
6767{
6868}
6969
7070gb_rom_mbc6_device::gb_rom_mbc6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
71               : gb_rom_mbc_device(mconfig, GB_ROM_MBC6, "GB MBC6 Carts", tag, owner, clock)
71               : gb_rom_mbc_device(mconfig, GB_ROM_MBC6, "GB MBC6 Carts", tag, owner, clock, "gb_rom_mbc6", __FILE__)
7272{
7373}
7474
7575gb_rom_mbc7_device::gb_rom_mbc7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
76               : gb_rom_mbc_device(mconfig, GB_ROM_MBC7, "GB MBC7 Carts", tag, owner, clock)
76               : gb_rom_mbc_device(mconfig, GB_ROM_MBC7, "GB MBC7 Carts", tag, owner, clock, "gb_rom_mbc7", __FILE__)
7777{
7878}
7979
8080gb_rom_mmm01_device::gb_rom_mmm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
81               : gb_rom_mbc_device(mconfig, GB_ROM_MMM01, "GB MMM01 Carts", tag, owner, clock)
81               : gb_rom_mbc_device(mconfig, GB_ROM_MMM01, "GB MMM01 Carts", tag, owner, clock, "gb_rom_mmm01", __FILE__)
8282{
8383}
8484
8585gb_rom_sintax_device::gb_rom_sintax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
86               : gb_rom_mbc_device(mconfig, GB_ROM_SINTAX, "GB MBC5 Sintax Carts", tag, owner, clock)
86               : gb_rom_mbc_device(mconfig, GB_ROM_SINTAX, "GB MBC5 Sintax Carts", tag, owner, clock, "gb_rom_sintax", __FILE__)
8787{
8888}
8989
9090gb_rom_chongwu_device::gb_rom_chongwu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
91               : gb_rom_mbc5_device(mconfig, GB_ROM_CHONGWU, "GB Chong Wu Xiao Jing Ling", tag, owner, clock)
91               : gb_rom_mbc5_device(mconfig, GB_ROM_CHONGWU, "GB Chong Wu Xiao Jing Ling", tag, owner, clock, "gb_rom_chongwu", __FILE__)
9292{
9393}
9494
9595gb_rom_digimon_device::gb_rom_digimon_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
96               : gb_rom_mbc5_device(mconfig, GB_ROM_DIGIMON, "GB Digimon", tag, owner, clock)
96               : gb_rom_mbc5_device(mconfig, GB_ROM_DIGIMON, "GB Digimon", tag, owner, clock, "gb_rom_digimon", __FILE__)
9797{
9898}
9999
100100gb_rom_rockman8_device::gb_rom_rockman8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
101               : gb_rom_mbc_device(mconfig, GB_ROM_ROCKMAN8, "GB MBC1 Rockman 8", tag, owner, clock)
101               : gb_rom_mbc_device(mconfig, GB_ROM_ROCKMAN8, "GB MBC1 Rockman 8", tag, owner, clock, "gb_rom_rockman8", __FILE__)
102102{
103103}
104104
105105gb_rom_sm3sp_device::gb_rom_sm3sp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
106               : gb_rom_mbc_device(mconfig, GB_ROM_SM3SP, "GB MBC1 Super Mario 3 Special", tag, owner, clock)
106               : gb_rom_mbc_device(mconfig, GB_ROM_SM3SP, "GB MBC1 Super Mario 3 Special", tag, owner, clock, "gb_rom_sm3sp", __FILE__)
107107{
108108}
109109
trunk/src/mess/machine/isa_wdxt_gen.c
r22095r22096
212212//-------------------------------------------------
213213
214214wdxt_gen_device::wdxt_gen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
215   : device_t(mconfig, WDXT_GEN, "Western Digital WDXT-GEN (Amstrad PC1512/1640)", tag, owner, clock),
215   : device_t(mconfig, WDXT_GEN, "Western Digital WDXT-GEN (Amstrad PC1512/1640)", tag, owner, clock, "wdxt_gen", __FILE__),
216216      device_isa8_card_interface(mconfig, *this),
217217      m_maincpu(*this, WD1015_TAG),
218218      m_host(*this, WD11C00_17_TAG),
trunk/src/mess/machine/z88_rom.h
r22095r22096
1818public:
1919   // construction/destruction
2020   z88_32k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
21   z88_32k_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21   z88_32k_rom_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);
2222
2323protected:
2424   // device-level overrides
2525   virtual void device_start();
26   virtual void device_config_complete() { m_shortname = "z88_32k_rom"; }
2726
2827   // z88cart_interface overrides
2928   virtual DECLARE_READ8_MEMBER(read);
r22095r22096
4443   z88_128k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4544
4645protected:
47   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "z88_128k_rom"; }
49
5046   // z88cart_interface overrides
5147   virtual UINT32 get_cart_size() { return 0x20000; }
5248};
r22095r22096
6056   z88_256k_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6157
6258protected:
63   // device-level overrides
64   virtual void device_config_complete() { m_shortname = "z88_256k_rom"; }
65
6659   // z88cart_interface overrides
6760   virtual UINT32 get_cart_size() { return 0x200000; }
6861};
trunk/src/mess/machine/terminal.c
r22095r22096
136136   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
137137};
138138
139generic_terminal_device::generic_terminal_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
140   : device_t(mconfig, type, name, tag, owner, clock),
139generic_terminal_device::generic_terminal_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)
140   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
141141      m_io_term_frame(*this, "TERM_FRAME"),
142142      m_io_term_conf(*this, "TERM_CONF")
143143{
r22095r22096
447447}
448448
449449serial_terminal_device::serial_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
450   : generic_terminal_device(mconfig, SERIAL_TERMINAL, "Serial Terminal", tag, owner, clock),
450   : generic_terminal_device(mconfig, SERIAL_TERMINAL, "Serial Terminal", tag, owner, clock, "serial_terminal", __FILE__),
451451      device_serial_interface(mconfig, *this),
452452      device_serial_port_interface(mconfig, *this)
453453{
r22095r22096
464464   {
465465      memset(&m_out_tx_cb, 0, sizeof(m_out_tx_cb));
466466   }
467   m_shortname = "serial_terminal";
468467}
469468
470469static int rates[] = {150, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200};
trunk/src/mess/machine/gb_mbc.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   gb_rom_mbc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   gb_rom_mbc_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
1616   // device-level overrides
1717   virtual void device_start() { shared_start(); };
1818   virtual void device_reset() { shared_reset(); };
19   virtual void device_config_complete() { m_shortname = "gb_rom_mbc_base"; }
2019
2120   void shared_start();
2221   void shared_reset();
r22095r22096
4140   // device-level overrides
4241   virtual void device_start() { shared_start(); };
4342   virtual void device_reset() { shared_reset(); };
44   virtual void device_config_complete() { m_shortname = "gb_rom_mbc1"; }
4543
4644   virtual DECLARE_READ8_MEMBER(read_rom);
4745   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
6058   // device-level overrides
6159   virtual void device_start() { shared_start(); };
6260   virtual void device_reset() { shared_reset(); };
63   virtual void device_config_complete() { m_shortname = "gb_rom_mbc1col"; }
6461
6562   virtual DECLARE_READ8_MEMBER(read_rom);
6663   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
7976   // device-level overrides
8077   virtual void device_start() { shared_start(); };
8178   virtual void device_reset() { shared_reset(); };
82   virtual void device_config_complete() { m_shortname = "gb_rom_mbc2"; }
8379
8480   virtual DECLARE_READ8_MEMBER(read_rom);
8581   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
9894   // device-level overrides
9995   virtual void device_start();
10096   virtual void device_reset();
101   virtual void device_config_complete() { m_shortname = "gb_rom_mbc3"; }
10297
10398   virtual DECLARE_READ8_MEMBER(read_rom);
10499   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
113108{
114109public:
115110   // construction/destruction
116   gb_rom_mbc5_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
111   gb_rom_mbc5_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);
117112   gb_rom_mbc5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
118113
119114   // device-level overrides
120115   virtual void device_start() { shared_start(); };
121116   virtual void device_reset() { shared_reset(); };
122   virtual void device_config_complete() { m_shortname = "gb_rom_mbc5"; }
123117
124118   virtual DECLARE_READ8_MEMBER(read_rom);
125119   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
138132   // device-level overrides
139133   virtual void device_start();
140134   virtual void device_reset();
141   virtual void device_config_complete() { m_shortname = "gb_rom_mbc6"; }
142135
143136   virtual DECLARE_READ8_MEMBER(read_rom);
144137   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
159152   // device-level overrides
160153   virtual void device_start() { shared_start(); };
161154   virtual void device_reset() { shared_reset(); };
162   virtual void device_config_complete() { m_shortname = "gb_rom_mbc7"; }
163155
164156   virtual DECLARE_READ8_MEMBER(read_rom);
165157   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
177169   // device-level overrides
178170   virtual void device_start();
179171   virtual void device_reset();
180   virtual void device_config_complete() { m_shortname = "gb_rom_mmm01"; }
181172
182173   // reading and writing
183174   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
195186   // device-level overrides
196187   virtual void device_start();
197188   virtual void device_reset();
198   virtual void device_config_complete() { m_shortname = "gb_rom_sintax"; }
199189   void set_xor_for_bank(UINT8 bank);
200190
201191   // reading and writing
r22095r22096
219209   // device-level overrides
220210   virtual void device_start();
221211   virtual void device_reset();
222   virtual void device_config_complete() { m_shortname = "gb_rom_chongwu"; }
223212
224213   virtual DECLARE_READ8_MEMBER(read_rom);
225214   UINT8 m_protection_checked;
r22095r22096
236225   // device-level overrides
237226   virtual void device_start() { shared_start(); };
238227   virtual void device_reset() { shared_reset(); };
239   virtual void device_config_complete() { m_shortname = "gb_rom_digimon"; }
240228
241229   virtual DECLARE_READ8_MEMBER(read_rom);
242230   virtual DECLARE_WRITE8_MEMBER(write_bank);
r22095r22096
254242   // device-level overrides
255243   virtual void device_start() { shared_start(); };
256244   virtual void device_reset() { shared_reset(); };
257   virtual void device_config_complete() { m_shortname = "gb_rom_rockman8"; }
258245
259246   // reading and writing
260247   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
274261   // device-level overrides
275262   virtual void device_start() { shared_start(); };
276263   virtual void device_reset() { shared_reset(); };
277   virtual void device_config_complete() { m_shortname = "gb_rom_sm3sp"; }
278264
279265   // reading and writing
280266   virtual DECLARE_READ8_MEMBER(read_rom);
trunk/src/mess/machine/isa_wdxt_gen.h
r22095r22096
6464   // device-level overrides
6565   virtual void device_start();
6666   virtual void device_reset();
67   virtual void device_config_complete() { m_shortname = "wdxt_gen"; }
6867
6968   // device_isa8_card_interface
7069   virtual UINT8 dack_r(int line);
trunk/src/mess/machine/terminal.h
r22095r22096
5151   public terminal_interface
5252{
5353public:
54   generic_terminal_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
54   generic_terminal_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);
5555   generic_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
5656   DECLARE_WRITE8_MEMBER(write) { term_write(data); }
5757   DECLARE_WRITE8_MEMBER(kbd_put);
trunk/src/mess/machine/a2themill.c
r22095r22096
6868//  LIVE DEVICE
6969//**************************************************************************
7070
71a2bus_themill_device::a2bus_themill_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
72   device_t(mconfig, type, name, tag, owner, clock),
71a2bus_themill_device::a2bus_themill_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) :
72   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7373   device_a2bus_card_interface(mconfig, *this),
7474   m_6809(*this, M6809_TAG),
7575   m_6502space(NULL)
7676{
77   m_shortname = "a2themill";
7877}
7978
8079a2bus_themill_device::a2bus_themill_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
81   device_t(mconfig, A2BUS_THEMILL, "Stellation Two The Mill", tag, owner, clock),
80   device_t(mconfig, A2BUS_THEMILL, "Stellation Two The Mill", tag, owner, clock, "a2themill", __FILE__),
8281   device_a2bus_card_interface(mconfig, *this),
8382   m_6809(*this, M6809_TAG),
8483   m_6502space(NULL)
8584{
86   m_shortname = "a2themill";
8785}
8886
8987//-------------------------------------------------
trunk/src/mess/machine/c64_magic_voice.c
r22095r22096
8282//-------------------------------------------------
8383
8484c64_magic_voice_cartridge_device::c64_magic_voice_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
85   device_t(mconfig, C64_MAGIC_VOICE, "C64 Magic Voice cartridge", tag, owner, clock),
85   device_t(mconfig, C64_MAGIC_VOICE, "C64 Magic Voice cartridge", tag, owner, clock, "c64_magic_voice", __FILE__),
8686   device_c64_expansion_card_interface(mconfig, *this),
8787   m_vslsi(*this, T6721A_TAG),
8888   m_tpi(*this, MOS6525_TAG),
trunk/src/mess/machine/a2themill.h
r22095r22096
2222{
2323public:
2424   // construction/destruction
25   a2bus_themill_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   a2bus_themill_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   a2bus_themill_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2727
2828   // optional information overrides
trunk/src/mess/machine/c64_magic_voice.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_magic_voice"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/a2eauxslot.c
r22095r22096
3030{
3131}
3232
33a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
34      device_t(mconfig, type, name, tag, owner, clock),
33a2eauxslot_slot_device::a2eauxslot_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) :
34      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3535      device_slot_interface(mconfig, *this)
3636{
3737}
r22095r22096
102102{
103103}
104104
105a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
106      device_t(mconfig, type, name, tag, owner, clock)
105a2eauxslot_device::a2eauxslot_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) :
106      device_t(mconfig, type, name, tag, owner, clock, shortname, source)
107107{
108108}
109109//-------------------------------------------------
trunk/src/mess/machine/c64_currah_speech.c
r22095r22096
169169//-------------------------------------------------
170170
171171c64_currah_speech_cartridge_device::c64_currah_speech_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
172   device_t(mconfig, C64_CURRAH_SPEECH, "C64 Currah Speech", tag, owner, clock),
172   device_t(mconfig, C64_CURRAH_SPEECH, "C64 Currah Speech", tag, owner, clock, "c64_cs", __FILE__),
173173   device_c64_expansion_card_interface(mconfig, *this),
174174   m_nsp(*this, SP0256_TAG)
175175{
trunk/src/mess/machine/serialbox.c
r22095r22096
9595//-------------------------------------------------
9696
9797serial_box_device::serial_box_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
98   : device_t(mconfig, SERIAL_BOX, "Serial Box", tag, owner, clock),
98   : device_t(mconfig, SERIAL_BOX, "Serial Box", tag, owner, clock, "serbox", __FILE__),
9999      device_cbm_iec_interface(mconfig, *this),
100100      m_maincpu(*this, M6502_TAG)
101101{
trunk/src/mess/machine/c64_midi_passport.c
r22095r22096
153153//-------------------------------------------------
154154
155155c64_passport_midi_cartridge_device::c64_passport_midi_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
156   device_t(mconfig, C64_MIDI_PASSPORT, "C64 Passport MIDI", tag, owner, clock),
156   device_t(mconfig, C64_MIDI_PASSPORT, "C64 Passport MIDI", tag, owner, clock, "c64_midipp", __FILE__),
157157   device_c64_expansion_card_interface(mconfig, *this),
158158   m_acia(*this, MC6850_TAG),
159159   m_ptm(*this, MC6840_TAG),
trunk/src/mess/machine/a2eauxslot.h
r22095r22096
4444public:
4545   // construction/destruction
4646   a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
47   a2eauxslot_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
47   a2eauxslot_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);
4848
4949   // device-level overrides
5050   virtual void device_start();
r22095r22096
7575public:
7676   // construction/destruction
7777   a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
78   a2eauxslot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
78   a2eauxslot_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);
7979   // inline configuration
8080   static void static_set_cputag(device_t &device, const char *tag);
8181
trunk/src/mess/machine/c64_currah_speech.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_cs"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/serialbox.h
r22095r22096
4848   // device-level overrides
4949   virtual void device_start();
5050   virtual void device_reset();
51   virtual void device_config_complete() { m_shortname = "serbox"; }
5251
5352   // device_cbm_iec_interface overrides
5453   void cbm_iec_atn(int state);
trunk/src/mess/machine/c64_midi_passport.h
r22095r22096
4646
4747protected:
4848   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "c64_midipp"; }
5049   virtual void device_start();
5150   virtual void device_reset();
5251
trunk/src/mess/machine/pc9801_118.c
r22095r22096
127127//-------------------------------------------------
128128
129129pc9801_118_device::pc9801_118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
130   : device_t(mconfig, PC9801_118, "pc9801_118", tag, owner, clock),
130   : device_t(mconfig, PC9801_118, "pc9801_118", tag, owner, clock, "pc9801_118", __FILE__),
131131//      m_maincpu(*owner, "maincpu"),
132132      m_opn3(*this, "opn3")
133133{
trunk/src/mess/machine/pc9801_118.h
r22095r22096
4545   virtual void device_validity_check(validity_checker &valid) const;
4646   virtual void device_start();
4747   virtual void device_reset();
48   virtual void device_config_complete() { m_shortname = "pc9801_118"; }
4948   void install_device(offs_t start, offs_t end, offs_t mask, offs_t mirror, read8_delegate rhandler, write8_delegate whandler);
5049
5150private:
trunk/src/mess/machine/bw2_ramcard.c
r22095r22096
4848//-------------------------------------------------
4949
5050bw2_ramcard_device::bw2_ramcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, BW2_RAMCARD, "RAMCARD", tag, owner, clock),
51   : device_t(mconfig, BW2_RAMCARD, "RAMCARD", tag, owner, clock, "bw2_ramcard", __FILE__),
5252      device_bw2_expansion_slot_interface(mconfig, *this),
5353      m_rom(*this, "ramcard"),
5454      m_ram(*this, "ram"),
trunk/src/mess/machine/nes_slot.c
r22095r22096
12121212const device_type NES_ROM = &device_creator<nes_rom_device>;
12131213
12141214nes_rom_device::nes_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1215               : device_t(mconfig, NES_ROM, "NES ROM", tag, owner, clock),
1215               : device_t(mconfig, NES_ROM, "NES ROM", tag, owner, clock, "nes_rom", __FILE__),
12161216               device_nes_cart_interface( mconfig, *this )
12171217{
12181218}
12191219
1220nes_rom_device::nes_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
1221               : device_t(mconfig, type, name, tag, owner, clock),
1220nes_rom_device::nes_rom_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)
1221               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
12221222               device_nes_cart_interface( mconfig, *this )
12231223{
12241224}
trunk/src/mess/machine/bw2_ramcard.h
r22095r22096
3535
3636protected:
3737   // device-level overrides
38   virtual void device_config_complete() { m_shortname = "bw2_ramcard"; }
3938   virtual void device_start();
4039   virtual void device_reset();
4140
trunk/src/mess/machine/c2031.c
r22095r22096
407407//-------------------------------------------------
408408
409409c2031_device::c2031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
410   : device_t(mconfig, C2031, "C2031", tag, owner, clock),
410   : device_t(mconfig, C2031, "C2031", tag, owner, clock, "c2031", __FILE__),
411411      device_ieee488_interface(mconfig, *this),
412412      m_maincpu(*this, M6502_TAG),
413413      m_via0(*this, M6522_0_TAG),
trunk/src/mess/machine/c64_fun_play.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_fun_play_cartridge_device::c64_fun_play_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_FUN_PLAY, "C64 Fun Play cartridge", tag, owner, clock),
31   device_t(mconfig, C64_FUN_PLAY, "C64 Fun Play cartridge", tag, owner, clock, "c64_fun_play", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/nes_slot.h
r22095r22096
189189public:
190190   // construction/destruction
191191   nes_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
192   nes_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
192   nes_rom_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);
193193
194194   //protected:
195195   // device-level overrides
196196   virtual void device_start();
197   virtual void device_config_complete() { m_shortname = "nes_rom"; }
198197
199198   // nescart_interface overrides
200199//  virtual DECLARE_READ8_MEMBER(read_l);
trunk/src/mess/machine/c2031.h
r22095r22096
5555
5656protected:
5757   // device-level overrides
58   virtual void device_config_complete() { m_shortname = "c2031"; }
5958   virtual void device_start();
6059   virtual void device_reset();
6160
trunk/src/mess/machine/c64_fun_play.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_fun_play"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/md_stm95.c
r22095r22096
161161const device_type MD_EEPROM_STM95 = &device_creator<md_eeprom_stm95_device>;
162162
163163
164md_eeprom_stm95_device::md_eeprom_stm95_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
165               : device_t(mconfig, type, name, tag, owner, clock),
164md_eeprom_stm95_device::md_eeprom_stm95_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)
165               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
166166               device_md_cart_interface( mconfig, *this )
167167{
168168}
169169
170170md_eeprom_stm95_device::md_eeprom_stm95_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
171               : device_t(mconfig, MD_EEPROM_STM95, "MD Cart + EEPROM STM95", tag, owner, clock),
171               : device_t(mconfig, MD_EEPROM_STM95, "MD Cart + EEPROM STM95", tag, owner, clock, "md_eeprom_stm95", __FILE__),
172172               device_md_cart_interface( mconfig, *this )
173173{
174174}
trunk/src/mess/machine/md_stm95.h
r22095r22096
5858{
5959public:
6060   // construction/destruction
61   md_eeprom_stm95_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
61   md_eeprom_stm95_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);
6262   md_eeprom_stm95_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6363
6464   // device-level overrides
6565   virtual void device_start();
6666   virtual void device_reset();
67   virtual void device_config_complete() { m_shortname = "md_eeprom_stm95"; }
6867
6968   // reading and writing
7069   virtual DECLARE_READ16_MEMBER(read);
trunk/src/mess/machine/egret.c
r22095r22096
333333//-------------------------------------------------
334334
335335egret_device::egret_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
336   : device_t(mconfig, EGRET, "Apple Egret", tag, owner, clock),
336   : device_t(mconfig, EGRET, "Apple Egret", tag, owner, clock, "egret", __FILE__),
337337   device_nvram_interface(mconfig, *this),
338338   m_maincpu(*this, EGRET_CPU_TAG)
339339{
r22095r22096
352352
353353void egret_device::device_config_complete()
354354{
355   m_shortname = "egret";
356
357355   // inherit a copy of the static data
358356   const egret_interface *intf = reinterpret_cast<const egret_interface *>(static_config());
359357   if (intf != NULL)
trunk/src/mess/machine/c64_std.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_standard_cartridge_device::c64_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_STD, "C64 standard cartridge", tag, owner, clock),
31   device_t(mconfig, C64_STD, "C64 standard cartridge", tag, owner, clock, "c64_standard", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/vb_timeshare.c
r22095r22096
2828//-------------------------------------------------
2929
3030videobrain_timeshare_cartridge_device::videobrain_timeshare_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, VB_TIMESHARE, "VideoBrain Timeshare cartridge", tag, owner, clock),
31   device_t(mconfig, VB_TIMESHARE, "VideoBrain Timeshare cartridge", tag, owner, clock, "vb_timeshare", __FILE__),
3232   device_videobrain_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_std.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "c64_standard"; }
3837   virtual void device_start();
3938
4039   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/c64_dela_ep7x8.c
r22095r22096
8686//-------------------------------------------------
8787
8888c64_dela_ep7x8_cartridge_device::c64_dela_ep7x8_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
89   device_t(mconfig, C64_DELA_EP7X8, "C64 Dela 7x8KB EPROM cartridge", tag, owner, clock),
89   device_t(mconfig, C64_DELA_EP7X8, "C64 Dela 7x8KB EPROM cartridge", tag, owner, clock, "ep7x8", __FILE__),
9090   device_c64_expansion_card_interface(mconfig, *this),
9191   m_eprom(*this, "eprom")
9292{
trunk/src/mess/machine/vb_timeshare.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "vb_timeshare"; }
3736   virtual void device_start();
3837
3938   // device_videobrain_expansion_card_interface overrides
trunk/src/mess/machine/adam_prn.c
r22095r22096
102102//-------------------------------------------------
103103
104104adam_printer_device::adam_printer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
105   : device_t(mconfig, ADAM_PRN, "Adam printer", tag, owner, clock),
105   : device_t(mconfig, ADAM_PRN, "Adam printer", tag, owner, clock, "adam_prn", __FILE__),
106106      device_adamnet_card_interface(mconfig, *this),
107107      m_maincpu(*this, M6801_TAG)
108108{
trunk/src/mess/machine/c64_dela_ep7x8.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "ep7x8"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/vcs_lightpen.c
r22095r22096
5858//-------------------------------------------------
5959
6060vcs_lightpen_device::vcs_lightpen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
61   device_t(mconfig, VCS_LIGHTPEN, "Light Pen", tag, owner, clock),
61   device_t(mconfig, VCS_LIGHTPEN, "Light Pen", tag, owner, clock, "vcs_lightpen", __FILE__),
6262   device_vcs_control_port_interface(mconfig, *this),
6363   m_joy(*this, "JOY"),
6464   m_lightx(*this, "LIGHTX"),
trunk/src/mess/machine/adam_prn.h
r22095r22096
4545
4646protected:
4747   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "adam_prn"; }
4948   virtual void device_start();
5049
5150   // device_adamnet_card_interface overrides
trunk/src/mess/machine/c2040.c
r22095r22096
7878
7979
8080//-------------------------------------------------
81//  device_config_complete - perform any
82//  operations now that the configuration is
83//  complete
84//-------------------------------------------------
85
86void c2040_device::device_config_complete()
87{
88   switch (m_variant)
89   {
90   default:
91   case TYPE_2040:
92      m_shortname = "c2040";
93      break;
94
95   case TYPE_3040:
96      m_shortname = "c3040";
97      break;
98
99   case TYPE_4040:
100      m_shortname = "c4040";
101      break;
102
103   case TYPE_8050:
104      m_shortname = "c8050";
105      break;
106
107   case TYPE_8250:
108      m_shortname = "c8250";
109      break;
110
111   case TYPE_8250LP:
112      m_shortname = "c8250lp";
113      break;
114
115   case TYPE_SFD1001:
116      m_shortname = "sfd1001";
117      break;
118   }
119}
120
121
122//-------------------------------------------------
12381//  ROM( c2040 )
12482//-------------------------------------------------
12583
r22095r22096
14601418//  c2040_device - constructor
14611419//-------------------------------------------------
14621420
1463c2040_device::c2040_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
1464   : device_t(mconfig, type, name, tag, owner, clock),
1421c2040_device::c2040_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)
1422   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
14651423      device_ieee488_interface(mconfig, *this),
14661424      m_maincpu(*this, M6502_TAG),
14671425      m_fdccpu(*this, M6504_TAG),
r22095r22096
14991457}
15001458
15011459c2040_device::c2040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1502   : device_t(mconfig, C2040, "C2040", tag, owner, clock),
1460   : device_t(mconfig, C2040, "C2040", tag, owner, clock, "c2040", __FILE__),
15031461      device_ieee488_interface(mconfig, *this),
15041462      m_maincpu(*this, M6502_TAG),
15051463      m_fdccpu(*this, M6504_TAG),
r22095r22096
15411499//-------------------------------------------------
15421500
15431501c3040_device::c3040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1544   : c2040_device(mconfig, C3040, "C3040", tag, owner, clock, TYPE_3040) { }
1502   : c2040_device(mconfig, C3040, "C3040", tag, owner, clock, TYPE_3040, "c3040", __FILE__) { }
15451503
15461504
15471505//-------------------------------------------------
r22095r22096
15491507//-------------------------------------------------
15501508
15511509c4040_device::c4040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1552   : c2040_device(mconfig, C4040, "C4040", tag, owner, clock, TYPE_4040) { }
1510   : c2040_device(mconfig, C4040, "C4040", tag, owner, clock, TYPE_4040, "c4040", __FILE__) { }
15531511
15541512
15551513//-------------------------------------------------
15561514//  c8050_device - constructor
15571515//-------------------------------------------------
15581516
1559c8050_device::c8050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
1560   : c2040_device(mconfig, type, name, tag, owner, clock, variant) { }
1517c8050_device::c8050_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)
1518   : c2040_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
15611519
15621520c8050_device::c8050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1563   : c2040_device(mconfig, C8050, "C8050", tag, owner, clock, TYPE_8050) { }
1521   : c2040_device(mconfig, C8050, "C8050", tag, owner, clock, TYPE_8050, "c8050", __FILE__) { }
15641522
15651523
15661524//-------------------------------------------------
r22095r22096
15681526//-------------------------------------------------
15691527
15701528c8250_device::c8250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1571   : c8050_device(mconfig, C8250, "C8250", tag, owner, clock, TYPE_8250) { }
1529   : c8050_device(mconfig, C8250, "C8250", tag, owner, clock, TYPE_8250, "c8250", __FILE__) { }
15721530
15731531
15741532//-------------------------------------------------
r22095r22096
15761534//-------------------------------------------------
15771535
15781536c8250lp_device::c8250lp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1579   : c8050_device(mconfig, C8250LP, "C8250LP", tag, owner, clock, TYPE_8250LP) { }
1537   : c8050_device(mconfig, C8250LP, "C8250LP", tag, owner, clock, TYPE_8250LP, "c8250lp", __FILE__) { }
15801538
15811539
15821540//-------------------------------------------------
r22095r22096
15841542//-------------------------------------------------
15851543
15861544sfd1001_device::sfd1001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1587   : c8050_device(mconfig, SFD1001, "SFD1001", tag, owner, clock, TYPE_SFD1001) { }
1545   : c8050_device(mconfig, SFD1001, "SFD1001", tag, owner, clock, TYPE_SFD1001, "sfd1001", __FILE__) { }
15881546
15891547
15901548//-------------------------------------------------
trunk/src/mess/machine/vcs_lightpen.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "vcs_lightpen"; }
4241   virtual void device_start();
4342
4443   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/c64_midi_sci.c
r22095r22096
129129//-------------------------------------------------
130130
131131c64_sequential_midi_cartridge_device::c64_sequential_midi_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
132   device_t(mconfig, C64_MIDI_SCI, "C64 Sequential Circuits MIDI", tag, owner, clock),
132   device_t(mconfig, C64_MIDI_SCI, "C64 Sequential Circuits MIDI", tag, owner, clock, "c64_midisci", __FILE__),
133133   device_c64_expansion_card_interface(mconfig, *this),
134134   m_acia(*this, MC6850_TAG),
135135   m_mdout(*this, "mdout"),
trunk/src/mess/machine/c2040.h
r22095r22096
4848   };
4949
5050   // construction/destruction
51   c2040_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
51   c2040_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);
5252   c2040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
5353
5454   // not really public
r22095r22096
7878
7979protected:
8080   // device-level overrides
81   virtual void device_config_complete();
8281   virtual void device_start();
8382   virtual void device_reset();
8483   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
r22095r22096
175174public:
176175   // construction/destruction
177176   c8050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
178   c8050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
177   c8050_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);
179178
180179   DECLARE_READ8_MEMBER( via_pb_r );
181180   DECLARE_WRITE8_MEMBER( via_pb_w );
trunk/src/mess/machine/c64_vic1011.c
r22095r22096
7070//-------------------------------------------------
7171
7272c64_vic1011_device::c64_vic1011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73   : device_t(mconfig, C64_VIC1011, "C64 VIC1011", tag, owner, clock),
73   : device_t(mconfig, C64_VIC1011, "C64 VIC1011", tag, owner, clock, "c64_vic1011", __FILE__),
7474      device_c64_user_port_interface(mconfig, *this),
7575      m_rs232(*this, RS232_TAG)
7676{
trunk/src/mess/machine/wangpc_mcc.c
r22095r22096
156156//-------------------------------------------------
157157
158158wangpc_mcc_device::wangpc_mcc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
159   device_t(mconfig, WANGPC_MCC, "Wang PC-PM043", tag, owner, clock),
159   device_t(mconfig, WANGPC_MCC, "Wang PC-PM043", tag, owner, clock, "wangpc_mcc", __FILE__),
160160   device_wangpcbus_card_interface(mconfig, *this),
161161   m_sio(*this, Z80SIO2_TAG),
162162   m_dart(*this, Z80DART_TAG)
trunk/src/mess/machine/c64_midi_sci.h
r22095r22096
4444
4545protected:
4646   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "c64_midisci"; }
4847   virtual void device_start();
4948   virtual void device_reset();
5049
trunk/src/mess/machine/c64_vic1011.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_vic1011"; }
4241   virtual void device_start();
4342
4443   // device_c64_user_port_interface overrides
trunk/src/mess/machine/wangpc_mcc.h
r22095r22096
3939   // device-level overrides
4040   virtual void device_start();
4141   virtual void device_reset();
42   virtual void device_config_complete() { m_shortname = "wangpc_mcc"; }
4342
4443   // device_wangpcbus_card_interface overrides
4544   virtual UINT16 wangpcbus_iorc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/s100_wunderbus.c
r22095r22096
264264//-------------------------------------------------
265265
266266s100_wunderbus_device::s100_wunderbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
267   device_t(mconfig, S100_WUNDERBUS, "Wunderbus I/O", tag, owner, clock),
267   device_t(mconfig, S100_WUNDERBUS, "Wunderbus I/O", tag, owner, clock, "s100_wunderbus", __FILE__),
268268   device_s100_card_interface(mconfig, *this),
269269   m_pic(*this, I8259A_TAG),
270270   m_ace1(*this, INS8250_1_TAG),
trunk/src/mess/machine/a2mockingboard.c
r22095r22096
134134//  LIVE DEVICE
135135//**************************************************************************
136136
137a2bus_ayboard_device::a2bus_ayboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
138   device_t(mconfig, type, name, tag, owner, clock),
137a2bus_ayboard_device::a2bus_ayboard_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   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
139139   device_a2bus_card_interface(mconfig, *this),
140140   m_via1(*this, VIA1_TAG),
141141   m_via2(*this, VIA2_TAG),
r22095r22096
147147}
148148
149149a2bus_mockingboard_device::a2bus_mockingboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
150   a2bus_ayboard_device(mconfig, A2BUS_MOCKINGBOARD, "Sweet Micro Systems Mockingboard", tag, owner, clock)
150   a2bus_ayboard_device(mconfig, A2BUS_MOCKINGBOARD, "Sweet Micro Systems Mockingboard", tag, owner, clock, "a2mockbd", __FILE__)
151151{
152   m_shortname = "a2mockbd";
153152   m_isPhasor = false;
154153   m_PhasorNative = false;
155154}
156155
157156a2bus_phasor_device::a2bus_phasor_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
158   a2bus_ayboard_device(mconfig, A2BUS_PHASOR, "Applied Engineering Phasor", tag, owner, clock)
157   a2bus_ayboard_device(mconfig, A2BUS_PHASOR, "Applied Engineering Phasor", tag, owner, clock, "a2phasor", __FILE__)
159158{
160   m_shortname = "a2phasor";
161159   m_isPhasor = true;
162160   m_PhasorNative = false;
163161}
164162
165163a2bus_echoplus_device::a2bus_echoplus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
166   a2bus_ayboard_device(mconfig, A2BUS_ECHOPLUS, "Street Electronics Echo Plus", tag, owner, clock),
164   a2bus_ayboard_device(mconfig, A2BUS_ECHOPLUS, "Street Electronics Echo Plus", tag, owner, clock, "a2echop", __FILE__),
167165   m_tms(*this, E2P_TMS_TAG)
168166{
169   m_shortname = "a2echop";
170167   m_isPhasor = false;
171168   m_PhasorNative = false;
172169}
trunk/src/mess/machine/cntr_covox.c
r22095r22096
3232//-------------------------------------------------
3333
3434centronics_covox_device::centronics_covox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35   : device_t(mconfig, CENTRONICS_COVOX, "Covox Speech Thing", tag, owner, clock),
35   : device_t(mconfig, CENTRONICS_COVOX, "Covox Speech Thing", tag, owner, clock, "covox", __FILE__),
3636      device_centronics_peripheral_interface( mconfig, *this )
3737{
3838}
r22095r22096
8484//-------------------------------------------------
8585
8686centronics_covox_stereo_device::centronics_covox_stereo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
87   : device_t(mconfig, CENTRONICS_COVOX_STEREO, "Covox (Stereo-in-1)", tag, owner, clock),
87   : device_t(mconfig, CENTRONICS_COVOX_STEREO, "Covox (Stereo-in-1)", tag, owner, clock, "covox_stereo", __FILE__),
8888      device_centronics_peripheral_interface( mconfig, *this )
8989{
9090}
trunk/src/mess/machine/comx_prn.c
r22095r22096
9090//-------------------------------------------------
9191
9292comx_prn_device::comx_prn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
93   device_t(mconfig, COMX_PRN, "COMX-35 Printer Card", tag, owner, clock),
93   device_t(mconfig, COMX_PRN, "COMX-35 Printer Card", tag, owner, clock, "comx_prn", __FILE__),
9494   device_comx_expansion_card_interface(mconfig, *this),
9595   m_centronics(*this, CENTRONICS_TAG),
9696   m_rom(*this, "c000")
trunk/src/mess/machine/s100_wunderbus.h
r22095r22096
4545   // device-level overrides
4646   virtual void device_start();
4747   virtual void device_reset();
48   virtual void device_config_complete() { m_shortname = "s100_wunderbus"; }
4948
5049   // device_s100_card_interface overrides
5150   virtual void s100_vi0_w(int state);
trunk/src/mess/machine/c64_ieee488.c
r22095r22096
183183//-------------------------------------------------
184184
185185c64_ieee488_device::c64_ieee488_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
186   device_t(mconfig, C64_IEEE488, "IEEE-488", tag, owner, clock),
186   device_t(mconfig, C64_IEEE488, "IEEE-488", tag, owner, clock, "c64_ieee488", __FILE__),
187187   device_c64_expansion_card_interface(mconfig, *this),
188188   m_tpi(*this, MOS6525_TAG),
189189   m_bus(*this, IEEE488_TAG),
trunk/src/mess/machine/vcs_paddles.c
r22095r22096
5252//-------------------------------------------------
5353
5454vcs_paddles_device::vcs_paddles_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
55   device_t(mconfig, VCS_PADDLES, "Digital paddles", tag, owner, clock),
55   device_t(mconfig, VCS_PADDLES, "Digital paddles", tag, owner, clock, "vcs_paddles", __FILE__),
5656   device_vcs_control_port_interface(mconfig, *this),
5757   m_joy(*this, "JOY"),
5858   m_potx(*this, "POTX"),
trunk/src/mess/machine/a2mockingboard.h
r22095r22096
2525{
2626public:
2727   // construction/destruction
28   a2bus_ayboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
28   a2bus_ayboard_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);
2929
3030   // optional information overrides
3131   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/cntr_covox.h
r22095r22096
2727protected:
2828   // device-level overrides
2929   virtual void device_start();
30   virtual void device_config_complete() { m_shortname = "covox"; }
3130private:
3231   dac_device *m_dac;
3332};
r22095r22096
5150protected:
5251   // device-level overrides
5352   virtual void device_start();
54   virtual void device_config_complete() { m_shortname = "covox_stereo"; }
5553private:
5654   dac_device *m_dac_left;
5755   dac_device *m_dac_right;
trunk/src/mess/machine/kb_keytro.c
r22095r22096
398398
399399
400400pc_kbd_keytronic_pc3270_device::pc_kbd_keytronic_pc3270_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
401   device_t(mconfig, PC_KBD_KEYTRONIC_PC3270, "Keytronic PC3270", tag, owner, clock ),
401   device_t(mconfig, PC_KBD_KEYTRONIC_PC3270, "Keytronic PC3270", tag, owner, clock, "keytronic_pc3270", __FILE__),
402402   device_pc_kbd_interface(mconfig, *this),
403403   m_cpu(*this, "kb_keytr")
404404{
405   m_shortname = "keytronic_pc3270";
406405}
407406
408407
trunk/src/mess/machine/comx_prn.h
r22095r22096
4141   // device-level overrides
4242   virtual void device_start();
4343   virtual void device_reset();
44   virtual void device_config_complete() { m_shortname = "comx_prn"; }
4544
4645   // device_comx_expansion_card_interface overrides
4746   virtual UINT8 comx_mrd_r(address_space &space, offs_t offset, int *extrom);
trunk/src/mess/machine/c64_ieee488.h
r22095r22096
4646
4747protected:
4848   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "c64_ieee488"; }
5049   virtual void device_start();
5150   virtual void device_reset();
5251
trunk/src/mess/machine/vcs_paddles.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vcs_paddles"; }
4039   virtual void device_start();
4140
4241   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/isa_ssi2001.c
r22095r22096
1717}
1818
1919ssi2001_device::ssi2001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
20   device_t(mconfig, ISA8_SSI2001, "Innovation SSI-2001 Audio Adapter", tag, owner, clock),
20   device_t(mconfig, ISA8_SSI2001, "Innovation SSI-2001 Audio Adapter", tag, owner, clock, "ssi2001", __FILE__),
2121   device_isa8_card_interface(mconfig, *this),
2222   m_joy(*this, "joy"),
2323   m_sid(*this, "sid6581")
2424{
2525}
2626
27void ssi2001_device::device_config_complete()
28{
29   m_shortname = "ssi2001";
30}
31
3227void ssi2001_device::device_start()
3328{
3429   set_isa_device();
trunk/src/mess/machine/vic20std.c
r22095r22096
2828//-------------------------------------------------
2929
3030vic20_standard_cartridge_device::vic20_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, VIC20_STD, "VIC-20 Standard Cartridge", tag, owner, clock),
31   : device_t(mconfig, VIC20_STD, "VIC-20 Standard Cartridge", tag, owner, clock, "vic20_standard", __FILE__),
3232      device_vic20_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_turbo232.c
r22095r22096
108108//-------------------------------------------------
109109
110110c64_turbo232_cartridge_device::c64_turbo232_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
111   device_t(mconfig, C64_TURBO232, "C64 Turbo232 cartridge", tag, owner, clock),
111   device_t(mconfig, C64_TURBO232, "C64 Turbo232 cartridge", tag, owner, clock, "c64_turbo232", __FILE__),
112112   device_c64_expansion_card_interface(mconfig, *this),
113113   m_acia(*this, MOS6551_TAG),
114114   m_rs232(*this, RS232_TAG),
trunk/src/mess/machine/ser_mouse.c
r22095r22096
1212const device_type MSFT_SERIAL_MOUSE = &device_creator<microsoft_mouse_device>;
1313const device_type MSYSTEM_SERIAL_MOUSE = &device_creator<mouse_systems_mouse_device>;
1414
15serial_mouse_device::serial_mouse_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock)
16   : device_t(mconfig, type, name, tag, owner, clock),
15serial_mouse_device::serial_mouse_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)
16   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
1717      device_rs232_port_interface(mconfig, *this),
1818      device_serial_interface(mconfig, *this),
1919      m_x(*this, "ser_mouse_x"),
r22095r22096
2323}
2424
2525microsoft_mouse_device::microsoft_mouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26   : serial_mouse_device(mconfig, MSFT_SERIAL_MOUSE, "Microsoft Serial Mouse", tag, owner, clock)
26   : serial_mouse_device(mconfig, MSFT_SERIAL_MOUSE, "Microsoft Serial Mouse", tag, owner, clock, "microsoft_mouse", __FILE__)
2727{
2828}
2929
3030mouse_systems_mouse_device::mouse_systems_mouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : serial_mouse_device(mconfig, MSYSTEM_SERIAL_MOUSE, "Mouse Systems Serial Mouse", tag, owner, clock)
31   : serial_mouse_device(mconfig, MSYSTEM_SERIAL_MOUSE, "Mouse Systems Serial Mouse", tag, owner, clock, "mouse_systems_mouse", __FILE__)
3232{
3333}
3434
trunk/src/mess/machine/isa_ssi2001.h
r22095r22096
2929   // device-level overrides
3030   virtual void device_start();
3131   virtual void device_reset();
32   virtual void device_config_complete();
3332};
3433
3534// device type definition
trunk/src/mess/machine/isa_ide_cd.c
r22095r22096
439439//-------------------------------------------------
440440
441441isa16_ide_cd_device::isa16_ide_cd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
442      : device_t(mconfig, ISA16_IDE_CD, "IDE CD Drive Adapter", tag, owner, clock),
442      : device_t(mconfig, ISA16_IDE_CD, "IDE CD Drive Adapter", tag, owner, clock, "isa_ide_cd", __FILE__),
443443      device_isa16_card_interface( mconfig, *this ),
444444      m_is_primary(true),
445445      m_inserted_cdrom(NULL)
trunk/src/mess/machine/vic20std.h
r22095r22096
3434protected:
3535   // device-level overrides
3636   virtual void device_start();
37   virtual void device_config_complete() { m_shortname = "vic20_standard"; }
3837
3938   // device_vic20_expansion_card_interface overrides
4039   virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
trunk/src/mess/machine/abc_hdc.c
r22095r22096
121121//-------------------------------------------------
122122
123123abc_hdc_device::abc_hdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
124   : device_t(mconfig, ABC_HDC, "ABC HDC", tag, owner, clock),
124   : device_t(mconfig, ABC_HDC, "ABC HDC", tag, owner, clock, "abc_hdc", __FILE__),
125125      device_abcbus_card_interface(mconfig, *this),
126126      m_maincpu(*this, Z80_TAG),
127127      m_sasibus(*this, SASIBUS_TAG)
trunk/src/mess/machine/c64_turbo232.h
r22095r22096
4343
4444protected:
4545   // device-level overrides
46   virtual void device_config_complete() { m_shortname = "c64_turbo232"; }
4746   virtual void device_start();
4847   virtual void device_reset();
4948
trunk/src/mess/machine/ser_mouse.h
r22095r22096
1616      public device_serial_interface
1717{
1818public:
19   serial_mouse_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock);
19   serial_mouse_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);
2020
2121   virtual ioport_constructor device_input_ports() const;
2222
r22095r22096
5555   virtual void set_frame() { set_data_frame(7, 2, SERIAL_PARITY_NONE); }
5656   virtual void mouse_trans(int dx, int dy, int nb, int mbc);
5757   virtual void device_reset() {m_old_rts = 0; serial_mouse_device::device_reset();}
58   virtual void device_config_complete() { m_shortname = "microsoft_mouse"; }
5958private:
6059   void check_state();
6160   UINT8 m_old_rts;
r22095r22096
7170protected:
7271   virtual void set_frame() { set_data_frame(8, 2, SERIAL_PARITY_NONE); }
7372   virtual void mouse_trans(int dx, int dy, int nb, int mbc);
74   virtual void device_config_complete() { m_shortname = "mouse_systems_mouse"; }
7573private:
7674   void check_state() { set_mouse_enable((m_dtr && m_rts)?true:false); }
7775};
trunk/src/mess/machine/compiskb.c
r22095r22096
4444   {
4545      memset(&m_out_int_cb, 0, sizeof(m_out_int_cb));
4646   }
47
48   m_shortname = "compiskb";
4947}
5048
5149
r22095r22096
289287//-------------------------------------------------
290288
291289compis_keyboard_device::compis_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
292   : device_t(mconfig, COMPIS_KEYBOARD, "Compis Keyboard", tag, owner, clock),
290   : device_t(mconfig, COMPIS_KEYBOARD, "Compis Keyboard", tag, owner, clock, "compiskb", __FILE__),
293291      m_maincpu(*this, I8748_TAG),
294292      m_so(1)
295293{
trunk/src/mess/machine/isa_ide_cd.h
r22095r22096
6666      // device-level overrides
6767      virtual void device_start();
6868      virtual void device_reset();
69      virtual void device_config_complete() { m_shortname = "isa_ide_cd"; }
7069private:
7170      // internal state
7271      bool m_is_primary;
trunk/src/mess/machine/abc_hdc.h
r22095r22096
4444   // device-level overrides
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete() { m_shortname = "abc_hdc"; }
4847
4948   // device_abcbus_interface overrides
5049   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/sns_upd.c
r22095r22096
3333const device_type SNS_LOROM_SETA11 = &device_creator<sns_rom_seta11dsp_device>;
3434
3535
36sns_rom20_necdsp_device::sns_rom20_necdsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
37               : sns_rom_device(mconfig, type, name, tag, owner, clock),
36sns_rom20_necdsp_device::sns_rom20_necdsp_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)
37               : sns_rom_device(mconfig, type, name, tag, owner, clock, shortname, source),
3838                  m_upd7725(*this, "dsp")
3939{
4040}
4141
4242sns_rom20_necdsp_device::sns_rom20_necdsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43               : sns_rom_device(mconfig, SNS_LOROM_NECDSP, "SNES Cart (LoROM) + NEC DSP", tag, owner, clock),
43               : sns_rom_device(mconfig, SNS_LOROM_NECDSP, "SNES Cart (LoROM) + NEC DSP", tag, owner, clock, "sns_rom_necdsp", __FILE__),
4444                  m_upd7725(*this, "dsp")
4545{
4646}
4747
48sns_rom21_necdsp_device::sns_rom21_necdsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
49               : sns_rom21_device(mconfig, type, name, tag, owner, clock),
48sns_rom21_necdsp_device::sns_rom21_necdsp_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)
49               : sns_rom21_device(mconfig, type, name, tag, owner, clock, shortname, source),
5050                  m_upd7725(*this, "dsp")
5151{
5252}
5353
5454sns_rom21_necdsp_device::sns_rom21_necdsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
55               : sns_rom21_device(mconfig, SNS_HIROM_NECDSP, "SNES Cart (HiROM) + NEC DSP", tag, owner, clock),
55               : sns_rom21_device(mconfig, SNS_HIROM_NECDSP, "SNES Cart (HiROM) + NEC DSP", tag, owner, clock, "sns_rom21_necdsp", __FILE__),
5656                  m_upd7725(*this, "dsp")
5757{
5858}
5959
60sns_rom_setadsp_device::sns_rom_setadsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
61               : sns_rom_device(mconfig, type, name, tag, owner, clock),
60sns_rom_setadsp_device::sns_rom_setadsp_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)
61               : sns_rom_device(mconfig, type, name, tag, owner, clock, shortname, source),
6262                  m_upd96050(*this, "dsp")
6363{
6464}
6565
6666sns_rom_seta10dsp_device::sns_rom_seta10dsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA10, "SNES Cart (LoROM) + Seta ST010 DSP", tag, owner, clock)
67               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA10, "SNES Cart (LoROM) + Seta ST010 DSP", tag, owner, clock, "sns_rom_seta10", __FILE__)
6868{
6969}
7070
7171sns_rom_seta11dsp_device::sns_rom_seta11dsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA11, "SNES Cart (LoROM) + Seta ST011 DSP", tag, owner, clock)
72               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA11, "SNES Cart (LoROM) + Seta ST011 DSP", tag, owner, clock, "sns_rom_seta11", __FILE__)
7373{
7474}
7575
r22095r22096
410410
411411
412412sns_rom20_necdsp1_legacy_device::sns_rom20_necdsp1_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
413               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP1_LEG, "SNES Cart (LoROM) + NEC DSP1 Legacy", tag, owner, clock)
413               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP1_LEG, "SNES Cart (LoROM) + NEC DSP1 Legacy", tag, owner, clock, "dsp1leg", __FILE__)
414414{
415415}
416416
417417sns_rom20_necdsp1b_legacy_device::sns_rom20_necdsp1b_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
418               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP1B_LEG, "SNES Cart (LoROM) + NEC DSP1B Legacy", tag, owner, clock)
418               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP1B_LEG, "SNES Cart (LoROM) + NEC DSP1B Legacy", tag, owner, clock, "dsp1bleg", __FILE__)
419419{
420420}
421421
422422sns_rom20_necdsp2_legacy_device::sns_rom20_necdsp2_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
423               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP2_LEG, "SNES Cart (LoROM) + NEC DSP2 Legacy", tag, owner, clock)
423               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP2_LEG, "SNES Cart (LoROM) + NEC DSP2 Legacy", tag, owner, clock, "dsp2leg", __FILE__)
424424{
425425}
426426
427427sns_rom20_necdsp3_legacy_device::sns_rom20_necdsp3_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
428               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP3_LEG, "SNES Cart (LoROM) + NEC DSP3 Legacy", tag, owner, clock)
428               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP3_LEG, "SNES Cart (LoROM) + NEC DSP3 Legacy", tag, owner, clock, "dsp3leg", __FILE__)
429429{
430430}
431431
432432sns_rom20_necdsp4_legacy_device::sns_rom20_necdsp4_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
433               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP4_LEG, "SNES Cart (LoROM) + NEC DSP4 Legacy", tag, owner, clock)
433               : sns_rom20_necdsp_device(mconfig, SNS_LOROM_NECDSP4_LEG, "SNES Cart (LoROM) + NEC DSP4 Legacy", tag, owner, clock, "dsp4leg", __FILE__)
434434{
435435}
436436
437437sns_rom21_necdsp1_legacy_device::sns_rom21_necdsp1_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
438               : sns_rom21_necdsp_device(mconfig, SNS_HIROM_NECDSP1_LEG, "SNES Cart (HiROM) + NEC DSP1 Legacy", tag, owner, clock)
438               : sns_rom21_necdsp_device(mconfig, SNS_HIROM_NECDSP1_LEG, "SNES Cart (HiROM) + NEC DSP1 Legacy", tag, owner, clock, "dsp1leg_hi", __FILE__)
439439{
440440}
441441
442442sns_rom_seta10dsp_legacy_device::sns_rom_seta10dsp_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
443               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA10_LEG, "SNES Cart (LoROM) + Seta ST010 DSP Legacy", tag, owner, clock)
443               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA10_LEG, "SNES Cart (LoROM) + Seta ST010 DSP Legacy", tag, owner, clock, "seta10leg", __FILE__)
444444{
445445}
446446
447447sns_rom_seta11dsp_legacy_device::sns_rom_seta11dsp_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
448               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA11_LEG, "SNES Cart (LoROM) + Seta ST011 DSP Legacy", tag, owner, clock)
448               : sns_rom_setadsp_device(mconfig, SNS_LOROM_SETA11_LEG, "SNES Cart (LoROM) + Seta ST011 DSP Legacy", tag, owner, clock, "seta11leg", __FILE__)
449449{
450450}
451451
trunk/src/mess/machine/ti99/ti_fdc.c
r22095r22096
3737};
3838
3939ti_fdc_device::ti_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40: ti_expansion_card_device(mconfig, TI99_FDC, "TI-99 Standard DSSD Floppy Controller", tag, owner, clock)
40: ti_expansion_card_device(mconfig, TI99_FDC, "TI-99 Standard DSSD Floppy Controller", tag, owner, clock, "ti99_fdc", __FILE__)
4141{
42   m_shortname = "ti99_fdc";
4342}
4443
4544/*
trunk/src/mess/machine/ti99/p_code.c
r22095r22096
9494#define VERBOSE 1
9595
9696ti_pcode_card_device::ti_pcode_card_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
97: ti_expansion_card_device(mconfig, TI99_P_CODE, "TI-99 P-Code Card", tag, owner, clock)
97: ti_expansion_card_device(mconfig, TI99_P_CODE, "TI-99 P-Code Card", tag, owner, clock, "ti99_pcode", __FILE__)
9898{
99   m_shortname = "ti99_pcode";
10099}
101100
102101READ8Z_MEMBER( ti_pcode_card_device::readz )
trunk/src/mess/machine/ti99/tn_usbsm.c
r22095r22096
5151};
5252
5353nouspikel_usb_smartmedia_device::nouspikel_usb_smartmedia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
54: ti_expansion_card_device(mconfig, TI99_USBSM, "Nouspikel USB/Smartmedia card", tag, owner, clock)
54: ti_expansion_card_device(mconfig, TI99_USBSM, "Nouspikel USB/Smartmedia card", tag, owner, clock, "ti99_usbsm", __FILE__)
5555{
56   m_shortname = "ti99_usbsm";
5756}
5857
5958/*
trunk/src/mess/machine/ti99/ti32kmem.c
r22095r22096
3030#define RAMREGION "ram"
3131
3232ti_32k_expcard_device::ti_32k_expcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
33: ti_expansion_card_device(mconfig, TI_32KMEM, "TI-99 32KiB memory expansion card", tag, owner, clock)
33: ti_expansion_card_device(mconfig, TI_32KMEM, "TI-99 32KiB memory expansion card", tag, owner, clock, "ti99_32k", __FILE__)
3434{
35   m_shortname = "ti99_32k";
3635}
3736
3837READ8Z_MEMBER(ti_32k_expcard_device::readz)
trunk/src/mess/machine/ti99/evpc.c
r22095r22096
2323#define NOVRAM_SIZE 256
2424
2525snug_enhanced_video_device::snug_enhanced_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26: ti_expansion_card_device(mconfig, TI99_EVPC, "SNUG Enhanced Video Processor Card", tag, owner, clock),
26: ti_expansion_card_device(mconfig, TI99_EVPC, "SNUG Enhanced Video Processor Card", tag, owner, clock, "ti99_evpc", __FILE__),
2727   device_nvram_interface(mconfig, *this)
2828{
29   m_shortname = "ti99_evpc";
3029}
3130
3231//-------------------------------------------------
trunk/src/mess/machine/ti99/speech8.c
r22095r22096
3030/****************************************************************************/
3131
3232ti998_spsyn_device::ti998_spsyn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
33: bus8z_device(mconfig, TI99_SPEECH8, "TI-99/8 Speech synthesizer (onboard)", tag, owner, clock)
33: bus8z_device(mconfig, TI99_SPEECH8, "TI-99/8 Speech synthesizer (onboard)", tag, owner, clock, "ti99_speech8", __FILE__)
3434, m_load_pointer(0)
3535{
36   m_shortname = "ti99_speech8";
3736}
3837
3938/*
trunk/src/mess/machine/ti99/videowrp.c
r22095r22096
2525/*
2626    Constructors
2727*/
28ti_video_device::ti_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
29: bus8z_device(mconfig, type, name, tag, owner, clock)
28ti_video_device::ti_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)
29: bus8z_device(mconfig, type, name, tag, owner, clock, shortname, source)
3030{
3131}
3232
3333ti_std_video_device::ti_std_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34   : ti_video_device(mconfig, TI99VIDEO, "Video subsystem", tag, owner, clock)
34   : ti_video_device(mconfig, TI99VIDEO, "Video subsystem", tag, owner, clock, "ti99_video", __FILE__)
3535{
3636}
3737
3838ti_exp_video_device::ti_exp_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39   : ti_video_device(mconfig, V9938VIDEO, "Video subsystem", tag, owner, clock)
39   : ti_video_device(mconfig, V9938VIDEO, "Video subsystem", tag, owner, clock, "v9938_video", __FILE__)
4040{
4141}
4242
trunk/src/mess/machine/ti99/samsmem.c
r22095r22096
2424#define LOG logerror
2525
2626sams_memory_expansion_device::sams_memory_expansion_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
27: ti_expansion_card_device(mconfig, TI99_SAMSMEM, "SuperAMS memory expansion card", tag, owner, clock)
27: ti_expansion_card_device(mconfig, TI99_SAMSMEM, "SuperAMS memory expansion card", tag, owner, clock, "ti99_sams", __FILE__)
2828{
29   m_shortname = "ti99_sams";
3029}
3130
3231/*
trunk/src/mess/machine/ti99/tn_ide.c
r22095r22096
4949};
5050
5151nouspikel_ide_interface_device::nouspikel_ide_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52: ti_expansion_card_device(mconfig, TI99_IDE, "Nouspikel IDE interface card", tag, owner, clock)
52: ti_expansion_card_device(mconfig, TI99_IDE, "Nouspikel IDE interface card", tag, owner, clock, "ti99_ide", __FILE__)
5353{
54   m_shortname = "ti99_ide";
5554}
5655
5756/*
trunk/src/mess/machine/ti99/videowrp.h
r22095r22096
2727   tms9928a_device *m_tms9928a;
2828
2929   /* Constructor */
30   ti_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
30   ti_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);
3131   virtual void device_start(void);
3232   virtual void device_reset(void);
3333   virtual DECLARE_READ8Z_MEMBER(readz) { };
r22095r22096
8989{
9090public:
9191   ti_sound_system_device(const machine_config &mconfig, device_type type, const char *tag, const char *name, device_t *owner, UINT32 clock)
92   : bus8z_device(mconfig, type, name, tag, owner, clock) { };
92   : bus8z_device(mconfig, type, name, tag, owner, clock, "ti99_ss", __FILE__) { };
9393
9494   // Cannot read from sound; just ignore silently
9595   DECLARE_READ8Z_MEMBER(readz) { };
trunk/src/mess/machine/ti99/hfdc.c
r22095r22096
3939#define LOG logerror
4040
4141myarc_hfdc_device::myarc_hfdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42: ti_expansion_card_device(mconfig, TI99_HFDC, "Myarc Hard and Floppy Disk Controller", tag, owner, clock)
42: ti_expansion_card_device(mconfig, TI99_HFDC, "Myarc Hard and Floppy Disk Controller", tag, owner, clock, "ti99_hfdc", __FILE__)
4343{
44   m_shortname = "ti99_hfdc";
4544}
4645
4746/*
trunk/src/mess/machine/ti99/ti99defs.h
r22095r22096
6161class bus8z_device : public device_t
6262{
6363public:
64   bus8z_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
65   : device_t(mconfig, type, name, tag, owner, clock) { }
64   bus8z_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)
65   : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { }
6666   virtual DECLARE_READ8Z_MEMBER(readz) =0;
6767   virtual DECLARE_WRITE8_MEMBER(write) =0;
6868};
trunk/src/mess/machine/ti99/ti_rs232.c
r22095r22096
115115#define ESC 0x1b
116116
117117ti_rs232_pio_device::ti_rs232_pio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
118: ti_expansion_card_device(mconfig, TI99_RS232, "TI-99 RS232/PIO interface", tag, owner, clock)
118: ti_expansion_card_device(mconfig, TI99_RS232, "TI-99 RS232/PIO interface", tag, owner, clock, "ti99_rs232", __FILE__)
119119{
120   m_shortname = "ti99_rs232";
121120}
122121
123122
trunk/src/mess/machine/ti99/peribox.c
r22095r22096
222222};
223223
224224peribox_device::peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
225: bus8z_device(mconfig, PERIBOX, "Peripheral expansion box", tag, owner, clock)
225: bus8z_device(mconfig, PERIBOX, "Peripheral expansion box", tag, owner, clock, "peribox", __FILE__)
226226{
227227   for (int i=2; i <= 8; i++) m_slot[i] = NULL;
228228}
r22095r22096
559559}
560560
561561peribox_slot_device::peribox_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
562: bus8z_device(mconfig, PERIBOX_SLOT, "TI P-Box slot", tag, owner, clock), device_slot_interface(mconfig, *this)
562: bus8z_device(mconfig, PERIBOX_SLOT, "TI P-Box slot", tag, owner, clock, "peribox_slot", __FILE__), device_slot_interface(mconfig, *this)
563563{
564564}
565565
trunk/src/mess/machine/ti99/myarcmem.c
r22095r22096
4343};
4444
4545myarc_memory_expansion_device::myarc_memory_expansion_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46: ti_expansion_card_device(mconfig, TI99_MYARCMEM, "Myarc Memory expansion card MEXP-1", tag, owner, clock)
46: ti_expansion_card_device(mconfig, TI99_MYARCMEM, "Myarc Memory expansion card MEXP-1", tag, owner, clock, "ti99_myarcmem", __FILE__)
4747{
48   m_shortname = "ti99_myarcmem";
4948}
5049
5150int myarc_memory_expansion_device::get_base(int offset)
trunk/src/mess/machine/ti99/memex.c
r22095r22096
3131};
3232
3333geneve_memex_device::geneve_memex_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34: ti_expansion_card_device(mconfig, TI99_MEMEX, "Geneve memory expansion card", tag, owner, clock)
34: ti_expansion_card_device(mconfig, TI99_MEMEX, "Geneve memory expansion card", tag, owner, clock, "ti99_memex", __FILE__)
3535{
36   m_shortname = "ti99_memex";
3736}
3837
3938bool geneve_memex_device::access_enabled(offs_t offset)
trunk/src/mess/machine/ti99/mapper8.c
r22095r22096
5555#define MAP8_INTS (void*)6L
5656
5757ti998_mapper_device::ti998_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
58: bus8z_device(mconfig, MAPPER8, "TI-99/8 Memory mapper", tag, owner, clock)
58: bus8z_device(mconfig, MAPPER8, "TI-99/8 Memory mapper", tag, owner, clock, "ti99_mapper8", __FILE__)
5959{
6060}
6161
trunk/src/mess/machine/ti99/peribox.h
r22095r22096
178178   friend class peribox_slot_device;
179179
180180public:
181   ti_expansion_card_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
182   : bus8z_device(mconfig, type, name, tag, owner, clock),
181   ti_expansion_card_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)
182   : bus8z_device(mconfig, type, name, tag, owner, clock, shortname, source),
183183   device_slot_card_interface(mconfig, *this)
184184   {
185185      m_slot = static_cast<peribox_slot_device*>(owner);
trunk/src/mess/machine/ti99/mecmouse.c
r22095r22096
5151#define POLL_TIMER 1
5252
5353mecmouse_device::mecmouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
54   : joyport_attached_device(mconfig, MECMOUSE, "Mechatronics Mouse", tag, owner, clock)
54   : joyport_attached_device(mconfig, MECMOUSE, "Mechatronics Mouse", tag, owner, clock, "mecmouse", __FILE__)
5555{
56   m_shortname = "mecmouse";
5756}
5857
5958
trunk/src/mess/machine/ti99/bwg.c
r22095r22096
4545#define BUFFER "ram"
4646
4747snug_bwg_device::snug_bwg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
48: ti_expansion_card_device(mconfig, TI99_BWG, "SNUG BwG Floppy Controller", tag, owner, clock)
48: ti_expansion_card_device(mconfig, TI99_BWG, "SNUG BwG Floppy Controller", tag, owner, clock, "ti99_bwg", __FILE__)
4949{
50   m_shortname = "ti99_bwg";
5150}
5251
5352/*
trunk/src/mess/machine/ti99/handset.c
r22095r22096
4949static const char *const keynames[] = { "KP0", "KP1", "KP2", "KP3", "KP4" };
5050
5151ti99_handset_device::ti99_handset_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52: joyport_attached_device(mconfig, HANDSET, "TI-99/4 IR handset", tag, owner, clock)
52: joyport_attached_device(mconfig, HANDSET, "TI-99/4 IR handset", tag, owner, clock, "handset", __FILE__)
5353{
54   m_shortname = "handset";
5554}
5655
5756#define POLL_TIMER 1
r22095r22096
494493INPUT_PORTS_END
495494
496495ti99_twin_joystick::ti99_twin_joystick(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
497: joyport_attached_device(mconfig, HANDSET, "TI-99/4(A) Twin Joystick", tag, owner, clock)
496: joyport_attached_device(mconfig, HANDSET, "TI-99/4(A) Twin Joystick", tag, owner, clock, "twinjoy", __FILE__)
498497{
499   m_shortname = "twinjoy";
500498}
501499
502500void ti99_twin_joystick::device_start(void)
trunk/src/mess/machine/ti99/spchsyn.c
r22095r22096
3333/****************************************************************************/
3434
3535ti_speech_synthesizer_device::ti_speech_synthesizer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36: ti_expansion_card_device(mconfig, TI99_SPEECH, "TI-99 Speech synthesizer (on adapter card)", tag, owner, clock)
36: ti_expansion_card_device(mconfig, TI99_SPEECH, "TI-99 Speech synthesizer (on adapter card)", tag, owner, clock, "ti99_speech", __FILE__)
3737{
38   m_shortname = "ti99_speech";
3938}
4039
4140/*
trunk/src/mess/machine/ti99/horizon.c
r22095r22096
6464#define LOG logerror
6565
6666horizon_ramdisk_device::horizon_ramdisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
67: ti_expansion_card_device(mconfig, TI99_HORIZON, "Horizon 4000 Ramdisk", tag, owner, clock) ,device_nvram_interface(mconfig, *this)
67: ti_expansion_card_device(mconfig, TI99_HORIZON, "Horizon 4000 Ramdisk", tag, owner, clock,"ti99_horizon",__FILE__),
68  device_nvram_interface(mconfig, *this)
6869{
69   m_shortname = "ti99_horizon";
7070}
7171
7272//-------------------------------------------------
trunk/src/mess/machine/ti99/grom.c
r22095r22096
9292    Constructor.
9393*/
9494ti99_grom_device::ti99_grom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
95: bus8z_device(mconfig, GROM, "TI-99 GROM device", tag, owner, clock)
95: bus8z_device(mconfig, GROM, "TI-99 GROM device", tag, owner, clock, "ti99_grom", __FILE__)
9696{
9797}
9898
trunk/src/mess/machine/ti99/gromport.c
r22095r22096
129129#define GKRACKER_NVRAM_TAG "gkracker_nvram"
130130
131131gromport_device::gromport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
132   :   bus8z_device(mconfig, GROMPORT, "Cartridge port", tag, owner, clock),
132   :   bus8z_device(mconfig, GROMPORT, "Cartridge port", tag, owner, clock, "gromport", __FILE__),
133133      device_slot_interface(mconfig, *this),
134134      m_connector(NULL),
135135      m_reset_on_insert(true)
r22095r22096
236236const device_type GROMPORT_MULTI = &device_creator<multi_conn_device>;
237237const device_type GROMPORT_GK = &device_creator<gkracker_device>;
238238
239ti99_cartridge_connector_device::ti99_cartridge_connector_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
240   : bus8z_device(mconfig, type, name, tag, owner, clock),
239ti99_cartridge_connector_device::ti99_cartridge_connector_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)
240   : bus8z_device(mconfig, type, name, tag, owner, clock, shortname, source),
241241   m_gromport(NULL)
242242{
243243}
r22095r22096
248248}
249249
250250single_conn_device::single_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
251   : ti99_cartridge_connector_device(mconfig, GROMPORT_SINGLE, "Standard cartridge connector", tag, owner, clock),
251   : ti99_cartridge_connector_device(mconfig, GROMPORT_SINGLE, "Standard cartridge connector", tag, owner, clock, "single", __FILE__),
252252   m_cartridge(NULL)
253253{
254   m_shortname = "single";
255254}
256255
257256READ8Z_MEMBER(single_conn_device::readz)
r22095r22096
343342#define AUTO -1
344343
345344multi_conn_device::multi_conn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
346   : ti99_cartridge_connector_device(mconfig, GROMPORT_MULTI, "Multi-cartridge extender", tag, owner, clock),
345   : ti99_cartridge_connector_device(mconfig, GROMPORT_MULTI, "Multi-cartridge extender", tag, owner, clock, "multi", __FILE__),
347346   m_active_slot(0),
348347   m_fixed_slot(0),
349348   m_next_free_slot(0)
350349{
351   m_shortname = "multi";
352350}
353351
354352/*
r22095r22096
671669#define GKSWITCH5_TAG "GKSWITCH5"
672670
673671gkracker_device::gkracker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
674   :   ti99_cartridge_connector_device(mconfig, GROMPORT_GK, "GRAMKracker", tag, owner, clock),
672   :   ti99_cartridge_connector_device(mconfig, GROMPORT_GK, "GRAMKracker", tag, owner, clock, "ti99_gkracker", __FILE__),
675673      device_nvram_interface(mconfig, *this),
676674      m_ram_page(0),
677675      m_grom_address(0),
r22095r22096
680678      m_waddr_LSB(false),
681679      m_cartridge(NULL)
682680{
683   m_shortname = "ti99_gkracker";
684681}
685682
686683READ8Z_MEMBER(gkracker_device::readz)
r22095r22096
10941091};
10951092
10961093ti99_cartridge_device::ti99_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1097:   bus8z_device(mconfig, TI99CART, "TI-99 cartridge", tag, owner, clock),
1094:   bus8z_device(mconfig, TI99CART, "TI-99 cartridge", tag, owner, clock, "cartridge", __FILE__),
10981095   device_image_interface(mconfig, *this),
10991096   m_softlist(false),
11001097   m_pcbtype(0),
r22095r22096
11031100   m_connector(NULL),
11041101   m_rpk(NULL)
11051102{
1106   m_shortname = "cartridge";
11071103}
11081104
11091105void ti99_cartridge_device::prepare_cartridge()
trunk/src/mess/machine/ti99/joyport.h
r22095r22096
4040{
4141   friend class joyport_device;
4242public:
43   joyport_attached_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) { }
43   joyport_attached_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
4646protected:
4747   virtual void device_config_complete();
trunk/src/mess/machine/ti99/hsgpl.c
r22095r22096
129129#define ROM6_EEPROM "u6_rom6"
130130
131131snug_high_speed_gpl_device::snug_high_speed_gpl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
132: ti_expansion_card_device(mconfig, TI99_HSGPL, "SNUG High-speed GPL card", tag, owner, clock)
132: ti_expansion_card_device(mconfig, TI99_HSGPL, "SNUG High-speed GPL card", tag, owner, clock, "ti99_hsgpl", __FILE__)
133133{
134   m_shortname = "ti99_hsgpl";
135134}
136135
137136/*
trunk/src/mess/machine/ti99/gromport.h
r22095r22096
132132   virtual void remove(int index) { };
133133
134134protected:
135   ti99_cartridge_connector_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
135   ti99_cartridge_connector_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);
136136   gromport_device*    m_gromport;
137137};
138138
trunk/src/mess/machine/iq151_staper.c
r22095r22096
5050//-------------------------------------------------
5151
5252iq151_staper_device::iq151_staper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
53      : device_t(mconfig, IQ151_STAPER, "IQ151 STAPER", tag, owner, clock),
53      : device_t(mconfig, IQ151_STAPER, "IQ151 STAPER", tag, owner, clock, "iq151_staper", __FILE__),
5454      device_iq151cart_interface( mconfig, *this ),
5555      m_ppi(*this, "ppi8255"),
5656      m_printer(*this, "printer")
trunk/src/mess/machine/cmdhd.c
r22095r22096
174174//-------------------------------------------------
175175
176176cmd_hd_device::cmd_hd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
177   : device_t(mconfig, CMD_HD, "HD", tag, owner, clock),
177   : device_t(mconfig, CMD_HD, "HD", tag, owner, clock, "cmdhd", __FILE__),
178178      device_cbm_iec_interface(mconfig, *this),
179179      m_maincpu(*this, M6502_TAG),
180180      m_scsibus(*this, SCSIBUS_TAG":host")
trunk/src/mess/machine/vp550.c
r22095r22096
8080//-------------------------------------------------
8181
8282vp550_device::vp550_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
83   device_t(mconfig, VP550, "VP550", tag, owner, clock),
83   device_t(mconfig, VP550, "VP550", tag, owner, clock, "vp550", __FILE__),
8484   device_vip_expansion_card_interface(mconfig, *this),
8585   m_pfg_a(*this, CDP1863_A_TAG),
8686   m_pfg_b(*this, CDP1863_B_TAG)
trunk/src/mess/machine/sns_upd.h
r22095r22096
1212{
1313public:
1414   // construction/destruction
15   sns_rom20_necdsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
15   sns_rom20_necdsp_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);
1616   sns_rom20_necdsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1717
1818   // device-level overrides
1919   virtual void device_start();
20   virtual void device_config_complete() { m_shortname = "sns_rom_necdsp"; }
2120   virtual machine_config_constructor device_mconfig_additions() const;
2221   virtual void speedup_addon_bios_access();
2322
r22095r22096
4039{
4140public:
4241   // construction/destruction
43   sns_rom21_necdsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
42   sns_rom21_necdsp_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);
4443   sns_rom21_necdsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4544
4645   // device-level overrides
4746   virtual void device_start();
48   virtual void device_config_complete() { m_shortname = "sns_rom21_necdsp"; }
4947   virtual machine_config_constructor device_mconfig_additions() const;
5048   virtual void speedup_addon_bios_access();
5149
r22095r22096
6866{
6967public:
7068   // construction/destruction
71   sns_rom_setadsp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
69   sns_rom_setadsp_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);
7270
7371   // device-level overrides
7472   virtual void device_start();
75   virtual void device_config_complete() { m_shortname = "sns_rom_setadsp"; }
7673   virtual void speedup_addon_bios_access();
7774
7875   required_device<upd96050_device> m_upd96050;
r22095r22096
9794   sns_rom_seta10dsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
9895
9996   // device-level overrides
100   virtual void device_config_complete() { m_shortname = "sns_rom_seta10"; }
10197   virtual machine_config_constructor device_mconfig_additions() const;
10298};
10399
r22095r22096
110106   sns_rom_seta11dsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
111107
112108   // device-level overrides
113   virtual void device_config_complete() { m_shortname = "sns_rom_seta11"; }
114109   virtual machine_config_constructor device_mconfig_additions() const;
115110};
116111
r22095r22096
133128   sns_rom20_necdsp1_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
134129
135130   // device-level overrides
136   virtual void device_config_complete() { m_shortname = "dsp1leg"; }
137131   virtual machine_config_constructor device_mconfig_additions() const;
138132   virtual const rom_entry *device_rom_region() const;
139133};
r22095r22096
145139   sns_rom20_necdsp1b_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
146140
147141   // device-level overrides
148   virtual void device_config_complete() { m_shortname = "dsp1bleg"; }
149142   virtual machine_config_constructor device_mconfig_additions() const;
150143   virtual const rom_entry *device_rom_region() const;
151144};
r22095r22096
157150   sns_rom20_necdsp2_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
158151
159152   // device-level overrides
160   virtual void device_config_complete() { m_shortname = "dsp2leg"; }
161153   virtual machine_config_constructor device_mconfig_additions() const;
162154   virtual const rom_entry *device_rom_region() const;
163155};
r22095r22096
169161   sns_rom20_necdsp3_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
170162
171163   // device-level overrides
172   virtual void device_config_complete() { m_shortname = "dsp3leg"; }
173164   virtual machine_config_constructor device_mconfig_additions() const;
174165   virtual const rom_entry *device_rom_region() const;
175166};
r22095r22096
181172   sns_rom20_necdsp4_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
182173
183174   // device-level overrides
184   virtual void device_config_complete() { m_shortname = "dsp4leg"; }
185175   virtual machine_config_constructor device_mconfig_additions() const;
186176   virtual const rom_entry *device_rom_region() const;
187177};
r22095r22096
193183   sns_rom21_necdsp1_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
194184
195185   // device-level overrides
196   virtual void device_config_complete() { m_shortname = "dsp1leg_hi"; }
197186   virtual machine_config_constructor device_mconfig_additions() const;
198187   virtual const rom_entry *device_rom_region() const;
199188};
r22095r22096
205194   sns_rom_seta10dsp_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
206195
207196   // device-level overrides
208   virtual void device_config_complete() { m_shortname = "seta10leg"; }
209197   virtual machine_config_constructor device_mconfig_additions() const;
210198   virtual const rom_entry *device_rom_region() const;
211199};
r22095r22096
217205   sns_rom_seta11dsp_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
218206
219207   // device-level overrides
220   virtual void device_config_complete() { m_shortname = "seta11leg"; }
221208   virtual machine_config_constructor device_mconfig_additions() const;
222209   virtual const rom_entry *device_rom_region() const;
223210};
trunk/src/mess/machine/at_keybc.c
r22095r22096
4848//-------------------------------------------------
4949
5050at_keyboard_controller_device::at_keyboard_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, AT_KEYBOARD_CONTROLLER, "AT Keyboard Controller", tag, owner, clock),
51   : device_t(mconfig, AT_KEYBOARD_CONTROLLER, "AT Keyboard Controller", tag, owner, clock, "at_keybc", __FILE__),
5252      m_cpu(NULL)
5353{
54   m_shortname = "at_keybc";
5554}
5655
5756//-------------------------------------------------
trunk/src/mess/machine/i82371sb.c
r22095r22096
2626
2727
2828i82371sb_device::i82371sb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29      : southbridge_device(mconfig, I82371SB, "Intel 82371SB", tag, owner, clock),
29      : southbridge_device(mconfig, I82371SB, "Intel 82371SB", tag, owner, clock, "i82371sb", __FILE__),
3030      pci_device_interface( mconfig, *this )
3131{
3232}
trunk/src/mess/machine/iq151_staper.h
r22095r22096
3333protected:
3434   // device-level overrides
3535   virtual void device_start();
36   virtual void device_config_complete() { m_shortname = "iq151_staper"; }
3736   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
3837
3938   // iq151cart_interface overrides
trunk/src/mess/machine/vp550.h
r22095r22096
4242
4343protected:
4444   // device-level overrides
45   virtual void device_config_complete() { m_shortname = "vp550"; }
4645   virtual void device_start();
4746   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
4847
trunk/src/mess/machine/cmdhd.h
r22095r22096
5353
5454protected:
5555   // device-level overrides
56   virtual void device_config_complete() { m_shortname = "cmdhd"; }
5756   virtual void device_start();
5857   virtual void device_reset();
5958
trunk/src/mess/machine/i82371sb.h
r22095r22096
2828   // device-level overrides
2929   virtual void device_start();
3030   virtual void device_reset();
31   virtual void device_config_complete() { m_shortname = "i82371sb"; }
3231
3332   UINT32 pci_isa_r(device_t *busdevice, int offset, UINT32 mem_mask);
3433   void pci_isa_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask);
trunk/src/mess/machine/s100_dj2db.c
r22095r22096
257257//-------------------------------------------------
258258
259259s100_dj2db_device::s100_dj2db_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
260   device_t(mconfig, S100_DJ2DB, "DJ2DB", tag, owner, clock),
260   device_t(mconfig, S100_DJ2DB, "DJ2DB", tag, owner, clock, "dj2db", __FILE__),
261261   device_s100_card_interface(mconfig, *this),
262262   m_fdc(*this, MB8866_TAG),
263263   m_dbrg(*this, BR1941_TAG),
trunk/src/mess/machine/a2estd80col.c
r22095r22096
2626//**************************************************************************
2727
2828a2eaux_std80col_device::a2eaux_std80col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
29      device_t(mconfig, A2EAUX_STD80COL, "Apple IIe Standard 80-Column Card", tag, owner, clock),
29      device_t(mconfig, A2EAUX_STD80COL, "Apple IIe Standard 80-Column Card", tag, owner, clock, "a2estd80", __FILE__),
3030      device_a2eauxslot_card_interface(mconfig, *this)
3131{
32   m_shortname = "a2estd80";
3332}
3433
35a2eaux_std80col_device::a2eaux_std80col_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
36      device_t(mconfig, type, name, tag, owner, clock),
34a2eaux_std80col_device::a2eaux_std80col_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) :
35      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3736      device_a2eauxslot_card_interface(mconfig, *this)
3837{
39   m_shortname = "a2estd80";
4038}
4139
4240//-------------------------------------------------
trunk/src/mess/machine/abc800kb.c
r22095r22096
107107      memset(&m_out_clock_cb, 0, sizeof(m_out_clock_cb));
108108      memset(&m_out_keydown_cb, 0, sizeof(m_out_keydown_cb));
109109   }
110
111   m_shortname = "abc800kb";
112110}
113111
114112
r22095r22096
356354//-------------------------------------------------
357355
358356abc800_keyboard_device::abc800_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
359   : device_t(mconfig, ABC800_KEYBOARD, "ABC-800 Keyboard", tag, owner, clock),
357   : device_t(mconfig, ABC800_KEYBOARD, "ABC-800 Keyboard", tag, owner, clock, "abc800kb", __FILE__),
360358      m_maincpu(*this, I8048_TAG),
361359      m_x0(*this, "X0"),
362360      m_x1(*this, "X1"),
trunk/src/mess/machine/s100_dj2db.h
r22095r22096
4646   // device-level overrides
4747   virtual void device_start();
4848   virtual void device_reset();
49   virtual void device_config_complete() { m_shortname = "dj2db"; }
5049
5150   // device_s100_card_interface overrides
5251   virtual UINT8 s100_smemr_r(address_space &space, offs_t offset);
trunk/src/mess/machine/a2estd80col.h
r22095r22096
2323public:
2424   // construction/destruction
2525   a2eaux_std80col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_std80col_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_std80col_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);
2727
2828protected:
2929   virtual void device_start();
trunk/src/mess/machine/c64_silverrock.c
r22095r22096
6161//-------------------------------------------------
6262
6363c64_silverrock_cartridge_device::c64_silverrock_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
64   device_t(mconfig, C64_SILVERROCK, "C64 SilverRock cartridge", tag, owner, clock),
64   device_t(mconfig, C64_SILVERROCK, "C64 SilverRock cartridge", tag, owner, clock, "c64_silverrock", __FILE__),
6565   device_c64_expansion_card_interface(mconfig, *this)
6666{
6767}
trunk/src/mess/machine/pc9801_86.c
r22095r22096
127127//-------------------------------------------------
128128
129129pc9801_86_device::pc9801_86_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
130   : device_t(mconfig, PC9801_86, "pc9801_86", tag, owner, clock),
130   : device_t(mconfig, PC9801_86, "pc9801_86", tag, owner, clock, "pc9801_86", __FILE__),
131131//      m_maincpu(*owner, "maincpu"),
132132      m_opna(*this, "opna")
133133{
trunk/src/mess/machine/c64_silverrock.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_silverrock"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/pc9801_86.h
r22095r22096
4444   virtual void device_validity_check(validity_checker &valid) const;
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete() { m_shortname = "pc9801_86"; }
4847   void install_device(offs_t start, offs_t end, offs_t mask, offs_t mirror, read8_delegate rhandler, write8_delegate whandler);
4948
5049private:
trunk/src/mess/machine/sns_sufami.c
r22095r22096
2626
2727
2828sns_rom_sufami_device::sns_rom_sufami_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
29               : sns_rom_device(mconfig, SNS_LOROM_SUFAMI, "SNES Sufami Turbo Cart", tag, owner, clock),
29               : sns_rom_device(mconfig, SNS_LOROM_SUFAMI, "SNES Sufami Turbo Cart", tag, owner, clock, "sns_rom_sufami", __FILE__),
3030                  m_slot1(*this, "st_slot1"),
3131                  m_slot2(*this, "st_slot2")
3232{
3333}
3434
3535sns_rom_strom_device::sns_rom_strom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36               : sns_rom_device(mconfig, SNS_STROM, "SNES Sufami Turbo Minicart", tag, owner, clock)
36               : sns_rom_device(mconfig, SNS_STROM, "SNES Sufami Turbo Minicart", tag, owner, clock, "sns_strom", __FILE__)
3737{
3838}
3939
trunk/src/mess/machine/s1410.c
r22095r22096
106106const device_type S1410 = &device_creator<s1410_device>;
107107
108108//-------------------------------------------------
109//  device_config_complete - perform any
110//  operations now that the configuration is
111//  complete
112//-------------------------------------------------
113
114void s1410_device::device_config_complete()
115{
116   m_shortname = "s1410";
117}
118
119
120//-------------------------------------------------
121109//  ROM( s1410 )
122110//-------------------------------------------------
123111
r22095r22096
204192//-------------------------------------------------
205193
206194s1410_device::s1410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
207   : scsihd_device(mconfig, S1410, "Xebec S1410", tag, owner, clock)
195   : scsihd_device(mconfig, S1410, "Xebec S1410", tag, owner, clock, "s1410", __FILE__)
208196{
209197}
210198
trunk/src/mess/machine/sns_sufami.h
r22095r22096
1515
1616   // device-level overrides
1717   virtual void device_start();
18   virtual void device_config_complete() { m_shortname = "sns_rom_sufami"; }
1918   virtual machine_config_constructor device_mconfig_additions() const;
2019
2120   // additional reading and writing
r22095r22096
3938
4039   // device-level overrides
4140   virtual void device_start();
42   virtual void device_config_complete() { m_shortname = "sns_strom"; }
43
41   
4442   // additional reading and writing
4543   virtual DECLARE_READ8_MEMBER(read_l);
4644};
trunk/src/mess/machine/s1410.h
r22095r22096
2727
2828   virtual void ExecCommand( int *transferLength );
2929   virtual void WriteData( UINT8 *data, int dataLength );
30
31protected:
32   // device-level overrides
33   virtual void device_config_complete();
3430};
3531
3632
trunk/src/mess/machine/a2memexp.c
r22095r22096
7171//  LIVE DEVICE
7272//**************************************************************************
7373
74a2bus_memexp_device::a2bus_memexp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
75   device_t(mconfig, type, name, tag, owner, clock),
74a2bus_memexp_device::a2bus_memexp_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) :
75   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7676   device_a2bus_card_interface(mconfig, *this)
7777{
7878}
7979
8080a2bus_memexpapple_device::a2bus_memexpapple_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
81   a2bus_memexp_device(mconfig, A2BUS_MEMEXP, "Apple II Memory Expansion Card", tag, owner, clock)
81   a2bus_memexp_device(mconfig, A2BUS_MEMEXP, "Apple II Memory Expansion Card", tag, owner, clock, "a2memexp", __FILE__)
8282{
83   m_shortname = "a2memexp";
8483   m_isramfactor = false;
8584   m_bankhior = 0xf0;
8685   m_addrmask = 0xfffff;
8786}
8887
8988a2bus_ramfactor_device::a2bus_ramfactor_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
90   a2bus_memexp_device(mconfig, A2BUS_RAMFACTOR, "Applied Engineering RamFactor", tag, owner, clock)
89   a2bus_memexp_device(mconfig, A2BUS_RAMFACTOR, "Applied Engineering RamFactor", tag, owner, clock, "a2ramfac", __FILE__)
9190{
92   m_shortname = "a2ramfac";
9391   m_isramfactor = true;
9492   m_bankhior = 0x00;
9593   m_addrmask = 0x7fffff;
trunk/src/mess/machine/serial.c
r22095r22096
2121{
2222}
2323
24serial_port_device::serial_port_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
25   : device_t(mconfig, type, name, tag, owner, clock),
24serial_port_device::serial_port_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)
25   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2626      device_slot_interface(mconfig, *this),
2727      m_dev(NULL)
2828{
r22095r22096
6969}
7070
7171rs232_port_device::rs232_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72   : serial_port_device(mconfig, RS232_PORT, "RS232 Port", tag, owner, clock)
72   : serial_port_device(mconfig, RS232_PORT, "RS232 Port", tag, owner, clock, "rs232", __FILE__)
7373{
7474}
7575
trunk/src/mess/machine/psxcport.c
r22095r22096
2929const device_type PSXCONTROLLERPORTS = &device_creator<psxcontrollerports_device>;
3030
3131psxcontrollerports_device::psxcontrollerports_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
32      psxsiodev_device(mconfig, PSXCONTROLLERPORTS, "PSXCONTROLLERPORTS", tag, owner, clock)
32      psxsiodev_device(mconfig, PSXCONTROLLERPORTS, "PSXCONTROLLERPORTS", tag, owner, clock, "psxcontrollerports", __FILE__)
3333{
3434}
3535
r22095r22096
142142const device_type PSX_STANDARD_CONTROLLER = &device_creator<psx_standard_controller_device>;
143143
144144psx_standard_controller_device::psx_standard_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
145      device_t(mconfig, PSX_STANDARD_CONTROLLER, "Playstation Standard Controller", tag, owner, clock),
145      device_t(mconfig, PSX_STANDARD_CONTROLLER, "Playstation Standard Controller", tag, owner, clock, "psx_standard_controller", __FILE__),
146146      device_psx_controller_interface(mconfig, *this),
147147      m_pad0(*this,"PSXPAD0"),
148148      m_pad1(*this,"PSXPAD1")
trunk/src/mess/machine/a2memexp.h
r22095r22096
2222{
2323public:
2424   // construction/destruction
25   a2bus_memexp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   a2bus_memexp_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   // optional information overrides
2828   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/serial.h
r22095r22096
3737{
3838public:
3939   serial_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
40   serial_port_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
40   serial_port_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   virtual ~serial_port_device();
4242
4343   DECLARE_WRITE_LINE_MEMBER( tx ) { if(m_dev) m_dev->tx(state); }
trunk/src/mess/machine/x68k_neptunex.c
r22095r22096
3232}
3333
3434x68k_neptune_device::x68k_neptune_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35      : device_t(mconfig, X68K_NEPTUNEX, "Neptune-X", tag, owner, clock),
35      : device_t(mconfig, X68K_NEPTUNEX, "Neptune-X", tag, owner, clock, "x68k_neptunex", __FILE__),
3636      device_x68k_expansion_card_interface(mconfig, *this),
3737      m_dp8390(*this, "dp8390d")
3838{
trunk/src/mess/machine/c64_super_games.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_super_games_cartridge_device::c64_super_games_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_SUPER_GAMES, "C64 Super Games cartridge", tag, owner, clock),
31   device_t(mconfig, C64_SUPER_GAMES, "C64 Super Games cartridge", tag, owner, clock, "c64_super_games", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/psxcport.h
r22095r22096
7070
7171protected:
7272   virtual void device_start() { }
73   virtual void device_config_complete() { m_shortname = "psx_standard_controller"; }
7473private:
7574   virtual bool get_pad(int count, UINT8 *odata, UINT8 idata);
7675
trunk/src/mess/machine/md_svp.c
r22095r22096
3434
3535const device_type MD_ROM_SVP = &device_creator<md_rom_svp_device>;
3636
37md_rom_svp_device::md_rom_svp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
38                     : device_t(mconfig, type, name, tag, owner, clock),
37md_rom_svp_device::md_rom_svp_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)
38                     : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3939                     device_md_cart_interface( mconfig, *this ),
4040                     m_svp(*this, "svp"),
4141                     m_test_ipt(*this, "MEMORY_TEST")
r22095r22096
4343}
4444
4545md_rom_svp_device::md_rom_svp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46                     : device_t(mconfig, MD_ROM_SVP, "MD Virtua Racing", tag, owner, clock),
46                     : device_t(mconfig, MD_ROM_SVP, "MD Virtua Racing", tag, owner, clock, "md_rom_svp", __FILE__),
4747                     device_md_cart_interface( mconfig, *this ),
4848                     m_svp(*this, "svp"),
4949                     m_test_ipt(*this, "MEMORY_TEST")
trunk/src/mess/machine/x68k_neptunex.h
r22095r22096
3737   // device-level overrides
3838   virtual void device_start();
3939   virtual void device_reset();
40   virtual void device_config_complete() { m_shortname = "x68k_neptunex"; }
4140
4241private:
4342   x68k_expansion_slot_device *m_slot;
trunk/src/mess/machine/c64_super_games.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_super_games"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/md_svp.h
r22095r22096
1515{
1616public:
1717   // construction/destruction
18   md_rom_svp_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
18   md_rom_svp_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);
1919   md_rom_svp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2020   
2121//protected:
2222   // device-level overrides
2323   virtual void device_start();
24   virtual void device_config_complete() { m_shortname = "md_rom_svp"; }
2524   virtual machine_config_constructor device_mconfig_additions() const;
2625   virtual ioport_constructor device_input_ports() const;
2726   virtual void set_bank_to_rom(const char *banktag, UINT32 offset);
trunk/src/mess/machine/3c503.c
r22095r22096
2121}
2222
2323el2_3c503_device::el2_3c503_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24      : device_t(mconfig, EL2_3C503, "3C503 Network Adapter", tag, owner, clock),
24      : device_t(mconfig, EL2_3C503, "3C503 Network Adapter", tag, owner, clock, "el2_3c503", __FILE__),
2525      device_isa8_card_interface(mconfig, *this),
2626      m_dp8390(*this, "dp8390d") {
2727}
trunk/src/mess/machine/3c503.h
r22095r22096
2727protected:
2828   virtual void device_start();
2929   virtual void device_reset();
30   virtual void device_config_complete() { m_shortname = "el2_3c503"; }
3130private:
3231   required_device<dp8390d_device> m_dp8390;
3332   UINT8 m_board_ram[8*1024];
trunk/src/mess/machine/isa_sblaster.c
r22095r22096
11171117//  LIVE DEVICE
11181118//**************************************************************************
11191119
1120sb_device::sb_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name) :
1121   device_t(mconfig, type, name, tag, owner, clock),
1120sb_device::sb_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source) :
1121   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
11221122   device_serial_interface(mconfig, *this),
11231123   m_dacl(*this, "sbdacl"),
11241124   m_dacr(*this, "sbdacr"),
r22095r22096
11271127{
11281128}
11291129
1130sb8_device::sb8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name) :
1131   sb_device(mconfig, type, tag, owner, clock, name),
1130sb8_device::sb8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source) :
1131   sb_device(mconfig, type, tag, owner, clock, name, shortname, source),
11321132   device_isa8_card_interface(mconfig, *this)
11331133{
11341134}
11351135
1136sb16_device::sb16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name) :
1137   sb_device(mconfig, type, tag, owner, clock, name),
1136sb16_device::sb16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source) :
1137   sb_device(mconfig, type, tag, owner, clock, name, shortname, source),
11381138   device_isa16_card_interface(mconfig, *this)
11391139{
11401140}
r22095r22096
11441144//-------------------------------------------------
11451145
11461146isa8_sblaster1_0_device::isa8_sblaster1_0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1147   sb8_device(mconfig, ISA8_SOUND_BLASTER_1_0, tag, owner, clock, "Sound Blaster 1.0")
1147   sb8_device(mconfig, ISA8_SOUND_BLASTER_1_0, tag, owner, clock, "Sound Blaster 1.0", "isa_sblaster1_0", __FILE__)
11481148{
11491149}
11501150
11511151isa8_sblaster1_5_device::isa8_sblaster1_5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1152   sb8_device(mconfig, ISA8_SOUND_BLASTER_1_5, tag, owner, clock, "Sound Blaster 1.5")
1152   sb8_device(mconfig, ISA8_SOUND_BLASTER_1_5, tag, owner, clock, "Sound Blaster 1.5", "isa_sblaster1_5", __FILE__)
11531153{
11541154}
11551155
11561156isa16_sblaster16_device::isa16_sblaster16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1157   sb16_device(mconfig, ISA16_SOUND_BLASTER_16, tag, owner, clock, "Sound Blaster 16")
1157   sb16_device(mconfig, ISA16_SOUND_BLASTER_16, tag, owner, clock, "Sound Blaster 16", "isa_sblaster_16", __FILE__)
11581158{
11591159}
11601160
trunk/src/mess/machine/comx_eb.c
r22095r22096
200200//-------------------------------------------------
201201
202202comx_eb_device::comx_eb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
203   device_t(mconfig, COMX_EB, "COMX-35E Expansion Box", tag, owner, clock),
203   device_t(mconfig, COMX_EB, "COMX-35E Expansion Box", tag, owner, clock, "comx_eb", __FILE__),
204204   device_comx_expansion_card_interface(mconfig, *this),
205205   m_rom(*this, "e000"),
206206   m_select(0)
trunk/src/mess/machine/md_rom.c
r22095r22096
5656const device_type MD_ROM_WUKONG = &device_creator<md_rom_wukong_device>;
5757
5858
59md_std_rom_device::md_std_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
60               : device_t(mconfig, type, name, tag, owner, clock),
59md_std_rom_device::md_std_rom_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)
60               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
6161               device_md_cart_interface( mconfig, *this )
6262{
6363}
6464
6565md_std_rom_device::md_std_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
66               : device_t(mconfig, MD_STD_ROM, "MD Standard cart", tag, owner, clock),
66               : device_t(mconfig, MD_STD_ROM, "MD Standard cart", tag, owner, clock, "md_std_rom", __FILE__),
6767               device_md_cart_interface( mconfig, *this )
6868{
6969}
7070
7171md_rom_sram_device::md_rom_sram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
72               : md_std_rom_device(mconfig, MD_ROM_SRAM, "MD Standard cart + SRAM", tag, owner, clock)
72               : md_std_rom_device(mconfig, MD_ROM_SRAM, "MD Standard cart + SRAM", tag, owner, clock, "md_rom_sram", __FILE__)
7373{
7474}
7575
7676md_rom_fram_device::md_rom_fram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
77               : md_std_rom_device(mconfig, MD_ROM_FRAM, "MD Standard cart + FRAM", tag, owner, clock)
77               : md_std_rom_device(mconfig, MD_ROM_FRAM, "MD Standard cart + FRAM", tag, owner, clock, "md_rom_fram", __FILE__)
7878{
7979}
8080
8181md_rom_ssf2_device::md_rom_ssf2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
82               : md_std_rom_device(mconfig, MD_ROM_SSF2, "MD Super SF2", tag, owner, clock)
82               : md_std_rom_device(mconfig, MD_ROM_SSF2, "MD Super SF2", tag, owner, clock, "md_rom_ssf2", __FILE__)
8383{
8484}
8585
8686md_rom_cm2in1_device::md_rom_cm2in1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
87               : md_std_rom_device(mconfig, MD_ROM_CM2IN1, "MD Codemasters 2in1", tag, owner, clock)
87               : md_std_rom_device(mconfig, MD_ROM_CM2IN1, "MD Codemasters 2in1", tag, owner, clock, "md_rom_cm2in1", __FILE__)
8888{
8989}
9090
9191md_rom_mcpirate_device::md_rom_mcpirate_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
92               : md_std_rom_device(mconfig, MD_ROM_MCPIR, "MD Pirate Multicarts (Various)", tag, owner, clock)
92               : md_std_rom_device(mconfig, MD_ROM_MCPIR, "MD Pirate Multicarts (Various)", tag, owner, clock, "md_rom_mcpirate", __FILE__)
9393{
9494}
9595
9696md_rom_bugslife_device::md_rom_bugslife_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
97               : md_std_rom_device(mconfig, MD_ROM_BUGSLIFE, "MD A Bug's Life", tag, owner, clock)
97               : md_std_rom_device(mconfig, MD_ROM_BUGSLIFE, "MD A Bug's Life", tag, owner, clock, "md_rom_bugslife", __FILE__)
9898{
9999}
100100
101101md_rom_smouse_device::md_rom_smouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
102               : md_std_rom_device(mconfig, MD_ROM_SMOUSE, "MD Huan Le Tao Qi Shu / Smart Mouse", tag, owner, clock)
102               : md_std_rom_device(mconfig, MD_ROM_SMOUSE, "MD Huan Le Tao Qi Shu / Smart Mouse", tag, owner, clock, "md_rom_smouse", __FILE__)
103103{
104104}
105105
106106md_rom_smb_device::md_rom_smb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
107               : md_std_rom_device(mconfig, MD_ROM_SMB, "MD Super Mario Bros.", tag, owner, clock)
107               : md_std_rom_device(mconfig, MD_ROM_SMB, "MD Super Mario Bros.", tag, owner, clock, "md_rom_smb", __FILE__)
108108{
109109}
110110
111111md_rom_smb2_device::md_rom_smb2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
112               : md_std_rom_device(mconfig, MD_ROM_SMB2, "MD Super Mario Bros. 2", tag, owner, clock)
112               : md_std_rom_device(mconfig, MD_ROM_SMB2, "MD Super Mario Bros. 2", tag, owner, clock, "md_rom_smb2", __FILE__)
113113{
114114}
115115
116116md_rom_smw64_device::md_rom_smw64_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
117               : md_std_rom_device(mconfig, MD_ROM_SMW64, "MD Super Mario World 64", tag, owner, clock)
117               : md_std_rom_device(mconfig, MD_ROM_SMW64, "MD Super Mario World 64", tag, owner, clock, "md_rom_smw64", __FILE__)
118118{
119119}
120120
121121md_rom_sbubl_device::md_rom_sbubl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
122               : md_std_rom_device(mconfig, MD_ROM_SBUBL, "MD Super Bubble Bobble", tag, owner, clock)
122               : md_std_rom_device(mconfig, MD_ROM_SBUBL, "MD Super Bubble Bobble", tag, owner, clock, "md_rom_sbubl", __FILE__)
123123{
124124}
125125
126126md_rom_rx3_device::md_rom_rx3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127               : md_std_rom_device(mconfig, MD_ROM_RX3, "MD Rockman X3", tag, owner, clock)
127               : md_std_rom_device(mconfig, MD_ROM_RX3, "MD Rockman X3", tag, owner, clock, "md_rom_rx3", __FILE__)
128128{
129129}
130130
131131md_rom_mjlov_device::md_rom_mjlov_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
132               : md_std_rom_device(mconfig, MD_ROM_MJLOV, "MD Ma Jiang Qing Ren / Mahjong Lover", tag, owner, clock)
132               : md_std_rom_device(mconfig, MD_ROM_MJLOV, "MD Ma Jiang Qing Ren / Mahjong Lover", tag, owner, clock, "md_rom_mjlov", __FILE__)
133133{
134134}
135135
136136md_rom_kof98_device::md_rom_kof98_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
137               : md_std_rom_device(mconfig, MD_ROM_KOF98, "MD KOF 98", tag, owner, clock)
137               : md_std_rom_device(mconfig, MD_ROM_KOF98, "MD KOF 98", tag, owner, clock, "md_rom_kof98", __FILE__)
138138{
139139}
140140
141141md_rom_kof99_device::md_rom_kof99_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
142               : md_std_rom_device(mconfig, MD_ROM_KOF99, "MD KOF 99 (and others)", tag, owner, clock)
142               : md_std_rom_device(mconfig, MD_ROM_KOF99, "MD KOF 99 (and others)", tag, owner, clock, "md_rom_kof99", __FILE__)
143143{
144144}
145145
146146md_rom_soulb_device::md_rom_soulb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
147               : md_std_rom_device(mconfig, MD_ROM_SOULB, "MD Soul Blade", tag, owner, clock)
147               : md_std_rom_device(mconfig, MD_ROM_SOULB, "MD Soul Blade", tag, owner, clock, "md_rom_soulb", __FILE__)
148148{
149149}
150150
151151md_rom_chinf3_device::md_rom_chinf3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
152               : md_std_rom_device(mconfig, MD_ROM_CHINF3, "MD Chinese Fighter 3", tag, owner, clock)
152               : md_std_rom_device(mconfig, MD_ROM_CHINF3, "MD Chinese Fighter 3", tag, owner, clock, "md_rom_chinf3", __FILE__)
153153{
154154}
155155
156156md_rom_elfwor_device::md_rom_elfwor_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
157               : md_std_rom_device(mconfig, MD_ROM_ELFWOR, "MD Linghuan Daoshi Super Magician / Elf Wor", tag, owner, clock)
157               : md_std_rom_device(mconfig, MD_ROM_ELFWOR, "MD Linghuan Daoshi Super Magician / Elf Wor", tag, owner, clock, "md_rom_elfwor", __FILE__)
158158{
159159}
160160
161161md_rom_yasech_device::md_rom_yasech_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
162               : md_std_rom_device(mconfig, MD_ROM_YASECH, "MD Ya Se Chuan Shuo", tag, owner, clock)
162               : md_std_rom_device(mconfig, MD_ROM_YASECH, "MD Ya Se Chuan Shuo", tag, owner, clock, "md_rom_yasech", __FILE__)
163163{
164164}
165165
166166md_rom_lion2_device::md_rom_lion2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
167               : md_std_rom_device(mconfig, MD_ROM_LION2, "MD Lion King 2", tag, owner, clock)
167               : md_std_rom_device(mconfig, MD_ROM_LION2, "MD Lion King 2", tag, owner, clock, "md_rom_lion2", __FILE__)
168168{
169169}
170170
171171md_rom_lion3_device::md_rom_lion3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
172               : md_std_rom_device(mconfig, MD_ROM_LION3, "MD Lion King 3", tag, owner, clock)
172               : md_std_rom_device(mconfig, MD_ROM_LION3, "MD Lion King 3", tag, owner, clock, "md_rom_lion3", __FILE__)
173173{
174174}
175175
176176md_rom_pokea_device::md_rom_pokea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
177               : md_std_rom_device(mconfig, MD_ROM_POKEA, "MD Pokemon (Alt Protection)", tag, owner, clock)
177               : md_std_rom_device(mconfig, MD_ROM_POKEA, "MD Pokemon (Alt Protection)", tag, owner, clock, "md_rom_pokea", __FILE__)
178178{
179179}
180180
181181md_rom_pokestad_device::md_rom_pokestad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
182               : md_std_rom_device(mconfig, MD_ROM_POKESTAD, "MD Pokemon Stadium", tag, owner, clock)
182               : md_std_rom_device(mconfig, MD_ROM_POKESTAD, "MD Pokemon Stadium", tag, owner, clock, "md_rom_pokestad", __FILE__)
183183{
184184}
185185
186186md_rom_realtec_device::md_rom_realtec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
187               : md_std_rom_device(mconfig, MD_ROM_REALTEC, "MD Realtec", tag, owner, clock)
187               : md_std_rom_device(mconfig, MD_ROM_REALTEC, "MD Realtec", tag, owner, clock, "md_rom_realtec", __FILE__)
188188{
189189}
190190
191191md_rom_redcl_device::md_rom_redcl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
192               : md_std_rom_device(mconfig, MD_ROM_REDCL, "MD Redcliff", tag, owner, clock)
192               : md_std_rom_device(mconfig, MD_ROM_REDCL, "MD Redcliff", tag, owner, clock, "md_rom_redcl", __FILE__)
193193{
194194}
195195
196196md_rom_squir_device::md_rom_squir_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
197               : md_std_rom_device(mconfig, MD_ROM_SQUIR, "MD Squirrel King", tag, owner, clock)
197               : md_std_rom_device(mconfig, MD_ROM_SQUIR, "MD Squirrel King", tag, owner, clock, "md_rom_squir", __FILE__)
198198{
199199}
200200
201201md_rom_topf_device::md_rom_topf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
202               : md_std_rom_device(mconfig, MD_ROM_TOPF, "MD Top Fighter", tag, owner, clock)
202               : md_std_rom_device(mconfig, MD_ROM_TOPF, "MD Top Fighter", tag, owner, clock, "md_rom_topf", __FILE__)
203203{
204204}
205205
206206md_rom_radica_device::md_rom_radica_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
207               : md_std_rom_device(mconfig, MD_ROM_RADICA, "MD Radica TV games", tag, owner, clock)
207               : md_std_rom_device(mconfig, MD_ROM_RADICA, "MD Radica TV games", tag, owner, clock, "md_rom_radica", __FILE__)
208208{
209209}
210210
211211md_rom_beggarp_device::md_rom_beggarp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
212               : md_std_rom_device(mconfig, MD_ROM_BEGGARP, "MD Beggar Prince", tag, owner, clock)
212               : md_std_rom_device(mconfig, MD_ROM_BEGGARP, "MD Beggar Prince", tag, owner, clock, "md_rom_beggarp", __FILE__)
213213{
214214}
215215
216216md_rom_wukong_device::md_rom_wukong_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
217               : md_std_rom_device(mconfig, MD_ROM_WUKONG, "MD Legend of Wukong", tag, owner, clock)
217               : md_std_rom_device(mconfig, MD_ROM_WUKONG, "MD Legend of Wukong", tag, owner, clock, "md_rom_wukong", __FILE__)
218218{
219219}
220220
trunk/src/mess/machine/i82439tx.c
r22095r22096
1515
1616
1717i82439tx_device::i82439tx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
18      : northbridge_device(mconfig, I82439TX, "Intel 82439TX", tag, owner, clock),
18      : northbridge_device(mconfig, I82439TX, "Intel 82439TX", tag, owner, clock, "i82439tx", __FILE__),
1919      pci_device_interface( mconfig, *this )
2020{
2121}
r22095r22096
273273      memset(&m_cputag, 0, sizeof(m_cputag));
274274      memset(&m_rom_region, 0, sizeof(m_rom_region));
275275   }
276   m_shortname = "i82439tx";
277276}
278277
279278//-------------------------------------------------
trunk/src/mess/machine/d9060hd.c
r22095r22096
1010const device_type D9060HD = &device_creator<d9060hd_device>;
1111
1212d9060hd_device::d9060hd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
13   : scsihd_device(mconfig, D9060HD, "D9060HD", tag, owner, clock)
13   : scsihd_device(mconfig, D9060HD, "D9060HD", tag, owner, clock, "d9060hd", __FILE__)
1414{
1515}
1616
trunk/src/mess/machine/isa_sblaster.h
r22095r22096
9696{
9797public:
9898      // construction/destruction
99      sb_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name);
99      sb_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source);
100100
101101      required_device<dac_device> m_dacl;
102102      required_device<dac_device> m_dacr;
r22095r22096
158158{
159159public:
160160      // construction/destruction
161      sb8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name);
161      sb8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source);
162162protected:
163163      virtual void device_start();
164164      virtual void drq_w(int state) { m_isa->drq1_w(state); }
r22095r22096
178178protected:
179179      // device-level overrides
180180      virtual void device_start();
181      virtual void device_config_complete() { m_shortname = "isa_sblaster1_0"; }
182181private:
183182      // internal state
184183};
r22095r22096
194193protected:
195194      // device-level overrides
196195      virtual void device_start();
197      virtual void device_config_complete() { m_shortname = "isa_sblaster1_5"; }
198196private:
199197      // internal state
200198};
r22095r22096
204202{
205203public:
206204      // construction/destruction
207      sb16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name);
205      sb16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, const char *name, const char *shortname, const char *source);
208206      DECLARE_READ8_MEMBER(mpu401_r);
209207      DECLARE_WRITE8_MEMBER(mpu401_w);
210208      DECLARE_READ8_MEMBER(mixer_r);
r22095r22096
236234protected:
237235      // device-level overrides
238236      virtual void device_start();
239      virtual void device_config_complete() { m_shortname = "isa_sblaster_16"; }
240237private:
241238      // internal state
242239};
trunk/src/mess/machine/comx_eb.h
r22095r22096
5757   // device-level overrides
5858   virtual void device_start();
5959   virtual void device_reset();
60   virtual void device_config_complete() { m_shortname = "comx_eb"; }
6160
6261   // device_comx_expansion_card_interface overrides
6362   virtual int comx_ef4_r();
trunk/src/mess/machine/md_rom.h
r22095r22096
1414{
1515public:
1616   // construction/destruction
17   md_std_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
17   md_std_rom_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);
1818   md_std_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1919
2020   // device-level overrides
2121   virtual void device_start() {};
22   virtual void device_config_complete() { m_shortname = "md_std_rom"; }
2322
2423   // reading and writing
2524   virtual DECLARE_READ16_MEMBER(read) { if (offset < 0x400000/2) return m_rom[MD_ADDR(offset)]; else return 0xffff; };
r22095r22096
3433   // construction/destruction
3534   md_rom_sram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
3635
37   // device-level overrides
38   virtual void device_config_complete() { m_shortname = "md_rom_sram"; }
39
4036   // reading and writing
4137   virtual DECLARE_READ16_MEMBER(read);
4238   virtual DECLARE_WRITE16_MEMBER(write);
r22095r22096
5147   // construction/destruction
5248   md_rom_fram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
5349
54   // device-level overrides
55   virtual void device_config_complete() { m_shortname = "md_rom_fram"; }
56
5750   // reading and writing
5851   virtual DECLARE_READ16_MEMBER(read);
5952   virtual DECLARE_WRITE16_MEMBER(write);
r22095r22096
7265   // device-level overrides
7366   virtual void device_start();
7467   virtual void device_reset();
75   virtual void device_config_complete() { m_shortname = "md_rom_ssf2"; }
7668
7769   // reading and writing
7870   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
9486   // device-level overrides
9587   virtual void device_start();
9688   virtual void device_reset();
97   virtual void device_config_complete() { m_shortname = "md_rom_cm2in1"; }
9889
9990   // reading and writing
10091   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
115106   // device-level overrides
116107   virtual void device_start();
117108   virtual void device_reset();
118   virtual void device_config_complete() { m_shortname = "md_rom_mcpirate"; }
119109
120110   // reading and writing
121111   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
134124   // construction/destruction
135125   md_rom_bugslife_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
136126
137   // device-level overrides
138   virtual void device_config_complete() { m_shortname = "md_rom_bugslife"; }
139
140127   // reading and writing
141128   virtual DECLARE_READ16_MEMBER(read_a13);
142129};
r22095r22096
152139   // device-level overrides
153140   virtual void device_start();
154141   virtual void device_reset();
155   virtual void device_config_complete() { m_shortname = "md_rom_chinf3"; }
156142
157143   // reading and writing
158144   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
170156   // construction/destruction
171157   md_rom_elfwor_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
172158
173   // device-level overrides
174   virtual void device_config_complete() { m_shortname = "md_rom_elfwor"; }
175
176159   // reading and writing
177160   virtual DECLARE_READ16_MEMBER(read);
178161};
r22095r22096
185168   // construction/destruction
186169   md_rom_yasech_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
187170
188   // device-level overrides
189   virtual void device_config_complete() { m_shortname = "md_rom_yasech"; }
190
191171   // reading and writing
192172   virtual DECLARE_READ16_MEMBER(read);
193173};
r22095r22096
200180   // construction/destruction
201181   md_rom_kof98_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
202182
203   // device-level overrides
204   virtual void device_config_complete() { m_shortname = "md_rom_kof98"; }
205
206183   // reading and writing
207184   virtual DECLARE_READ16_MEMBER(read);
208185};
r22095r22096
215192   // construction/destruction
216193   md_rom_kof99_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
217194
218   // device-level overrides
219   virtual void device_config_complete() { m_shortname = "md_rom_kof99"; }
220
221195   // reading and writing
222196   virtual DECLARE_READ16_MEMBER(read_a13);
223197};
r22095r22096
233207   // device-level overrides
234208   virtual void device_start();
235209   virtual void device_reset();
236   virtual void device_config_complete() { m_shortname = "md_rom_lion2"; }
237210
238211   // reading and writing
239212   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
254227   // device-level overrides
255228   virtual void device_start();
256229   virtual void device_reset();
257   virtual void device_config_complete() { m_shortname = "md_rom_lion3"; }
258230
259231   // reading and writing
260232   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
273245   // construction/destruction
274246   md_rom_mjlov_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
275247
276   // device-level overrides
277   virtual void device_config_complete() { m_shortname = "md_rom_mjlov"; }
278
279248   // reading and writing
280249   virtual DECLARE_READ16_MEMBER(read);
281250};
r22095r22096
288257   // construction/destruction
289258   md_rom_pokea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
290259
291   // device-level overrides
292   virtual void device_config_complete() { m_shortname = "md_rom_pokea"; }
293
294260   // reading and writing
295261   virtual DECLARE_READ16_MEMBER(read_a13);
296262};
r22095r22096
306272   // device-level overrides
307273   virtual void device_start();
308274   virtual void device_reset();
309   virtual void device_config_complete() { m_shortname = "md_rom_pokestad"; }
310275
311276   // reading and writing
312277   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
327292   // device-level overrides
328293   virtual void device_start();
329294   virtual void device_reset();
330   virtual void device_config_complete() { m_shortname = "md_rom_realtec"; }
331295
332296   // reading and writing
333297   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
345309   // construction/destruction
346310   md_rom_redcl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
347311
348   // device-level overrides
349   virtual void device_config_complete() { m_shortname = "md_rom_redcl"; }
350
351312   // reading and writing
352313   virtual DECLARE_READ16_MEMBER(read);
353314};
r22095r22096
360321   // construction/destruction
361322   md_rom_rx3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
362323
363   // device-level overrides
364   virtual void device_config_complete() { m_shortname = "md_rom_rx3"; }
365
366324   // reading and writing
367325   virtual DECLARE_READ16_MEMBER(read_a13);
368326};
r22095r22096
375333   // construction/destruction
376334   md_rom_sbubl_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
377335
378   // device-level overrides
379   virtual void device_config_complete() { m_shortname = "md_rom_sbubl"; }
380
381336   // reading and writing
382337   virtual DECLARE_READ16_MEMBER(read);
383338};
r22095r22096
390345   // construction/destruction
391346   md_rom_smb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
392347
393   // device-level overrides
394   virtual void device_config_complete() { m_shortname = "md_rom_smb"; }
395
396348   // reading and writing
397349   virtual DECLARE_READ16_MEMBER(read_a13);
398350};
r22095r22096
405357   // construction/destruction
406358   md_rom_smb2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
407359
408   // device-level overrides
409   virtual void device_config_complete() { m_shortname = "md_rom_smb2"; }
410
411360   // reading and writing
412361   virtual DECLARE_READ16_MEMBER(read_a13);
413362};
r22095r22096
423372   // device-level overrides
424373   virtual void device_start();
425374   virtual void device_reset();
426   virtual void device_config_complete() { m_shortname = "md_rom_smw64"; }
427375
428376   // reading and writing
429377   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
443391   // construction/destruction
444392   md_rom_smouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
445393
446   // device-level overrides
447   virtual void device_config_complete() { m_shortname = "md_rom_smouse"; }
448
449394   // reading and writing
450395   virtual DECLARE_READ16_MEMBER(read);
451396};
r22095r22096
459404   // construction/destruction
460405   md_rom_soulb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
461406
462   // device-level overrides
463   virtual void device_config_complete() { m_shortname = "md_rom_soulb"; }
464
465407   // reading and writing
466408   virtual DECLARE_READ16_MEMBER(read);
467409};
r22095r22096
477419   // device-level overrides
478420   virtual void device_start();
479421   virtual void device_reset();
480   virtual void device_config_complete() { m_shortname = "md_rom_squir"; }
481422
482423   // reading and writing
483424   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
498439   // device-level overrides
499440   virtual void device_start();
500441   virtual void device_reset();
501   virtual void device_config_complete() { m_shortname = "md_rom_topf"; }
502442
503443   // reading and writing
504444   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
520460   // device-level overrides
521461   virtual void device_start();
522462   virtual void device_reset();
523   virtual void device_config_complete() { m_shortname = "md_rom_radica"; }
524463
525464   // reading and writing
526465   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
541480   // device-level overrides
542481   virtual void device_start();
543482   virtual void device_reset();
544   virtual void device_config_complete() { m_shortname = "md_rom_beggarp"; }
545483
546484   // reading and writing
547485   virtual DECLARE_READ16_MEMBER(read);
r22095r22096
563501   // device-level overrides
564502   virtual void device_start();
565503   virtual void device_reset();
566   virtual void device_config_complete() { m_shortname = "md_rom_wukong"; }
567504
568505   // reading and writing
569506   virtual DECLARE_READ16_MEMBER(read);
trunk/src/mess/machine/sns_sfx.c
r22095r22096
2020
2121
2222sns_rom_superfx_device::sns_rom_superfx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23         : sns_rom_device(mconfig, SNS_LOROM_SUPERFX, "SNES Cart (LoROM) + SuperFX", tag, owner, clock),
23         : sns_rom_device(mconfig, SNS_LOROM_SUPERFX, "SNES Cart (LoROM) + SuperFX", tag, owner, clock, "sns_rom_superfx", __FILE__),
2424         m_superfx(*this, "superfx")
2525{
2626}
trunk/src/mess/machine/c64_dqbb.c
r22095r22096
3737//-------------------------------------------------
3838
3939c64_dqbb_cartridge_device::c64_dqbb_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
40   device_t(mconfig, C64_DQBB, "C64 Double Quick Brown Box cartridge", tag, owner, clock),
40   device_t(mconfig, C64_DQBB, "C64 Double Quick Brown Box cartridge", tag, owner, clock, "c64_dqbb", __FILE__),
4141   device_c64_expansion_card_interface(mconfig, *this),
4242   device_nvram_interface(mconfig, *this)
4343{
trunk/src/mess/machine/sns_sfx.h
r22095r22096
1717   // device-level overrides
1818   virtual void device_start();
1919   virtual void device_reset();
20   virtual void device_config_complete() { m_shortname = "sns_rom_superfx"; }
2120   virtual machine_config_constructor device_mconfig_additions() const;
2221
2322   required_device<device_t> m_superfx;
trunk/src/mess/machine/c64_dqbb.h
r22095r22096
3737   // device-level overrides
3838   virtual void device_start();
3939   virtual void device_reset();
40   virtual void device_config_complete() { m_shortname = "c64_dqbb"; }
4140
4241   // device_nvram_interface overrides
4342   virtual void nvram_default() { }
trunk/src/mess/machine/c64_stardos.c
r22095r22096
114114//-------------------------------------------------
115115
116116c64_stardos_cartridge_device::c64_stardos_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
117   device_t(mconfig, C64_STARDOS, "C64 StarDOS cartridge", tag, owner, clock),
117   device_t(mconfig, C64_STARDOS, "C64 StarDOS cartridge", tag, owner, clock, "c64_stardos", __FILE__),
118118   device_c64_expansion_card_interface(mconfig, *this),
119119   m_io1_charge(0),
120120   m_io2_charge(0)
trunk/src/mess/machine/c64_stardos.h
r22095r22096
3737
3838protected:
3939   // device-level overrides
40   virtual void device_config_complete() { m_shortname = "c64_stardos"; }
4140   virtual void device_start();
4241
4342   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/c64_magic_formel.c
r22095r22096
177177//-------------------------------------------------
178178
179179c64_magic_formel_cartridge_device::c64_magic_formel_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
180   device_t(mconfig, C64_MAGIC_FORMEL, "C64 Magic Formel cartridge", tag, owner, clock),
180   device_t(mconfig, C64_MAGIC_FORMEL, "C64 Magic Formel cartridge", tag, owner, clock, "c64_magic_formel", __FILE__),
181181   device_c64_expansion_card_interface(mconfig, *this),
182182   m_pia(*this, MC6821_TAG),
183183   m_rom_bank(0),
trunk/src/mess/machine/ne1000.c
r22095r22096
1919}
2020
2121ne1000_device::ne1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22      : device_t(mconfig, NE1000, "NE1000 Network Adapter", tag, owner, clock),
22      : device_t(mconfig, NE1000, "NE1000 Network Adapter", tag, owner, clock, "ne1000", __FILE__),
2323      device_isa8_card_interface(mconfig, *this),
2424      m_dp8390(*this, "dp8390d") {
2525}
trunk/src/mess/machine/c64_magic_formel.h
r22095r22096
4545
4646protected:
4747   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "c64_magic_formel"; }
4948   virtual void device_start();
5049   virtual void device_reset();
5150
trunk/src/mess/machine/ne1000.h
r22095r22096
2323protected:
2424   virtual void device_start();
2525   virtual void device_reset();
26   virtual void device_config_complete() { m_shortname = "ne1000"; }
2726private:
2827   required_device<dp8390d_device> m_dp8390;
2928   UINT8 m_irq;
trunk/src/mess/machine/c64_sfx_sound_expander.c
r22095r22096
189189//-------------------------------------------------
190190
191191c64_sfx_sound_expander_cartridge_device::c64_sfx_sound_expander_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
192   device_t(mconfig, C64_SFX_SOUND_EXPANDER, "C64 SFX Sound Expander cartridge", tag, owner, clock),
192   device_t(mconfig, C64_SFX_SOUND_EXPANDER, "C64 SFX Sound Expander cartridge", tag, owner, clock, "c64_sfxse", __FILE__),
193193   device_c64_expansion_card_interface(mconfig, *this),
194194   m_opl(*this, YM3526_TAG),
195195   m_exp(*this, C64_EXPANSION_SLOT_TAG),
trunk/src/mess/machine/c64_sfx_sound_expander.h
r22095r22096
4040
4141protected:
4242   // device-level overrides
43   virtual void device_config_complete() { m_shortname = "c64_sfxse"; }
4443   virtual void device_start();
4544   virtual void device_reset();
4645
trunk/src/mess/machine/c64_comal80.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_comal80_cartridge_device::c64_comal80_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_COMAL80, "C64 COMAL 80 cartridge", tag, owner, clock),
31   device_t(mconfig, C64_COMAL80, "C64 COMAL 80 cartridge", tag, owner, clock, "c64_comal80", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/sns_rom.c
r22095r22096
3030const device_type SNS_LOROM_20COL = &device_creator<sns_rom_20col_device>;
3131
3232
33sns_rom_device::sns_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
34               : device_t(mconfig, type, name, tag, owner, clock),
33sns_rom_device::sns_rom_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, shortname, source),
3535                  device_sns_cart_interface( mconfig, *this )
3636{
3737}
3838
3939sns_rom_device::sns_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
40               : device_t(mconfig, SNS_LOROM, "SNES Cart (LoROM)", tag, owner, clock),
40               : device_t(mconfig, SNS_LOROM, "SNES Cart (LoROM)", tag, owner, clock, "sns_rom", __FILE__),
4141                  device_sns_cart_interface( mconfig, *this )
4242{
4343}
4444
4545sns_rom_obc1_device::sns_rom_obc1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46               : sns_rom_device(mconfig, SNS_LOROM_OBC1, "SNES Cart (LoROM) + OBC-1", tag, owner, clock)
46               : sns_rom_device(mconfig, SNS_LOROM_OBC1, "SNES Cart (LoROM) + OBC-1", tag, owner, clock, "sns_rom_obc1", __FILE__)
4747{
4848}
4949
r22095r22096
5151
5252// Pirate LoROM 'mappers'
5353sns_rom_pokemon_device::sns_rom_pokemon_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
54               : sns_rom_device(mconfig, SNS_LOROM_POKEMON, "SNES Pirate Carts with Protection", tag, owner, clock)
54               : sns_rom_device(mconfig, SNS_LOROM_POKEMON, "SNES Pirate Carts with Protection", tag, owner, clock, "sns_rom_pokemon", __FILE__)
5555{
5656}
5757
5858sns_rom_tekken2_device::sns_rom_tekken2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
59               : sns_rom_device(mconfig, SNS_LOROM_TEKKEN2, "SNES Tekken 2", tag, owner, clock)
59               : sns_rom_device(mconfig, SNS_LOROM_TEKKEN2, "SNES Tekken 2", tag, owner, clock, "sns_rom_tekken2", __FILE__)
6060{
6161}
6262
6363sns_rom_soulblad_device::sns_rom_soulblad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
64               : sns_rom_device(mconfig, SNS_LOROM_SOULBLAD, "SNES Soul Blade", tag, owner, clock)
64               : sns_rom_device(mconfig, SNS_LOROM_SOULBLAD, "SNES Soul Blade", tag, owner, clock, "sns_rom_soulblad", __FILE__)
6565{
6666}
6767
6868sns_rom_banana_device::sns_rom_banana_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
69               : sns_rom_device(mconfig, SNS_LOROM_BANANA, "SNES Banana de Pijamas", tag, owner, clock)
69               : sns_rom_device(mconfig, SNS_LOROM_BANANA, "SNES Banana de Pijamas", tag, owner, clock, "sns_rom_banana", __FILE__)
7070{
7171}
7272
7373sns_rom_bugs_device::sns_rom_bugs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
74               : sns_rom_device(mconfig, SNS_LOROM_BUGSLIFE, "SNES A Bug's Life", tag, owner, clock)
74               : sns_rom_device(mconfig, SNS_LOROM_BUGSLIFE, "SNES A Bug's Life", tag, owner, clock, "sns_rom_bugslife", __FILE__)
7575{
7676}
7777
7878// Multigame LoROM 'mappers'
7979sns_rom_mcpirate1_device::sns_rom_mcpirate1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
80               : sns_rom_device(mconfig, SNS_LOROM_MCPIR1, "SNES Pirate Multigame Carts Type 1", tag, owner, clock)
80               : sns_rom_device(mconfig, SNS_LOROM_MCPIR1, "SNES Pirate Multigame Carts Type 1", tag, owner, clock, "sns_rom_mcpirate1", __FILE__)
8181{
8282}
8383
8484sns_rom_mcpirate2_device::sns_rom_mcpirate2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85               : sns_rom_device(mconfig, SNS_LOROM_MCPIR2, "SNES Pirate Multigame Carts Type 2", tag, owner, clock)
85               : sns_rom_device(mconfig, SNS_LOROM_MCPIR2, "SNES Pirate Multigame Carts Type 2", tag, owner, clock, "sns_rom_mcpirate2", __FILE__)
8686{
8787}
8888
8989sns_rom_20col_device::sns_rom_20col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
90               : sns_rom_device(mconfig, SNS_LOROM_20COL, "SNES Super 20 Collection", tag, owner, clock)
90               : sns_rom_device(mconfig, SNS_LOROM_20COL, "SNES Super 20 Collection", tag, owner, clock, "sns_rom_20col", __FILE__)
9191{
9292}
9393
trunk/src/mess/machine/s100_djdma.c
r22095r22096
104104//-------------------------------------------------
105105
106106s100_djdma_device::s100_djdma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
107   device_t(mconfig, S100_DJDMA, "DJDMA", tag, owner, clock),
107   device_t(mconfig, S100_DJDMA, "DJDMA", tag, owner, clock, "djdma", __FILE__),
108108   device_s100_card_interface(mconfig, *this)
109109{
110110}
trunk/src/mess/machine/c64_comal80.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_comal80"; }
3938
4039   // device_c64_expansion_card_interface overrides
4140   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
trunk/src/mess/machine/sns_rom.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   sns_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   sns_rom_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   sns_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1616
1717   // device-level overrides
1818   virtual void device_start();
19   virtual void device_config_complete() { m_shortname = "sns_rom"; }
20
19   
2120   // reading and writing
2221   virtual DECLARE_READ8_MEMBER(read_l);
2322   virtual DECLARE_READ8_MEMBER(read_h);
r22095r22096
3433   // device-level overrides
3534   virtual void device_start();
3635   virtual void device_reset();
37   virtual void device_config_complete() { m_shortname = "sns_rom_obc1"; }
3836
3937   // additional reading and writing
4038   virtual DECLARE_READ8_MEMBER(chip_read);
r22095r22096
5957   // device-level overrides
6058   virtual void device_start();
6159   virtual void device_reset();
62   virtual void device_config_complete() { m_shortname = "sns_rom_pokemon"; }
6360
6461   // reading and writing
6562   virtual DECLARE_READ8_MEMBER(chip_read);    // protection device
r22095r22096
7875   // device-level overrides
7976   virtual void device_start();
8077   virtual void device_reset();
81   virtual void device_config_complete() { m_shortname = "sns_rom_tekken2"; }
8278
8379   // reading and writing
8480   virtual DECLARE_READ8_MEMBER(chip_read);    // protection device
r22095r22096
9995   // construction/destruction
10096   sns_rom_soulblad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
10197
102   // device-level overrides
103   virtual void device_config_complete() { m_shortname = "sns_rom_soulblad"; }
104
10598   // reading and writing
10699   virtual DECLARE_READ8_MEMBER(chip_read);    // protection device
107100};
r22095r22096
117110   // device-level overrides
118111   virtual void device_start();
119112   virtual void device_reset();
120   virtual void device_config_complete() { m_shortname = "sns_rom_mcpirate1"; }
121113
122114   // reading and writing
123115   virtual DECLARE_READ8_MEMBER(read_l);
r22095r22096
137129   // device-level overrides
138130   virtual void device_start();
139131   virtual void device_reset();
140   virtual void device_config_complete() { m_shortname = "sns_rom_mcpirate2"; }
141132
142133   // reading and writing
143134   virtual DECLARE_READ8_MEMBER(read_l);
r22095r22096
156147
157148   // device-level overrides
158149   virtual void device_start();
159   virtual void device_config_complete() { m_shortname = "sns_rom_20col"; }
160
150   
161151   // reading and writing
162152   virtual DECLARE_READ8_MEMBER(read_l);
163153   virtual DECLARE_READ8_MEMBER(read_h);
r22095r22096
176166   // device-level overrides
177167//  virtual void device_start();
178168//  virtual void device_reset();
179   virtual void device_config_complete() { m_shortname = "sns_rom_banana"; }
180169
181170   // reading and writing
182171   virtual DECLARE_READ8_MEMBER(chip_read);    // protection device
r22095r22096
195184   // device-level overrides
196185   virtual void device_start();
197186   virtual void device_reset();
198   virtual void device_config_complete() { m_shortname = "sns_rom_bugslife"; }
199187
200188   // reading and writing
201189   virtual DECLARE_READ8_MEMBER(chip_read);    // protection device
trunk/src/mess/machine/diag264_lb_tape.c
r22095r22096
2828//-------------------------------------------------
2929
3030diag264_cassette_loopback_device::diag264_cassette_loopback_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DIAG264_CASSETTE_LOOPBACK, "Diag264 Cassette Loopback", tag, owner, clock),
31   : device_t(mconfig, DIAG264_CASSETTE_LOOPBACK, "Diag264 Cassette Loopback", tag, owner, clock, "diag264_loopback_cassette", __FILE__),
3232      device_pet_datassette_port_interface(mconfig, *this),
3333      m_read(1),
3434      m_sense(0)
trunk/src/mess/machine/s100_djdma.h
r22095r22096
4040   // device-level overrides
4141   virtual void device_start();
4242   virtual void device_reset();
43   virtual void device_config_complete() { m_shortname = "djdma"; }
4443
4544private:
4645   // internal state
trunk/src/mess/machine/isa_fdc.c
r22095r22096
5959MACHINE_CONFIG_END
6060
6161
62isa8_fdc_device::isa8_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
63   device_t(mconfig, type, name, tag, owner, clock),
62isa8_fdc_device::isa8_fdc_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) :
63   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
6464   device_isa8_card_interface(mconfig, *this),
6565   fdc(*this, "fdc")
6666{
r22095r22096
105105   fdc->tc_w(state == ASSERT_LINE);
106106}
107107
108isa8_fdc_xt_device::isa8_fdc_xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_XT, "ISA 8bits XT FDC hookup", tag, owner, clock)
108isa8_fdc_xt_device::isa8_fdc_xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_XT, "ISA 8bits XT FDC hookup", tag, owner, clock, "isa8_fdc_xt", __FILE__)
109109{
110   m_shortname = "isa8_fdc_xt";
111110}
112111
113112machine_config_constructor isa8_fdc_xt_device::device_mconfig_additions() const
r22095r22096
115114   return MACHINE_CONFIG_NAME(cfg_xt);
116115}
117116
118isa8_fdc_at_device::isa8_fdc_at_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_AT, "ISA 8bits AT FDC hookup", tag, owner, clock)
117isa8_fdc_at_device::isa8_fdc_at_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_AT, "ISA 8bits AT FDC hookup", tag, owner, clock, "isa8_fdc_at", __FILE__)
119118{
120   m_shortname = "isa8_fdc_at";
121119}
122120
123121machine_config_constructor isa8_fdc_at_device::device_mconfig_additions() const
r22095r22096
125123   return MACHINE_CONFIG_NAME(cfg_at);
126124}
127125
128isa8_fdc_smc_device::isa8_fdc_smc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_XT, "ISA 8bits SMC FDC hookup", tag, owner, clock)
126isa8_fdc_smc_device::isa8_fdc_smc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_XT, "ISA 8bits SMC FDC hookup", tag, owner, clock, "isa8_fdc_smc", __FILE__)
129127{
130   m_shortname = "isa8_fdc_smc";
131128}
132129
133130machine_config_constructor isa8_fdc_smc_device::device_mconfig_additions() const
r22095r22096
135132   return MACHINE_CONFIG_NAME(cfg_smc);
136133}
137134
138isa8_fdc_ps2_device::isa8_fdc_ps2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_PS2, "ISA 8bits PS/2 FDC hookup", tag, owner, clock)
135isa8_fdc_ps2_device::isa8_fdc_ps2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_PS2, "ISA 8bits PS/2 FDC hookup", tag, owner, clock, "isa8_fdc_ps2", __FILE__)
139136{
140   m_shortname = "isa8_fdc_ps2";
141137}
142138
143139machine_config_constructor isa8_fdc_ps2_device::device_mconfig_additions() const
r22095r22096
145141   return MACHINE_CONFIG_NAME(cfg_ps2);
146142}
147143
148isa8_fdc_superio_device::isa8_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_SUPERIO, "ISA 8bits SUPERIO FDC hookup", tag, owner, clock)
144isa8_fdc_superio_device::isa8_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_fdc_device(mconfig, ISA8_FDC_SUPERIO, "ISA 8bits SUPERIO FDC hookup", tag, owner, clock, "isa8_fdc_superio", __FILE__)
149145{
150   m_shortname = "isa8_fdc_superio";
151146}
152147
153148machine_config_constructor isa8_fdc_superio_device::device_mconfig_additions() const
trunk/src/mess/machine/c64_cpm.c
r22095r22096
131131//-------------------------------------------------
132132
133133c64_cpm_cartridge_device::c64_cpm_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
134   device_t(mconfig, C64_CPM, "C64 CP/M cartridge", tag, owner, clock),
134   device_t(mconfig, C64_CPM, "C64 CP/M cartridge", tag, owner, clock, "c64_cpm", __FILE__),
135135   device_c64_expansion_card_interface(mconfig, *this),
136136   m_maincpu(*this, Z80_TAG),
137137   m_enabled(0),
trunk/src/mess/machine/diag264_lb_tape.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "diag264_loopback_cassette"; }
3736   virtual void device_start();
3837
3938   // device_pet_datassette_port_interface overrides
trunk/src/mess/machine/kc_ram.c
r22095r22096
4141//-------------------------------------------------
4242
4343kc_m011_device::kc_m011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
44      : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock),
44      : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock, "kc_m011", __FILE__),
4545      device_kcexp_interface( mconfig, *this )
4646{
4747}
4848
49kc_m011_device::kc_m011_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),
49kc_m011_device::kc_m011_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      device_kcexp_interface( mconfig, *this )
5252{
5353}
r22095r22096
146146//-------------------------------------------------
147147
148148kc_m022_device::kc_m022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
149      : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock)
149      : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock, "kc_m022", __FILE__)
150150{
151151}
152152
r22095r22096
191191//-------------------------------------------------
192192
193193kc_m032_device::kc_m032_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
194      : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock)
194      : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock, "kc_m032", __FILE__)
195195{
196196}
197197
r22095r22096
260260//-------------------------------------------------
261261
262262kc_m034_device::kc_m034_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
263      : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock)
263      : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock, "kc_m034", __FILE__)
264264{
265265}
266266
r22095r22096
329329//-------------------------------------------------
330330
331331kc_m035_device::kc_m035_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
332      : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock)
332      : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock, "kc_m035", __FILE__)
333333{
334334}
335335
r22095r22096
387387//-------------------------------------------------
388388
389389kc_m036_device::kc_m036_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
390      : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock)
390      : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock, "kc_m036", __FILE__)
391391{
392392}
393393
trunk/src/mess/machine/isa_fdc.h
r22095r22096
2424{
2525public:
2626   // construction/destruction
27   isa8_fdc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
27   isa8_fdc_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   required_device<pc_fdc_interface> fdc;
3030
trunk/src/mess/machine/c64_cpm.h
r22095r22096
4444   // device-level overrides
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete() { m_shortname = "c64_cpm"; }
4847
4948   // device_c64_expansion_card_interface overrides
5049   virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
trunk/src/mess/machine/kc_ram.h
r22095r22096
1919public:
2020   // construction/destruction
2121   kc_m011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22   kc_m011_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22   kc_m011_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);
2323
2424protected:
2525   // device-level overrides
2626   virtual void device_start();
2727   virtual void device_reset();
28   virtual void device_config_complete() { m_shortname = "kc_m011"; }
2928
3029   // kcexp_interface overrides
3130   virtual UINT8 module_id_r() { return 0xf6; }
r22095r22096
6160   kc_m022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6261
6362protected:
64   // device-level overrides
65   virtual void device_config_complete() { m_shortname = "kc_m022"; }
66
6763   // kcexp_interface overrides
6864   virtual UINT8 module_id_r() { return 0xf4; }
6965   virtual void read(offs_t offset, UINT8 &ata);
r22095r22096
8783protected:
8884   // device-level overrides
8985   virtual void device_reset();
90   virtual void device_config_complete() { m_shortname = "kc_m032"; }
9186
9287   // kcexp_interface overrides
9388   virtual UINT8 module_id_r() { return 0x79; }
r22095r22096
113108protected:
114109   // device-level overrides
115110   virtual void device_reset();
116   virtual void device_config_complete() { m_shortname = "kc_m034"; }
117111
118112   // kcexp_interface overrides
119113   virtual UINT8 module_id_r() { return 0x7a; }
r22095r22096
137131   kc_m035_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
138132
139133protected:
140   // device-level overrides
141   virtual void device_config_complete() { m_shortname = "kc_m035"; }
142
143134   // kcexp_interface overrides
144135   virtual UINT8 module_id_r() { return 0x7b; }
145136   virtual void control_w(UINT8 data);
r22095r22096
164155protected:
165156   // device-level overrides
166157   virtual void device_reset();
167   virtual void device_config_complete() { m_shortname = "kc_m036"; }
168158
169159   // kcexp_interface overrides
170160   virtual UINT8 module_id_r() { return 0x78; }
trunk/src/mess/machine/c64_warp_speed.c
r22095r22096
8787//-------------------------------------------------
8888
8989c64_warp_speed_cartridge_device::c64_warp_speed_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
90   device_t(mconfig, C64_WARP_SPEED, "C64 Warp Speed cartridge", tag, owner, clock),
90   device_t(mconfig, C64_WARP_SPEED, "C64 Warp Speed cartridge", tag, owner, clock, "c64_warp_speed", __FILE__),
9191   device_c64_expansion_card_interface(mconfig, *this)
9292{
9393}
trunk/src/mess/machine/c64_ps64.c
r22095r22096
102102//-------------------------------------------------
103103
104104c64_ps64_cartridge_device::c64_ps64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
105   device_t(mconfig, C64_PS64, "C64 PS-64", tag, owner, clock),
105   device_t(mconfig, C64_PS64, "C64 PS-64", tag, owner, clock, "c64_ps64", __FILE__),
106106   device_c64_expansion_card_interface(mconfig, *this)
107107{
108108}
trunk/src/mess/machine/c64_warp_speed.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_warp_speed"; }
4039   virtual void device_start();
4140   virtual void device_reset();
4241
trunk/src/mess/machine/lux10828.c
r22095r22096
410410//-------------------------------------------------
411411
412412luxor_55_10828_device::luxor_55_10828_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
413   : device_t(mconfig, LUXOR_55_10828, "Luxor 55 10828", tag, owner, clock),
413   : device_t(mconfig, LUXOR_55_10828, "Luxor 55 10828", tag, owner, clock, "lux10828", __FILE__),
414414      device_abcbus_card_interface(mconfig, *this),
415415      m_maincpu(*this, Z80_TAG),
416416      m_pio(*this, Z80PIO_TAG),
trunk/src/mess/machine/c64_ps64.h
r22095r22096
3737
3838protected:
3939   // device-level overrides
40   virtual void device_config_complete() { m_shortname = "c64_ps64"; }
4140   virtual void device_start();
4241   virtual void device_reset();
4342
trunk/src/mess/machine/a2zipdrive.c
r22095r22096
6767//  LIVE DEVICE
6868//**************************************************************************
6969
70a2bus_zipdrivebase_device::a2bus_zipdrivebase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
71   device_t(mconfig, type, name, tag, owner, clock),
70a2bus_zipdrivebase_device::a2bus_zipdrivebase_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) :
71   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7272   device_a2bus_card_interface(mconfig, *this),
7373   m_ide(*this, ZIPDRIVE_IDE_TAG)
7474{
7575}
7676
7777a2bus_zipdrive_device::a2bus_zipdrive_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
78   a2bus_zipdrivebase_device(mconfig, A2BUS_ZIPDRIVE, "Zip Technologies ZipDrive", tag, owner, clock)
78   a2bus_zipdrivebase_device(mconfig, A2BUS_ZIPDRIVE, "Zip Technologies ZipDrive", tag, owner, clock, "a2zipdrv", __FILE__)
7979{
80   m_shortname = "a2zipdrv";
8180}
8281
8382//-------------------------------------------------
trunk/src/mess/machine/lux10828.h
r22095r22096
7979   // device-level overrides
8080   virtual void device_start();
8181   virtual void device_reset();
82   virtual void device_config_complete() { m_shortname = "lux10828"; }
8382
8483   // device_abcbus_interface overrides
8584   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/a2zipdrive.h
r22095r22096
2525{
2626public:
2727   // construction/destruction
28   a2bus_zipdrivebase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
28   a2bus_zipdrivebase_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);
2929
3030   // optional information overrides
3131   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/a2alfam2.c
r22095r22096
6565//  LIVE DEVICE
6666//**************************************************************************
6767
68a2bus_alfam2_device::a2bus_alfam2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
69   device_t(mconfig, type, name, tag, owner, clock),
68a2bus_alfam2_device::a2bus_alfam2_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) :
69   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7070   device_a2bus_card_interface(mconfig, *this),
7171   m_sn1(*this, SN1_TAG),
7272   m_sn2(*this, SN2_TAG),
7373   m_sn3(*this, SN3_TAG)
7474{
75   m_shortname = "a2alfam2";
7675}
7776
7877a2bus_alfam2_device::a2bus_alfam2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
79   device_t(mconfig, A2BUS_ALFAM2, "ALF Apple Music II", tag, owner, clock),
78   device_t(mconfig, A2BUS_ALFAM2, "ALF Apple Music II", tag, owner, clock, "a2alfam2", __FILE__),
8079   device_a2bus_card_interface(mconfig, *this),
8180   m_sn1(*this, SN1_TAG),
8281   m_sn2(*this, SN2_TAG),
8382   m_sn3(*this, SN3_TAG)
8483{
85   m_shortname = "a2alfam2";
8684}
8785
8886//-------------------------------------------------
trunk/src/mess/machine/a2alfam2.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_alfam2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_alfam2_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);
2727   a2bus_alfam2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2828
2929   // optional information overrides
trunk/src/mess/machine/c64_mikro_assembler.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_mikro_assembler_cartridge_device::c64_mikro_assembler_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_MIKRO_ASSEMBLER, "C64 Mikro Assembler cartridge", tag, owner, clock),
31   device_t(mconfig, C64_MIKRO_ASSEMBLER, "C64 Mikro Assembler cartridge", tag, owner, clock, "c64_mikro_assembler", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_mikro_assembler.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_mikro_assembler"; }
3736   virtual void device_start();
3837
3938   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/a2sam.c
r22095r22096
4646//  LIVE DEVICE
4747//**************************************************************************
4848
49a2bus_sam_device::a2bus_sam_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),
49a2bus_sam_device::a2bus_sam_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   device_a2bus_card_interface(mconfig, *this),
5252   m_dac(*this, DAC_TAG)
5353{
54   m_shortname = "a2sam";
5554}
5655
5756a2bus_sam_device::a2bus_sam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
58   device_t(mconfig, A2BUS_SAM, "Don't Ask Software SAM", tag, owner, clock),
57   device_t(mconfig, A2BUS_SAM, "Don't Ask Software SAM", tag, owner, clock, "a2sam", __FILE__),
5958   device_a2bus_card_interface(mconfig, *this),
6059   m_dac(*this, DAC_TAG)
6160{
62   m_shortname = "a2sam";
6361}
6462
6563//-------------------------------------------------
trunk/src/mess/machine/a2sam.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_sam_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_sam_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);
2727   a2bus_sam_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2828
2929   // optional information overrides
trunk/src/mess/machine/tvc_hbf.c
r22095r22096
5757//-------------------------------------------------
5858
5959tvc_hbf_device::tvc_hbf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60      : device_t(mconfig, TVC_HBF, "HBF floppy interface", tag, owner, clock),
60      : device_t(mconfig, TVC_HBF, "HBF floppy interface", tag, owner, clock, "tvc_hbf", __FILE__),
6161      device_tvcexp_interface( mconfig, *this ),
6262      m_fdc(*this, "fdc")
6363{
trunk/src/mess/machine/tf20.c
r22095r22096
158158//-------------------------------------------------
159159
160160epson_tf20_device::epson_tf20_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
161   device_t(mconfig, EPSON_TF20, "EPSON TF-20 dual floppy drive", tag, owner, clock),
161   device_t(mconfig, EPSON_TF20, "EPSON TF-20 dual floppy drive", tag, owner, clock, "epson_tf20", __FILE__),
162162   device_epson_sio_interface(mconfig, *this),
163163   m_cpu(*this, "19b"),
164164   m_ram(*this, "ram"),
trunk/src/mess/machine/sed1200.c
r22095r22096
6060   ROM_LOAD( "sed1200-b.bin", 0x000, 0x800, CRC(d0741f51) SHA1(c8c856f1357286a2c8c806af81724a828345357e))
6161ROM_END
6262
63sed1200_device::sed1200_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
64   device_t(mconfig, type, name, tag, owner, clock)
63sed1200_device::sed1200_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) :
64   device_t(mconfig, type, name, tag, owner, clock, shortname, source)
6565{
66   m_shortname = "sed1200";
6766}
6867
6968sed1200d0a_device::sed1200d0a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
70   sed1200_device(mconfig, SED1200D0A, "sed1200d-0a", tag, owner, clock)
69   sed1200_device(mconfig, SED1200D0A, "sed1200d-0a", tag, owner, clock, "sed1200", __FILE__)
7170{
7271}
7372
7473sed1200f0a_device::sed1200f0a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
75   sed1200_device(mconfig, SED1200F0A, "sed1200f-0a", tag, owner, clock)
74   sed1200_device(mconfig, SED1200F0A, "sed1200f-0a", tag, owner, clock, "sed1200", __FILE__)
7675{
7776}
7877
7978sed1200d0b_device::sed1200d0b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
80   sed1200_device(mconfig, SED1200D0B, "sed1200d-0b", tag, owner, clock)
79   sed1200_device(mconfig, SED1200D0B, "sed1200d-0b", tag, owner, clock, "sed1200", __FILE__)
8180{
8281}
8382
8483sed1200f0b_device::sed1200f0b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
85   sed1200_device(mconfig, SED1200F0B, "sed1200f-0b", tag, owner, clock)
84   sed1200_device(mconfig, SED1200F0B, "sed1200f-0b", tag, owner, clock, "sed1200", __FILE__)
8685{
8786}
8887
trunk/src/mess/machine/sns_bsx.c
r22095r22096
2525const device_type SNS_BSMEMPAK = &device_creator<sns_rom_bsmempak_device>;
2626
2727
28sns_rom_bsx_device::sns_rom_bsx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
29               : sns_rom_device(mconfig, type, name, tag, owner, clock),
28sns_rom_bsx_device::sns_rom_bsx_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)
29               : sns_rom_device(mconfig, type, name, tag, owner, clock, shortname, source),
3030                  m_slot(*this, "bs_slot")
3131{
3232}
3333
3434sns_rom_bsx_device::sns_rom_bsx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
35               : sns_rom_device(mconfig, SNS_ROM_BSX, "SNES BS-X Cart", tag, owner, clock),
35               : sns_rom_device(mconfig, SNS_ROM_BSX, "SNES BS-X Cart", tag, owner, clock, "sns_rom_bsx", __FILE__),
3636                  m_slot(*this, "bs_slot")
3737{
3838}
3939
4040sns_rom_bsxlo_device::sns_rom_bsxlo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
41               : sns_rom_device(mconfig, SNS_LOROM_BSX, "SNES Cart (LoROM) +  BS-X slot", tag, owner, clock),
41               : sns_rom_device(mconfig, SNS_LOROM_BSX, "SNES Cart (LoROM) +  BS-X slot", tag, owner, clock, "sns_rom_bsxlo", __FILE__),
4242                  m_slot(*this, "bs_slot")
4343{
4444}
4545
4646sns_rom_bsxhi_device::sns_rom_bsxhi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
47               : sns_rom21_device(mconfig, SNS_HIROM_BSX, "SNES Cart (HiROM) +  BS-X slot", tag, owner, clock),
47               : sns_rom21_device(mconfig, SNS_HIROM_BSX, "SNES Cart (HiROM) +  BS-X slot", tag, owner, clock, "sns_rom_bsxhi", __FILE__),
4848                  m_slot(*this, "bs_slot")
4949{
5050}
5151
5252sns_rom_bsmempak_device::sns_rom_bsmempak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
53               : sns_rom_device(mconfig, SNS_BSMEMPAK, "SNES BS-X Memory packs", tag, owner, clock)
53               : sns_rom_device(mconfig, SNS_BSMEMPAK, "SNES BS-X Memory packs", tag, owner, clock, "sns_bsmempak", __FILE__)
5454{
5555}
5656
trunk/src/mess/machine/tvc_hbf.h
r22095r22096
3333   // device-level overrides
3434   virtual void device_start();
3535   virtual void device_reset();
36   virtual void device_config_complete() { m_shortname = "tvc_hbf"; }
3736
3837   // tvcexp_interface overrides
3938   virtual UINT8 id_r() { return 0x02; } // ID_A to GND, ID_B to VCC
trunk/src/mess/machine/tf20.h
r22095r22096
4848
4949protected:
5050   // device-level overrides
51   virtual void device_config_complete() { m_shortname = "epson_tf20"; }
5251   virtual void device_start();
5352   virtual void device_reset();
5453   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/isa_mpu401.c
r22095r22096
8181//-------------------------------------------------
8282
8383isa8_mpu401_device::isa8_mpu401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
84      : device_t(mconfig, ISA8_MPU401, "Roland MPU-401 Sound Card", tag, owner, clock),
84      : device_t(mconfig, ISA8_MPU401, "Roland MPU-401 Sound Card", tag, owner, clock, "isa_mpu401", __FILE__),
8585      device_isa8_card_interface( mconfig, *this )
8686{
8787}
trunk/src/mess/machine/sed1200.h
r22095r22096
5858
5959class sed1200_device : public device_t {
6060public:
61   sed1200_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
61   sed1200_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);
6262
6363   void control_w(UINT8 data);
6464   UINT8 control_r();
trunk/src/mess/machine/adam_ide.c
r22095r22096
8787//-------------------------------------------------
8888
8989powermate_ide_device::powermate_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
90   : device_t(mconfig, ADAM_IDE, "Powermate HP IDE", tag, owner, clock),
90   : device_t(mconfig, ADAM_IDE, "Powermate HP IDE", tag, owner, clock, "adam_ide", __FILE__),
9191      device_adam_expansion_slot_card_interface(mconfig, *this),
9292      m_ide(*this, IDE_TAG),
9393      m_centronics(*this, CENTRONICS_TAG)
trunk/src/mess/machine/sns_bsx.h
r22095r22096
3232{
3333public:
3434   // construction/destruction
35   sns_rom_bsx_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
35   sns_rom_bsx_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);
3636   sns_rom_bsx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
3737
3838   // device-level overrides
3939   virtual void device_start();
4040   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "sns_rom_bsx"; }
4241   virtual machine_config_constructor device_mconfig_additions() const;
4342
4443   // additional reading and writing
r22095r22096
7978
8079   // device-level overrides
8180   virtual void device_start();
82   virtual void device_config_complete() { m_shortname = "sns_rom_bsxlo"; }
8381   virtual machine_config_constructor device_mconfig_additions() const;
8482
8583   // additional reading and writing
r22095r22096
10098
10199   // device-level overrides
102100   virtual void device_start();
103   virtual void device_config_complete() { m_shortname = "sns_rom_bsxhi"; }
104101   virtual machine_config_constructor device_mconfig_additions() const;
105102
106103   // additional reading and writing
r22095r22096
123120   // device-level overrides
124121   virtual void device_start();
125122   virtual void device_reset();
126   virtual void device_config_complete() { m_shortname = "sns_bsmempak"; }
127123
128124   // additional reading and writing
129125   virtual DECLARE_READ8_MEMBER(read_l);
trunk/src/mess/machine/isa_mpu401.h
r22095r22096
2727      // device-level overrides
2828      virtual void device_start();
2929      virtual void device_reset();
30      virtual void device_config_complete() { m_shortname = "isa_mpu401"; }
3130private:
3231      // internal state
3332};
trunk/src/mess/machine/adam_ide.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "adam_ide"; }
4241   virtual void device_start();
4342
4443   // device_adam_expansion_slot_card_interface overrides
trunk/src/mess/machine/c64_4cga.c
r22095r22096
6363//-------------------------------------------------
6464
6565c64_4cga_device::c64_4cga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66   device_t(mconfig, C64_4CGA, "C64 Protovision 4 Player Interface", tag, owner, clock),
66   device_t(mconfig, C64_4CGA, "C64 Protovision 4 Player Interface", tag, owner, clock, "c64_4cga", __FILE__),
6767   device_c64_user_port_interface(mconfig, *this),
6868   m_fire(*this, "FIRE"),
6969   m_joy3(*this, "JOY3"),
trunk/src/mess/machine/sat_dram.c
r22095r22096
1717const device_type SATURN_DRAM_32MB = &device_creator<saturn_dram32mb_device>;
1818
1919
20saturn_dram_device::saturn_dram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size)
21               : device_t(mconfig, type, name, tag, owner, clock),
20saturn_dram_device::saturn_dram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size, const char *shortname, const char *source)
21               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2222                  device_sat_cart_interface( mconfig, *this ),
2323                  m_size(size)
2424{
2525}
2626
2727saturn_dram8mb_device::saturn_dram8mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28               : saturn_dram_device(mconfig, SATURN_DRAM_8MB, "Saturn Data RAM 8Mbit Cart", tag, owner, clock, 0x400000/4)
28               : saturn_dram_device(mconfig, SATURN_DRAM_8MB, "Saturn Data RAM 8Mbit Cart", tag, owner, clock, 0x400000/4, "sat_dram_8mb", __FILE__)
2929{
3030   m_cart_type = 0x5a;
3131}
3232
3333saturn_dram32mb_device::saturn_dram32mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34               : saturn_dram_device(mconfig, SATURN_DRAM_32MB, "Saturn Data RAM 32Mbit Cart", tag, owner, clock, 0x800000/4)
34               : saturn_dram_device(mconfig, SATURN_DRAM_32MB, "Saturn Data RAM 32Mbit Cart", tag, owner, clock, 0x800000/4, "sat_dram_32mb", __FILE__)
3535{
3636   m_cart_type = 0x5c;
3737}
trunk/src/mess/machine/null_modem.c
r22095r22096
33const device_type NULL_MODEM = &device_creator<null_modem_device>;
44
55null_modem_device::null_modem_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
6   : device_t(mconfig, NULL_MODEM, "Null Modem", tag, owner, clock),
6   : device_t(mconfig, NULL_MODEM, "Null Modem", tag, owner, clock, "null_modem", __FILE__),
77      device_serial_port_interface(mconfig, *this),
88      m_bitbanger(*this, "bitbanger")
99{
trunk/src/mess/machine/mface2.c
r22095r22096
314314//**************************************************************************
315315
316316cpc_multiface2_device::cpc_multiface2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
317   device_t(mconfig, CPC_MFACE2, "Multiface II", tag, owner, clock),
317   device_t(mconfig, CPC_MFACE2, "Multiface II", tag, owner, clock, "cpc_mf2", __FILE__),
318318   device_cpc_expansion_card_interface(mconfig, *this)
319319{
320320}
trunk/src/mess/machine/sat_dram.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   saturn_dram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size);
14   saturn_dram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 size, const char *shortname, const char *source);
1515
1616   // device-level overrides
1717   virtual void device_start();
1818   virtual void device_reset();
19   virtual void device_config_complete() { m_shortname = "sat_dram"; }
2019
2120   // reading and writing
2221   virtual DECLARE_READ32_MEMBER(read_ext_dram0);
r22095r22096
3231public:
3332   // construction/destruction
3433   saturn_dram8mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
35
36   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "sat_dram_8mb"; }
3834};
3935
4036class saturn_dram32mb_device : public saturn_dram_device
r22095r22096
4238public:
4339   // construction/destruction
4440   saturn_dram32mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
45
46   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "sat_dram_32mb"; }
4841};
4942
5043
trunk/src/mess/machine/c64_4cga.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_4cga"; }
4039   virtual void device_start();
4140
4241   // device_c64_user_port_interface overrides
trunk/src/mess/machine/null_modem.h
r22095r22096
1717protected:
1818   virtual void device_start() { m_owner = dynamic_cast<serial_port_device *>(owner()); }
1919   virtual void device_reset() { m_owner->out_rx(1); m_rbit = 1; }
20   virtual void device_config_complete() { m_shortname = "null_modem"; }
2120private:
2221   serial_port_device *m_owner;
2322   required_device<bitbanger_device> m_bitbanger;
trunk/src/mess/machine/mface2.h
r22095r22096
5050   // device-level overrides
5151   virtual void device_start();
5252   virtual void device_reset();
53   virtual void device_config_complete() { m_shortname = "cpc_mf2"; }
5453
5554private:
5655   cpc_expansion_slot_device *m_slot;
trunk/src/mess/machine/c64_zaxxon.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_zaxxon_cartridge_device::c64_zaxxon_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_ZAXXON, "C64 Zaxxon cartridge", tag, owner, clock),
31   device_t(mconfig, C64_ZAXXON, "C64 Zaxxon cartridge", tag, owner, clock, "c64_zaxxon", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_zaxxon.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_zaxxon"; }
3736   virtual void device_start();
3837
3938   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/ecb_grip.c
r22095r22096
666666//-------------------------------------------------
667667
668668grip_device::grip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
669   device_t(mconfig, ECB_GRIP21, "GRIP-2.1", tag, owner, clock),
669   device_t(mconfig, ECB_GRIP21, "GRIP-2.1", tag, owner, clock, "grip", __FILE__),
670670   device_ecbbus_card_interface(mconfig, *this),
671671   m_ppi(*this, I8255A_TAG),
672672   m_sti(*this, Z80STI_TAG),
trunk/src/mess/machine/vcs_joy.c
r22095r22096
4949//-------------------------------------------------
5050
5151vcs_joystick_device::vcs_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
52   device_t(mconfig, VCS_JOYSTICK, "Digital joystick", tag, owner, clock),
52   device_t(mconfig, VCS_JOYSTICK, "Digital joystick", tag, owner, clock, "vcs_joystick", __FILE__),
5353   device_vcs_control_port_interface(mconfig, *this),
5454   m_joy(*this, "JOY")
5555{
trunk/src/mess/machine/ecb_grip.h
r22095r22096
6868   // device-level overrides
6969   virtual void device_start();
7070   virtual void device_reset();
71   virtual void device_config_complete() { m_shortname = "grip"; }
7271
7372   // device_ecbbus_card_interface overrides
7473   virtual UINT8 ecbbus_io_r(offs_t offset);
trunk/src/mess/machine/vcs_joy.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vcs_joystick"; }
4039   virtual void device_start();
4140
4241   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/vp570.c
r22095r22096
6161//-------------------------------------------------
6262
6363vp570_device::vp570_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
64   device_t(mconfig, VP570, "VP570", tag, owner, clock),
64   device_t(mconfig, VP570, "VP570", tag, owner, clock, "vp570", __FILE__),
6565   device_vip_expansion_card_interface(mconfig, *this),
6666   m_ram(*this, "ram"),
6767   m_base(*this, "BASE"),
trunk/src/mess/machine/vp570.h
r22095r22096
3535
3636protected:
3737   // device-level overrides
38   virtual void device_config_complete() { m_shortname = "vp570"; }
3938   virtual void device_start();
4039
4140   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/c64_georam.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_georam_cartridge_device::c64_georam_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_GEORAM, "C64 GeoRAM cartridge", tag, owner, clock),
31   device_t(mconfig, C64_GEORAM, "C64 GeoRAM cartridge", tag, owner, clock, "c64_georam", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/wangpc_rtc.c
r22095r22096
259259//-------------------------------------------------
260260
261261wangpc_rtc_device::wangpc_rtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
262   device_t(mconfig, WANGPC_RTC, "Wang PC-PM040-B", tag, owner, clock),
262   device_t(mconfig, WANGPC_RTC, "Wang PC-PM040-B", tag, owner, clock, "wangpc_rtc", __FILE__),
263263   device_wangpcbus_card_interface(mconfig, *this),
264264   m_maincpu(*this, Z80_TAG),
265265   m_dmac(*this, AM9517A_TAG),
trunk/src/mess/machine/c64_georam.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_georam"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/wangpc_rtc.h
r22095r22096
4444   // device-level overrides
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete() { m_shortname = "wangpc_rtc"; }
4847
4948   // device_wangpcbus_card_interface overrides
5049   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/keyboard.c
r22095r22096
3434***************************************************************************/
3535
3636
37generic_keyboard_device::generic_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
38   : device_t(mconfig, type, name, tag, owner, clock)
37generic_keyboard_device::generic_keyboard_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)
38   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
3939   , m_io_kbd0(*this, "TERM_LINE0")
4040   , m_io_kbd1(*this, "TERM_LINE1")
4141   , m_io_kbd2(*this, "TERM_LINE2")
r22095r22096
394394}
395395
396396serial_keyboard_device::serial_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
397   : generic_keyboard_device(mconfig, SERIAL_KEYBOARD, "Serial Keyboard", tag, owner, clock),
397   : generic_keyboard_device(mconfig, SERIAL_KEYBOARD, "Serial Keyboard", tag, owner, clock, "serial_keyboard", __FILE__),
398398      device_serial_interface(mconfig, *this),
399399      device_serial_port_interface(mconfig, *this)
400400{
r22095r22096
411411   {
412412      memset(&m_out_tx_cb, 0, sizeof(m_out_tx_cb));
413413   }
414   m_shortname = "serial_keyboard";
415414}
416415
417416static int rates[] = {150, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200};
trunk/src/mess/machine/keyboard.h
r22095r22096
4242   public keyboard_interface
4343{
4444public:
45   generic_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
45   generic_keyboard_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);
4646   generic_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4747
4848   virtual ioport_constructor device_input_ports() const;
trunk/src/mess/machine/superpet.c
r22095r22096
182182//-------------------------------------------------
183183
184184superpet_device::superpet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
185   device_t(mconfig, SUPERPET, "SuperPET", tag, owner, clock),
185   device_t(mconfig, SUPERPET, "SuperPET", tag, owner, clock, "pet_superpet", __FILE__),
186186   device_pet_expansion_card_interface(mconfig, *this),
187187   m_maincpu(*this, M6809_TAG),
188188   m_acia(*this, MOS6551_TAG),
trunk/src/mess/machine/a2ssc.c
r22095r22096
138138//**************************************************************************
139139
140140a2bus_ssc_device::a2bus_ssc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
141      device_t(mconfig, A2BUS_SSC, "Apple Super Serial Card", tag, owner, clock),
141      device_t(mconfig, A2BUS_SSC, "Apple Super Serial Card", tag, owner, clock, "a2ssc", __FILE__),
142142      device_a2bus_card_interface(mconfig, *this),
143143      m_dsw1(*this, "DSW1"),
144144      m_dsw2(*this, "DSW2"),
145145      m_acia(*this, SSC_ACIA_TAG)
146146{
147   m_shortname = "a2ssc";
148147}
149148
150a2bus_ssc_device::a2bus_ssc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
151      device_t(mconfig, type, name, tag, owner, clock),
149a2bus_ssc_device::a2bus_ssc_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) :
150      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
152151      device_a2bus_card_interface(mconfig, *this),
153152      m_dsw1(*this, "DSW1"),
154153      m_dsw2(*this, "DSW2"),
155154      m_acia(*this, SSC_ACIA_TAG)
156155{
157   m_shortname = "a2ssc";
158156}
159157
160158//-------------------------------------------------
trunk/src/mess/machine/cuda.c
r22095r22096
381381//-------------------------------------------------
382382
383383cuda_device::cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
384   : device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock),
384   : device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock, "cuda", __FILE__),
385385   device_nvram_interface(mconfig, *this),
386386   m_maincpu(*this, CUDA_CPU_TAG)
387387{
r22095r22096
507507
508508void cuda_device::device_config_complete()
509509{
510   m_shortname = "cuda";
511
512510   // inherit a copy of the static data
513511   const cuda_interface *intf = reinterpret_cast<const cuda_interface *>(static_config());
514512   if (intf != NULL)
trunk/src/mess/machine/superpet.h
r22095r22096
4646
4747protected:
4848   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "pet_superpet"; }
5049   virtual void device_start();
5150   virtual void device_reset();
5251
trunk/src/mess/machine/mos6702.c
r22095r22096
3636//-------------------------------------------------
3737
3838mos6702_device::mos6702_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39   : device_t(mconfig, MOS6702, "MOS6702", tag, owner, clock)
39   : device_t(mconfig, MOS6702, "MOS6702", tag, owner, clock, "mos6702", __FILE__)
4040{
4141}
4242
trunk/src/mess/machine/swim.c
r22095r22096
3636//-------------------------------------------------
3737
3838swim_device::swim_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
39   : applefdc_base_device(APPLEFDC_SWIM, mconfig, SWIM, "Apple SWIM (Steve Woz Integrated Machine)", tag, owner, clock)
39   : applefdc_base_device(APPLEFDC_SWIM, mconfig, SWIM, "Apple SWIM (Steve Woz Integrated Machine)", tag, owner, clock, "swim", __FILE__)
4040{
4141}
4242
trunk/src/mess/machine/a2ssc.h
r22095r22096
2424public:
2525   // construction/destruction
2626   a2bus_ssc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
27   a2bus_ssc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
27   a2bus_ssc_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   // optional information overrides
3030   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/c64_dinamic.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_dinamic_cartridge_device::c64_dinamic_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_DINAMIC, "C64 Dinamic cartridge", tag, owner, clock),
31   device_t(mconfig, C64_DINAMIC, "C64 Dinamic cartridge", tag, owner, clock, "c64_dinamic", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/mos6702.h
r22095r22096
5555
5656protected:
5757   // device-level overrides
58   virtual void device_config_complete() { m_shortname = "mos6702"; }
5958   virtual void device_start();
6059};
6160
trunk/src/mess/machine/c64_dinamic.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_dinamic"; }
3938
4039   // device_c64_expansion_card_interface overrides
4140   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
trunk/src/mess/machine/adam_ddp.c
r22095r22096
126126//-------------------------------------------------
127127
128128adam_digital_data_pack_device::adam_digital_data_pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
129   : device_t(mconfig, ADAM_DDP, "Adam DDP", tag, owner, clock),
129   : device_t(mconfig, ADAM_DDP, "Adam DDP", tag, owner, clock, "adam_ddp", __FILE__),
130130      device_adamnet_card_interface(mconfig, *this),
131131      m_maincpu(*this, M6801_TAG),
132132      m_ddp0(*this, CASSETTE_TAG),
trunk/src/mess/machine/adam_ddp.h
r22095r22096
4545
4646protected:
4747   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "adam_ddp"; }
4948   virtual void device_start();
5049
5150   // device_adamnet_card_interface overrides
trunk/src/mess/machine/ne2000.c
r22095r22096
1919}
2020
2121ne2000_device::ne2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
22      : device_t(mconfig, NE2000, "NE2000 Network Adapter", tag, owner, clock),
22      : device_t(mconfig, NE2000, "NE2000 Network Adapter", tag, owner, clock, "ne2000", __FILE__),
2323      device_isa16_card_interface(mconfig, *this),
2424      m_dp8390(*this, "dp8390d") {
2525}
trunk/src/mess/machine/mpc105.c
r22095r22096
2828//-------------------------------------------------
2929
3030mpc105_device::mpc105_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, MPC105, "MPC105", tag, owner, clock),
31   : device_t(mconfig, MPC105, "MPC105", tag, owner, clock, "mpc105", __FILE__),
3232   pci_device_interface( mconfig, *this ),
3333   m_maincpu(NULL)
3434{
r22095r22096
7676      m_bank_base_default = 0;
7777
7878   }
79   m_shortname = "mpc105";
8079}
8180
8281//-------------------------------------------------
trunk/src/mess/machine/a2arcadebd.c
r22095r22096
6969//**************************************************************************
7070
7171a2bus_arcboard_device::a2bus_arcboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
72   device_t(mconfig, A2BUS_ARCADEBOARD, "Third Millenium Engineering Arcade Board", tag, owner, clock),
72   device_t(mconfig, A2BUS_ARCADEBOARD, "Third Millenium Engineering Arcade Board", tag, owner, clock, "a2arcbd", __FILE__),
7373   device_a2bus_card_interface(mconfig, *this),
7474   m_tms(*this, TMS_TAG),
7575   m_ay(*this, AY_TAG)
7676{
77   m_shortname = "a2arcbd";
7877}
7978
80a2bus_arcboard_device::a2bus_arcboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
81   device_t(mconfig, type, name, tag, owner, clock),
79a2bus_arcboard_device::a2bus_arcboard_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),
8281   device_a2bus_card_interface(mconfig, *this),
8382   m_tms(*this, TMS_TAG),
8483   m_ay(*this, AY_TAG)
8584{
86   m_shortname = "a2arcbd";
8785}
8886
8987//-------------------------------------------------
trunk/src/mess/machine/ne2000.h
r22095r22096
2121protected:
2222   virtual void device_start();
2323   virtual void device_reset();
24   virtual void device_config_complete() { m_shortname = "ne2000"; }
2524private:
2625   required_device<dp8390d_device> m_dp8390;
2726   UINT8 m_irq;
trunk/src/mess/machine/victor9kb.c
r22095r22096
236236//-------------------------------------------------
237237
238238victor9k_keyboard_device::victor9k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
239   : device_t(mconfig, VICTOR9K_KEYBOARD, "Victor 9000 Keyboard", tag, owner, clock),
239   : device_t(mconfig, VICTOR9K_KEYBOARD, "Victor 9000 Keyboard", tag, owner, clock, "victor9kb", __FILE__),
240240      m_maincpu(*this, I8021_TAG),
241241      m_y0(*this, "Y0"),
242242      m_y1(*this, "Y1"),
r22095r22096
266266
267267void victor9k_keyboard_device::device_config_complete()
268268{
269   m_shortname = "victor9kb";
270
271269   // inherit a copy of the static data
272270   const victor9k_keyboard_interface *intf = reinterpret_cast<const victor9k_keyboard_interface *>(static_config());
273271   if (intf != NULL)
trunk/src/mess/machine/iq151_minigraf.c
r22095r22096
4646//-------------------------------------------------
4747
4848iq151_minigraf_device::iq151_minigraf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
49      : device_t(mconfig, IQ151_MINIGRAF, "IQ151 Minigraf", tag, owner, clock),
49      : device_t(mconfig, IQ151_MINIGRAF, "IQ151 Minigraf", tag, owner, clock, "iq151_minigraf", __FILE__),
5050      device_iq151cart_interface( mconfig, *this )
5151{
5252}
trunk/src/mess/machine/a2arcadebd.h
r22095r22096
2525public:
2626   // construction/destruction
2727   a2bus_arcboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
28   a2bus_arcboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
28   a2bus_arcboard_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);
2929
3030   // optional information overrides
3131   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/iq151_minigraf.h
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_stop();
30   virtual void device_config_complete() { m_shortname = "iq151_minigraf"; }
3130
3231   // iq151cart_interface overrides
3332   virtual void read(offs_t offset, UINT8 &data);
trunk/src/mess/machine/sns_rom21.c
r22095r22096
2020const device_type SNS_HIROM_SRTC = &device_creator<sns_rom21_srtc_device>;
2121
2222
23sns_rom21_device::sns_rom21_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
24               : device_t(mconfig, type, name, tag, owner, clock),
23sns_rom21_device::sns_rom21_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)
24               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2525                  device_sns_cart_interface( mconfig, *this )
2626{
2727}
2828
2929sns_rom21_device::sns_rom21_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30               : device_t(mconfig, SNS_HIROM, "SNES Cart (HiROM)", tag, owner, clock),
30               : device_t(mconfig, SNS_HIROM, "SNES Cart (HiROM)", tag, owner, clock, "sns_rom21", __FILE__),
3131                  device_sns_cart_interface( mconfig, *this )
3232{
3333}
3434
3535sns_rom21_srtc_device::sns_rom21_srtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36               : sns_rom21_device(mconfig, SNS_HIROM_SRTC, "SNES Cart (HiROM) + S-RTC", tag, owner, clock)
36               : sns_rom21_device(mconfig, SNS_HIROM_SRTC, "SNES Cart (HiROM) + S-RTC", tag, owner, clock, "sns_rom21_srtc", __FILE__)
3737{
3838}
3939
trunk/src/mess/machine/c64_tdos.c
r22095r22096
121121//-------------------------------------------------
122122
123123c64_tdos_cartridge_device::c64_tdos_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
124   device_t(mconfig, C64_TDOS, "C64 TDOS cartridge", tag, owner, clock),
124   device_t(mconfig, C64_TDOS, "C64 TDOS cartridge", tag, owner, clock, "c64_tdos", __FILE__),
125125   device_c64_expansion_card_interface(mconfig, *this),
126126   m_ssda(*this, MC68A52P_TAG),
127127   m_exp(*this, C64_EXPANSION_SLOT_TAG)
trunk/src/mess/machine/sns_rom21.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   sns_rom21_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   sns_rom21_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   sns_rom21_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1616
1717   // device-level overrides
1818   virtual void device_start();
1919   virtual void device_reset();
20   virtual void device_config_complete() { m_shortname = "sns_rom21"; }
2120
2221   // reading and writing
2322   virtual DECLARE_READ8_MEMBER(read_l);
r22095r22096
3534   // device-level overrides
3635   virtual void device_start();
3736   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "sns_rom21_srtc"; }
3937
4038   // reading and writing
4139   virtual DECLARE_READ8_MEMBER(chip_read);
trunk/src/mess/machine/vcs_keypad.c
r22095r22096
5555//-------------------------------------------------
5656
5757vcs_keypad_device::vcs_keypad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
58   device_t(mconfig, VCS_KEYPAD, "Keypad", tag, owner, clock),
58   device_t(mconfig, VCS_KEYPAD, "Keypad", tag, owner, clock, "vcs_keypad", __FILE__),
5959   device_vcs_control_port_interface(mconfig, *this),
6060   m_keypad(*this, "KEYPAD")
6161{
trunk/src/mess/machine/c64_tdos.h
r22095r22096
3737
3838protected:
3939   // device-level overrides
40   virtual void device_config_complete() { m_shortname = "c64_tdos"; }
4140   virtual void device_start();
4241   virtual void device_reset();
4342
trunk/src/mess/machine/nubus.c
r22095r22096
3030{
3131}
3232
33nubus_slot_device::nubus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
34      device_t(mconfig, type, name, tag, owner, clock),
33nubus_slot_device::nubus_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) :
34      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3535      device_slot_interface(mconfig, *this)
3636{
3737}
r22095r22096
106106{
107107}
108108
109nubus_device::nubus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
110      device_t(mconfig, type, name, tag, owner, clock)
109nubus_device::nubus_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) :
110      device_t(mconfig, type, name, tag, owner, clock, shortname, source)
111111{
112112}
113113//-------------------------------------------------
trunk/src/mess/machine/vcs_keypad.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vcs_keypad"; }
4039   virtual void device_start();
4140
4241   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/nubus.h
r22095r22096
4949public:
5050   // construction/destruction
5151   nubus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
52   nubus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
52   nubus_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);
5353
5454   // device-level overrides
5555   virtual void device_start();
r22095r22096
8484public:
8585   // construction/destruction
8686   nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
87   nubus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
87   nubus_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   // inline configuration
8989   static void static_set_cputag(device_t &device, const char *tag);
9090
trunk/src/mess/machine/abc77.c
r22095r22096
8282      memset(&m_out_clock_cb, 0, sizeof(m_out_clock_cb));
8383      memset(&m_out_keydown_cb, 0, sizeof(m_out_keydown_cb));
8484   }
85
86   m_shortname = "abc77";
8785}
8886
8987
r22095r22096
445443//-------------------------------------------------
446444
447445abc77_device::abc77_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
448   : device_t(mconfig, ABC77, "Luxor ABC 77", tag, owner, clock),
446   : device_t(mconfig, ABC77, "Luxor ABC 77", tag, owner, clock, "abc77", __FILE__),
449447      m_maincpu(*this, I8035_TAG),
450448      m_discrete(*this, DISCRETE_TAG),
451449      m_x0(*this, "X0"),
r22095r22096
468466{
469467}
470468
471abc77_device::abc77_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
472   : device_t(mconfig, type, name, tag, owner, clock),
469abc77_device::abc77_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)
470   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
473471      m_maincpu(*this, I8035_TAG),
474472      m_discrete(*this, DISCRETE_TAG),
475473      m_x0(*this, "X0"),
r22095r22096
493491}
494492
495493abc55_device::abc55_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
496   : abc77_device(mconfig, ABC55, "Luxor ABC 55", tag, owner, clock) { }
494   : abc77_device(mconfig, ABC55, "Luxor ABC 55", tag, owner, clock, "abc55", __FILE__) { }
497495
498496
499497//-------------------------------------------------
trunk/src/mess/machine/isa_adlib.c
r22095r22096
6767//-------------------------------------------------
6868
6969isa8_adlib_device::isa8_adlib_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
70      : device_t(mconfig, ISA8_ADLIB, "Ad Lib Sound Card", tag, owner, clock),
70      : device_t(mconfig, ISA8_ADLIB, "Ad Lib Sound Card", tag, owner, clock, "isa_adlib", __FILE__),
7171      device_isa8_card_interface( mconfig, *this )
7272{
7373}
trunk/src/mess/machine/abc77.h
r22095r22096
6767{
6868public:
6969   // construction/destruction
70   abc77_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
70   abc77_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);
7171   abc77_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7272
7373   // optional information overrides
trunk/src/mess/machine/a2bus.c
r22095r22096
9292{
9393}
9494
95a2bus_slot_device::a2bus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
96      device_t(mconfig, type, name, tag, owner, clock),
95a2bus_slot_device::a2bus_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) :
96      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
9797      device_slot_interface(mconfig, *this)
9898{
9999}
r22095r22096
165165{
166166}
167167
168a2bus_device::a2bus_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)
168a2bus_device::a2bus_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{
171171}
172172//-------------------------------------------------
trunk/src/mess/machine/pet_64k.c
r22095r22096
7777//-------------------------------------------------
7878
7979pet_64k_expansion_device::pet_64k_expansion_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
80   device_t(mconfig, PET_64K, "PET 64KB RAM", tag, owner, clock),
80   device_t(mconfig, PET_64K, "PET 64KB RAM", tag, owner, clock, "pet_64k", __FILE__),
8181   device_pet_expansion_card_interface(mconfig, *this),
8282   m_ram(*this, "ram"),
8383   m_ctrl(0)
trunk/src/mess/machine/smartmed.c
r22095r22096
7878   : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock)
7979{
8080}
81nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
82   : device_t(mconfig, type, name, tag, owner, clock)
81nand_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)
82   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
8383{
8484}
8585
r22095r22096
793793const device_type SMARTMEDIA = &device_creator<smartmedia_image_device>;
794794
795795smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
796   : nand_device(mconfig, SMARTMEDIA, "SmartMedia Flash ROM", tag, owner, clock),
796   : nand_device(mconfig, SMARTMEDIA, "SmartMedia Flash ROM", tag, owner, clock, "smartmedia", __FILE__),
797797      device_image_interface(mconfig, *this),
798798      m_image_interface(NULL)
799799{
trunk/src/mess/machine/isa_adlib.h
r22095r22096
2626      // device-level overrides
2727      virtual void device_start();
2828      virtual void device_reset();
29   virtual void device_config_complete() { m_shortname = "isa_adlib"; }
3029private:
3130      // internal state
3231};
trunk/src/mess/machine/sns_sdd1.c
r22095r22096
412412const device_type SNS_LOROM_SDD1 = &device_creator<sns_rom_sdd1_device>;
413413
414414
415sns_rom_sdd1_device::sns_rom_sdd1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
416               : device_t(mconfig, type, name, tag, owner, clock),
415sns_rom_sdd1_device::sns_rom_sdd1_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)
416               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
417417                  device_sns_cart_interface( mconfig, *this )
418418{
419419}
420420
421421sns_rom_sdd1_device::sns_rom_sdd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
422               : device_t(mconfig, SNS_LOROM_SDD1, "SNES Cart + S-DD1", tag, owner, clock),
422               : device_t(mconfig, SNS_LOROM_SDD1, "SNES Cart + S-DD1", tag, owner, clock, "sns_rom_sdd1", __FILE__),
423423                  device_sns_cart_interface( mconfig, *this )
424424{
425425}
trunk/src/mess/machine/coco_pak.c
r22095r22096
3838//-------------------------------------------------
3939//  coco_pak_device - constructor
4040//-------------------------------------------------
41coco_pak_device::coco_pak_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
42   : device_t(mconfig, type, name, tag, owner, clock),
41coco_pak_device::coco_pak_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)
42   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4343      device_cococart_interface( mconfig, *this )
4444{
4545}
4646
4747coco_pak_device::coco_pak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
48      : device_t(mconfig, COCO_PAK, "CoCo Program PAK", tag, owner, clock),
48      : device_t(mconfig, COCO_PAK, "CoCo Program PAK", tag, owner, clock, "cocopak", __FILE__),
4949      device_cococart_interface( mconfig, *this )
5050{
5151}
r22095r22096
6161}
6262
6363//-------------------------------------------------
64//  device_config_complete - perform any
65//  operations now that the configuration is
66//  complete
67//-------------------------------------------------
68
69void coco_pak_device::device_config_complete()
70{
71   m_shortname = "cocopak";
72}
73//-------------------------------------------------
7464//  machine_config_additions - device-specific
7565//  machine configurations
7666//-------------------------------------------------
r22095r22096
135125//-------------------------------------------------
136126
137127coco_pak_banked_device::coco_pak_banked_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
138      : coco_pak_device(mconfig, COCO_PAK_BANKED, "CoCo Program PAK (Banked)", tag, owner, clock)
128      : coco_pak_device(mconfig, COCO_PAK_BANKED, "CoCo Program PAK (Banked)", tag, owner, clock, "cocopak_banked", __FILE__)
139129{
140130}
141131
142//-------------------------------------------------
143//  device_config_complete - perform any
144//  operations now that the configuration is
145//  complete
146//-------------------------------------------------
147
148void coco_pak_banked_device::device_config_complete()
149{
150   m_shortname = "cocopak_banked";
151}
152
153132/*-------------------------------------------------
154133    device_reset - device-specific startup
155134-------------------------------------------------*/
trunk/src/mess/machine/comx_fd.c
r22095r22096
128128//-------------------------------------------------
129129
130130comx_fd_device::comx_fd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
131   device_t(mconfig, COMX_FD, "COMX FD", tag, owner, clock),
131   device_t(mconfig, COMX_FD, "COMX FD", tag, owner, clock, "comx_fd", __FILE__),
132132   device_comx_expansion_card_interface(mconfig, *this),
133133   m_fdc(*this, WD1770_TAG),
134134   m_floppy0(*this, WD1770_TAG":0"),
trunk/src/mess/machine/a2bus.h
r22095r22096
5050public:
5151   // construction/destruction
5252   a2bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
53   a2bus_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
53   a2bus_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);
5454
5555   // device-level overrides
5656   virtual void device_start();
r22095r22096
8282public:
8383   // construction/destruction
8484   a2bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
85   a2bus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
85   a2bus_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);
8686   // inline configuration
8787   static void static_set_cputag(device_t &device, const char *tag);
8888
trunk/src/mess/machine/pet_64k.h
r22095r22096
3232
3333protected:
3434   // device-level overrides
35   virtual void device_config_complete() { m_shortname = "pet_64k"; }
3635   virtual void device_start();
3736   virtual void device_reset();
3837
trunk/src/mess/machine/smartmed.h
r22095r22096
7474public:
7575   // construction/destruction
7676   nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
77   nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
77   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);
7878
7979   int is_present();
8080   int is_protected();
trunk/src/mess/machine/sns_sdd1.h
r22095r22096
140140{
141141public:
142142   // construction/destruction
143   sns_rom_sdd1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
143   sns_rom_sdd1_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);
144144   sns_rom_sdd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
145145
146146   // device-level overrides
147147   virtual void device_start();
148148   virtual void device_reset();
149   virtual void device_config_complete() { m_shortname = "sns_rom_sdd1"; }
150149
151150   // reading and writing
152151   virtual DECLARE_READ8_MEMBER(read_l);
trunk/src/mess/machine/coco_pak.h
r22095r22096
1919public:
2020      // construction/destruction
2121      coco_pak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      coco_pak_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      coco_pak_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
3030      // device-level overrides
3131      virtual void device_start();
3232      virtual void device_reset();
33      virtual void device_config_complete();
3433
3534      // internal state
3635      device_image_interface *m_cart;
r22095r22096
5352protected:
5453      // device-level overrides
5554      virtual void device_reset();
56      virtual void device_config_complete();
5755      virtual DECLARE_WRITE8_MEMBER(write);
5856private:
5957      void banked_pak_set_bank(UINT32 bank);
trunk/src/mess/machine/comx_fd.h
r22095r22096
4141
4242protected:
4343   // device-level overrides
44   virtual void device_config_complete() { m_shortname = "comx_fd"; }
4544   virtual void device_start();
4645   virtual void device_reset();
4746
trunk/src/mess/machine/c64_bn1541.c
r22095r22096
6262//-------------------------------------------------
6363
6464c64_bn1541_device::c64_bn1541_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
65   device_t(mconfig, C64_BN1541, "C64 Burst Nibbler 1541/1571 Parallel Cable", tag, owner, clock),
65   device_t(mconfig, C64_BN1541, "C64 Burst Nibbler 1541/1571 Parallel Cable", tag, owner, clock, "c64_bn1541", __FILE__),
6666   device_c64_user_port_interface(mconfig, *this),
6767   device_c64_floppy_parallel_interface(mconfig, *this)
6868{
trunk/src/mess/machine/dp8390.c
r22095r22096
2020}
2121
2222dp8390d_device::dp8390d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
23   : dp8390_device(mconfig, DP8390D, "DP8390D", tag, owner, clock, 10.0f) {
23   : dp8390_device(mconfig, DP8390D, "DP8390D", tag, owner, clock, 10.0f, "dp8390d", __FILE__) {
2424      m_type = TYPE_DP8390D;
2525}
2626
2727rtl8019a_device::rtl8019a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
28   : dp8390_device(mconfig, RTL8019A, "RTL8019A", tag, owner, clock, 10.0f) {
28   : dp8390_device(mconfig, RTL8019A, "RTL8019A", tag, owner, clock, 10.0f, "rtl8019a", __FILE__) {
2929      m_type = TYPE_RTL8019A;
3030}
3131
32dp8390_device::dp8390_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, float bandwidth)
33   : device_t(mconfig, type, name, tag, owner, clock),
32dp8390_device::dp8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, float bandwidth, const char *shortname, const char *source)
33   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3434      device_network_interface(mconfig, *this, bandwidth) {
3535}
3636
trunk/src/mess/machine/fd2000.c
r22095r22096
280280}
281281
282282
283//-------------------------------------------------
284//  device_config_complete - perform any
285//  operations now that the configuration is
286//  complete
287//-------------------------------------------------
288
289void fd2000_device::device_config_complete()
290{
291   switch (m_variant)
292   {
293   default:
294      m_shortname = "fd2000";
295      break;
296
297   case TYPE_FD4000:
298      m_shortname = "fd4000";
299      break;
300   }
301}
302
303
304
305283//**************************************************************************
306284//  LIVE DEVICE
307285//**************************************************************************
r22095r22096
311289//-------------------------------------------------
312290
313291fd2000_device::fd2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
314   : device_t(mconfig, FD2000, "FD-2000", tag, owner, clock),
292   : device_t(mconfig, FD2000, "FD-2000", tag, owner, clock, "fd2000", __FILE__),
315293      device_cbm_iec_interface(mconfig, *this),
316294      m_maincpu(*this, G65SC02PI2_TAG),
317295      m_fdc(*this, DP8473V_TAG),
r22095r22096
320298{
321299}
322300
323fd2000_device::fd2000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
324   : device_t(mconfig, type, name, tag, owner, clock),
301fd2000_device::fd2000_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)
302   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
325303      device_cbm_iec_interface(mconfig, *this),
326304      m_maincpu(*this, R65C02P4_TAG),
327305      m_fdc(*this, PC8477AV1_TAG),
r22095r22096
336314//-------------------------------------------------
337315
338316fd4000_device::fd4000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
339   : fd2000_device(mconfig, FD4000, "FD-4000", tag, owner, clock, TYPE_FD4000) { }
317   : fd2000_device(mconfig, FD4000, "FD-4000", tag, owner, clock, TYPE_FD4000, "fd4000", __FILE__ ) { }
340318
341319
342320//-------------------------------------------------
trunk/src/mess/machine/c64_bn1541.h
r22095r22096
5353
5454protected:
5555   // device-level overrides
56   virtual void device_config_complete() { m_shortname = "c64_bn1541"; }
5756   virtual void device_start();
5857
5958   // device_c64_user_port_interface overrides
trunk/src/mess/machine/dp8390.h
r22095r22096
2626{
2727public:
2828   // construction/destruction
29   dp8390_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, float bandwidth);
29   dp8390_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, float bandwidth, const char *shortname, const char *source);
3030
3131   DECLARE_WRITE16_MEMBER( dp8390_w );
3232   DECLARE_READ16_MEMBER( dp8390_r );
trunk/src/mess/machine/c64_westermann.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_westermann_cartridge_device::c64_westermann_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_WESTERMANN, "C64 Westermann cartridge", tag, owner, clock),
31   device_t(mconfig, C64_WESTERMANN, "C64 Westermann cartridge", tag, owner, clock, "c64_westermann", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/fd2000.h
r22095r22096
4141public:
4242   // construction/destruction
4343   fd2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
44   fd2000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
44   fd2000_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);
4545
4646   enum
4747   {
r22095r22096
6262
6363protected:
6464   // device-level overrides
65   virtual void device_config_complete();
6665   virtual void device_start();
6766   virtual void device_reset();
6867
trunk/src/mess/machine/i82371ab.c
r22095r22096
2121
2222
2323i82371ab_device::i82371ab_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
24      : southbridge_device(mconfig, I82371AB, "Intel 82371AB", tag, owner, clock),
24      : southbridge_device(mconfig, I82371AB, "Intel 82371AB", tag, owner, clock, "i82371ab", __FILE__),
2525      pci_device_interface( mconfig, *this )
2626{
2727}
trunk/src/mess/machine/laser128.c
r22095r22096
4040//  LIVE DEVICE
4141//**************************************************************************
4242
43a2bus_laser128_device::a2bus_laser128_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),
43a2bus_laser128_device::a2bus_laser128_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   device_a2bus_card_interface(mconfig, *this)
4646{
47   m_shortname = "a2laser128";
4847}
4948
5049a2bus_laser128_device::a2bus_laser128_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
51   device_t(mconfig, A2BUS_LASER128, "VTech Laser 128 Internal Device", tag, owner, clock),
50   device_t(mconfig, A2BUS_LASER128, "VTech Laser 128 Internal Device", tag, owner, clock, "a2laser128", __FILE__),
5251   device_a2bus_card_interface(mconfig, *this)
5352{
54   m_shortname = "a2laser128";
5553}
5654
5755//-------------------------------------------------
trunk/src/mess/machine/c64_westermann.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_westermann"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/i82371ab.h
r22095r22096
2828   // device-level overrides
2929   virtual void device_start();
3030   virtual void device_reset();
31   virtual void device_config_complete() { m_shortname = "i82371ab"; }
3231
3332   UINT32 pci_isa_r(device_t *busdevice, int offset, UINT32 mem_mask);
3433   void pci_isa_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask);
trunk/src/mess/machine/laser128.h
r22095r22096
2222{
2323public:
2424   // construction/destruction
25   a2bus_laser128_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25   a2bus_laser128_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   a2bus_laser128_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2727
2828   // optional information overrides
trunk/src/mess/machine/diag264_lb_user.c
r22095r22096
2828//-------------------------------------------------
2929
3030diag264_user_port_loopback_device::diag264_user_port_loopback_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, DIAG264_USER_PORT_LOOPBACK, "Diag264 User Port Loopback", tag, owner, clock),
31   : device_t(mconfig, DIAG264_USER_PORT_LOOPBACK, "Diag264 User Port Loopback", tag, owner, clock, "diag264_user_port_loopback", __FILE__),
3232      device_plus4_user_port_interface(mconfig, *this),
3333      m_p(0),
3434      m_txd(0),
trunk/src/mess/machine/a2vulcan.c
r22095r22096
101101//  LIVE DEVICE
102102//**************************************************************************
103103
104a2bus_vulcanbase_device::a2bus_vulcanbase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
105   device_t(mconfig, type, name, tag, owner, clock),
104a2bus_vulcanbase_device::a2bus_vulcanbase_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) :
105   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
106106   device_a2bus_card_interface(mconfig, *this),
107107   m_ide(*this, VULCAN_IDE_TAG)
108108{
109109}
110110
111111a2bus_vulcan_device::a2bus_vulcan_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
112   a2bus_vulcanbase_device(mconfig, A2BUS_VULCAN, "Applied Engineering Vulcan IDE controller", tag, owner, clock)
112   a2bus_vulcanbase_device(mconfig, A2BUS_VULCAN, "Applied Engineering Vulcan IDE controller", tag, owner, clock, "a2vulcan", __FILE__)
113113{
114   m_shortname = "a2vulcan";
115114}
116115
117116//-------------------------------------------------
trunk/src/mess/machine/wangpc_wdc.c
r22095r22096
155155//-------------------------------------------------
156156
157157wangpc_wdc_device::wangpc_wdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
158   device_t(mconfig, WANGPC_WDC, "Wang PC-PM001", tag, owner, clock),
158   device_t(mconfig, WANGPC_WDC, "Wang PC-PM001", tag, owner, clock, "wangpc_wdc", __FILE__),
159159   device_wangpcbus_card_interface(mconfig, *this),
160160   m_maincpu(*this, Z80_TAG),
161161   m_ctc(*this, MK3882_TAG)
trunk/src/mess/machine/c64_geocable.c
r22095r22096
7373//-------------------------------------------------
7474
7575c64_geocable_device::c64_geocable_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
76   device_t(mconfig, C64_GEOCABLE, "C64 geoCable", tag, owner, clock),
76   device_t(mconfig, C64_GEOCABLE, "C64 geoCable", tag, owner, clock, "c64_geocable", __FILE__),
7777   device_c64_user_port_interface(mconfig, *this),
7878   m_centronics(*this, CENTRONICS_TAG)
7979{
trunk/src/mess/machine/c64_4ksa.c
r22095r22096
6363//-------------------------------------------------
6464
6565c64_4ksa_device::c64_4ksa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66   device_t(mconfig, C64_4KSA, "C64 Kingsoft 4-Player Adapter", tag, owner, clock),
66   device_t(mconfig, C64_4KSA, "C64 Kingsoft 4-Player Adapter", tag, owner, clock, "c64_4ksa", __FILE__),
6767   device_c64_user_port_interface(mconfig, *this),
6868   m_pb(*this, "PB"),
6969   m_pa2(*this, "PA2")
trunk/src/mess/machine/diag264_lb_user.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "diag264_user_port_loopback"; }
3736   virtual void device_start();
3837
3938   // device_plus4_user_port_interface overrides
trunk/src/mess/machine/a2vulcan.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_vulcanbase_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_vulcanbase_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);
2727
2828   // optional information overrides
2929   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/ncr5380n.c
r22095r22096
2727ADDRESS_MAP_END
2828
2929ncr5380n_device::ncr5380n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
30      : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock)
30      : nscsi_device(mconfig, NCR5380N, "5380 SCSI (new)", tag, owner, clock, "ncr5380", __FILE__)
3131{
3232}
3333
r22095r22096
8787      memset(&m_irq_cb, 0, sizeof(m_irq_cb));
8888      memset(&m_drq_cb, 0, sizeof(m_drq_cb));
8989   }
90   m_shortname = "ncr5380";
9190}
9291
9392void ncr5380n_device::reset_soft()
trunk/src/mess/machine/pc_lpt.c
r22095r22096
332332//-------------------------------------------------
333333
334334isa8_lpt_device::isa8_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
335      device_t(mconfig, ISA8_LPT, "Printer Adapter", tag, owner, clock),
335      device_t(mconfig, ISA8_LPT, "Printer Adapter", tag, owner, clock, "isa_lpt", __FILE__),
336336      device_isa8_card_interface(mconfig, *this)
337337{
338338}
trunk/src/mess/machine/wangpc_wdc.h
r22095r22096
5454   // device-level overrides
5555   virtual void device_start();
5656   virtual void device_reset();
57   virtual void device_config_complete() { m_shortname = "wangpc_wdc"; }
5857
5958   // device_wangpcbus_card_interface overrides
6059   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
trunk/src/mess/machine/c64_geocable.h
r22095r22096
4040
4141protected:
4242   // device-level overrides
43   virtual void device_config_complete() { m_shortname = "c64_geocable"; }
4443   virtual void device_start();
4544
4645   // device_c64_user_port_interface overrides
trunk/src/mess/machine/c64_4ksa.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_4ksa"; }
4039   virtual void device_start();
4140
4241   // device_c64_user_port_interface overrides
trunk/src/mess/machine/pc_lpt.h
r22095r22096
9191      // device-level overrides
9292      virtual void device_start();
9393      virtual void device_reset();
94      virtual void device_config_complete() { m_shortname = "isa_lpt"; }
9594private:
9695      // internal state
9796      bool m_is_primary;
trunk/src/mess/machine/c64_super_explode.c
r22095r22096
3838//-------------------------------------------------
3939
4040c64_super_explode_cartridge_device::c64_super_explode_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
41   device_t(mconfig, C64_SUPER_EXPLODE, "C64 Super Explode! cartridge", tag, owner, clock),
41   device_t(mconfig, C64_SUPER_EXPLODE, "C64 Super Explode! cartridge", tag, owner, clock, "c64_super_explode", __FILE__),
4242   device_c64_expansion_card_interface(mconfig, *this)
4343{
4444}
trunk/src/mess/machine/md_sk.c
r22095r22096
2525const device_type MD_ROM_SK = &device_creator<md_rom_sk_device>;
2626
2727
28md_rom_sk_device::md_rom_sk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
29               : device_t(mconfig, type, name, tag, owner, clock),
28md_rom_sk_device::md_rom_sk_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)
29               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3030                  device_md_cart_interface( mconfig, *this ),
3131                  m_exp(*this, "subslot")
3232{
3333}
3434
3535md_rom_sk_device::md_rom_sk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
36               : device_t(mconfig, MD_ROM_SK, "MD Sonic & Knuckles", tag, owner, clock),
36               : device_t(mconfig, MD_ROM_SK, "MD Sonic & Knuckles", tag, owner, clock, "md_rom_sk", __FILE__),
3737                  device_md_cart_interface( mconfig, *this ),
3838                  m_exp(*this, "subslot")
3939{
trunk/src/mess/machine/c64_super_explode.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_super_explode"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/md_sk.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   md_rom_sk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   md_rom_sk_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   md_rom_sk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1616
1717   // device-level overrides
1818   virtual void device_start();
19   virtual void device_config_complete() { m_shortname = "md_rom_sk"; }
2019   virtual machine_config_constructor device_mconfig_additions() const;
2120
2221   // reading and writing
trunk/src/mess/machine/pc_fdc.c
r22095r22096
4141   AM_RANGE(0x7, 0x7) AM_READWRITE(dir_r, ccr_w)
4242ADDRESS_MAP_END
4343
44pc_fdc_family_device::pc_fdc_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_interface(mconfig, type, name, tag, owner, clock), fdc(*this, "upd765")
44pc_fdc_family_device::pc_fdc_family_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) : pc_fdc_interface(mconfig, type, name, tag, owner, clock, shortname, source), fdc(*this, "upd765")
4545{
4646}
4747
r22095r22096
186186      drq_cb(drq);
187187}
188188
189pc_fdc_xt_device::pc_fdc_xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_family_device(mconfig, PC_FDC_XT, "PC FDC XT", tag, owner, clock)
189pc_fdc_xt_device::pc_fdc_xt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_family_device(mconfig, PC_FDC_XT, "PC FDC XT", tag, owner, clock, "pc_fdc_xt", __FILE__)
190190{
191   m_shortname = "pc_fdc_xt";
192191}
193192
194pc_fdc_at_device::pc_fdc_at_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_family_device(mconfig, PC_FDC_AT, "PC FDC AT", tag, owner, clock)
193pc_fdc_at_device::pc_fdc_at_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_family_device(mconfig, PC_FDC_AT, "PC FDC AT", tag, owner, clock, "pc_fdc_at", __FILE__)
195194{
196   m_shortname = "pc_fdc_at";
197195}
trunk/src/mess/machine/c2n.c
r22095r22096
7171//  c2n_device - constructor
7272//-------------------------------------------------
7373
74c2n_device::c2n_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
75   : device_t(mconfig, type, name, tag, owner, clock),
74c2n_device::c2n_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)
75   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7676      device_pet_datassette_port_interface(mconfig, *this),
7777      m_cassette(*this, CASSETTE_TAG)
7878{
7979}
8080
8181c2n_device::c2n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
82   : device_t(mconfig, C2N, "C2N", tag, owner, clock),
82   : device_t(mconfig, C2N, "C2N", tag, owner, clock, "c2n", __FILE__),
8383      device_pet_datassette_port_interface(mconfig, *this),
8484      m_cassette(*this, CASSETTE_TAG)
8585{
r22095r22096
9191//-------------------------------------------------
9292
9393c1530_device::c1530_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
94   : c2n_device(mconfig, C1530, "C1530", tag, owner, clock) { }
94   : c2n_device(mconfig, C1530, "C1530", tag, owner, clock, "c2n", __FILE__) { }
9595
9696
9797//-------------------------------------------------
r22095r22096
9999//-------------------------------------------------
100100
101101c1531_device::c1531_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
102   : c2n_device(mconfig, C1531, "C1531", tag, owner, clock) { }
102   : c2n_device(mconfig, C1531, "C1531", tag, owner, clock, "c2n", __FILE__) { }
103103
104104
105105//-------------------------------------------------
trunk/src/mess/machine/lux4105.c
r22095r22096
162162//-------------------------------------------------
163163
164164luxor_4105_device::luxor_4105_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
165   : device_t(mconfig, LUXOR_4105, "Luxor 4105", tag, owner, clock),
165   : device_t(mconfig, LUXOR_4105, "Luxor 4105", tag, owner, clock, "luxor_4105", __FILE__),
166166      device_abc1600bus_card_interface(mconfig, *this),
167167      m_sasibus(*this, SASIBUS_TAG ":host"),
168168      m_1e(*this, "1E"),
trunk/src/mess/machine/pc_fdc.h
r22095r22096
1818
1919class pc_fdc_family_device : public pc_fdc_interface {
2020public:
21   pc_fdc_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21   pc_fdc_family_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);
2222
2323   required_device<upd765a_device> fdc;
2424
trunk/src/mess/machine/c64_4dxh.c
r22095r22096
6363//-------------------------------------------------
6464
6565c64_4dxh_device::c64_4dxh_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66   device_t(mconfig, C64_4DXH, "C64 DXH 4-Player Adapter", tag, owner, clock),
66   device_t(mconfig, C64_4DXH, "C64 DXH 4-Player Adapter", tag, owner, clock, "c64_4dxh", __FILE__),
6767   device_c64_user_port_interface(mconfig, *this),
6868   m_pb(*this, "PB"),
6969   m_pa2(*this, "PA2")
trunk/src/mess/machine/c2n.h
r22095r22096
3131{
3232public:
3333   // construction/destruction
34   c2n_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
34   c2n_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   c2n_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
3636
3737   // optional information overrides
r22095r22096
3939
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c2n"; }
4342   virtual void device_start();
4443   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
4544
trunk/src/mess/machine/lux4105.h
r22095r22096
5353   // device-level overrides
5454   virtual void device_start();
5555   virtual void device_reset();
56   virtual void device_config_complete() { m_shortname = "luxor_4105"; }
5756
5857   // device_abc1600bus_interface overrides
5958   virtual void abc1600bus_cs(UINT8 data);
trunk/src/mess/machine/pc1512kb.c
r22095r22096
5252      memset(&m_out_data_cb, 0, sizeof(m_out_data_cb));
5353      memset(&m_out_clock_cb, 0, sizeof(m_out_clock_cb));
5454   }
55
56   m_shortname = "pc1512kb";
5755}
5856
5957
r22095r22096
258256//-------------------------------------------------
259257
260258pc1512_keyboard_device::pc1512_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
261   : device_t(mconfig, PC1512_KEYBOARD, "Amstrad PC1512 Keyboard", tag, owner, clock),
259   : device_t(mconfig, PC1512_KEYBOARD, "Amstrad PC1512 Keyboard", tag, owner, clock, "pc1512kb", __FILE__),
262260      m_maincpu(*this, I8048_TAG),
263261      m_y1(*this, "Y1"),
264262      m_y2(*this, "Y2"),
trunk/src/mess/machine/c64_4dxh.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "c64_4dxh"; }
4039   virtual void device_start();
4140
4241   // device_c64_user_port_interface overrides
trunk/src/mess/machine/isa_hdc.c
r22095r22096
158158//-------------------------------------------------
159159
160160isa8_hdc_device::isa8_hdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
161      device_t(mconfig, ISA8_HDC, "Fixed Disk Controller Card", tag, owner, clock),
161      device_t(mconfig, ISA8_HDC, "Fixed Disk Controller Card", tag, owner, clock, "hdc", __FILE__),
162162      device_isa8_card_interface(mconfig, *this)
163163{
164   m_shortname = "hdc";
165164}
166165
167166//-------------------------------------------------
trunk/src/mess/machine/cpc_ssa1.c
r22095r22096
165165//**************************************************************************
166166
167167cpc_ssa1_device::cpc_ssa1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
168   device_t(mconfig, CPC_SSA1, "SSA-1", tag, owner, clock),
168   device_t(mconfig, CPC_SSA1, "SSA-1", tag, owner, clock, "cpc_ssa1", __FILE__),
169169   device_cpc_expansion_card_interface(mconfig, *this),
170170   m_lrq(1),
171171   m_sp0256_device(*this,"sp0256")
r22095r22096
173173}
174174
175175cpc_dkspeech_device::cpc_dkspeech_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
176   device_t(mconfig, CPC_DKSPEECH, "DK'Tronics Speech Synthesiser", tag, owner, clock),
176   device_t(mconfig, CPC_DKSPEECH, "DK'Tronics Speech Synthesiser", tag, owner, clock, "cpc_dkspeech", __FILE__),
177177   device_cpc_expansion_card_interface(mconfig, *this),
178178   m_lrq(1),
179179   m_sp0256_device(*this,"sp0256")
trunk/src/mess/machine/cpc_ssa1.h
r22095r22096
7171   // device-level overrides
7272   virtual void device_start();
7373   virtual void device_reset();
74   virtual void device_config_complete() { m_shortname = "cpc_ssa1"; }
7574
7675private:
7776   cpc_expansion_slot_device *m_slot;
r22095r22096
108107   // device-level overrides
109108   virtual void device_start();
110109   virtual void device_reset();
111   virtual void device_config_complete() { m_shortname = "cpc_dkspeech"; }
112110
113111private:
114112   cpc_expansion_slot_device *m_slot;
trunk/src/mess/machine/x68k_scsiext.c
r22095r22096
5757}
5858
5959x68k_scsiext_device::x68k_scsiext_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
60      : device_t(mconfig, X68K_SCSIEXT, "Sharp CZ-6BS1 SCSI-1", tag, owner, clock),
60      : device_t(mconfig, X68K_SCSIEXT, "Sharp CZ-6BS1 SCSI-1", tag, owner, clock, "x68k_cz6bs1", __FILE__),
6161      device_x68k_expansion_card_interface(mconfig, *this),
6262      m_spc(*this, "scsi:mb89352")
6363{
trunk/src/mess/machine/gb_rom.c
r22095r22096
2727const device_type MEGADUCK_ROM = &device_creator<megaduck_rom_device>;
2828
2929
30gb_rom_device::gb_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
31               : device_t(mconfig, type, name, tag, owner, clock),
30gb_rom_device::gb_rom_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)
31               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3232                  device_gb_cart_interface( mconfig, *this )
3333{
3434}
3535
3636gb_rom_device::gb_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
37               : device_t(mconfig, GB_STD_ROM, "GB Carts", tag, owner, clock),
37               : device_t(mconfig, GB_STD_ROM, "GB Carts", tag, owner, clock, "gb_rom", __FILE__),
3838                  device_gb_cart_interface( mconfig, *this )
3939{
4040}
4141
4242gb_rom_tama5_device::gb_rom_tama5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
43               : gb_rom_device(mconfig, GB_ROM_TAMA5, "GB Tamagotchi", tag, owner, clock)
43               : gb_rom_device(mconfig, GB_ROM_TAMA5, "GB Tamagotchi", tag, owner, clock, "gb_rom_tama5", __FILE__)
4444{
4545}
4646
4747gb_rom_wisdom_device::gb_rom_wisdom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
48               : gb_rom_device(mconfig, GB_ROM_WISDOM, "GB Wisdom Tree Carts", tag, owner, clock)
48               : gb_rom_device(mconfig, GB_ROM_WISDOM, "GB Wisdom Tree Carts", tag, owner, clock, "gb_rom_wisdom", __FILE__)
4949{
5050}
5151
5252gb_rom_yong_device::gb_rom_yong_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
53               : gb_rom_device(mconfig, GB_ROM_YONG, "GB Yong Yong Carts", tag, owner, clock)
53               : gb_rom_device(mconfig, GB_ROM_YONG, "GB Yong Yong Carts", tag, owner, clock, "gb_rom_yong", __FILE__)
5454{
5555}
5656
5757gb_rom_atvrac_device::gb_rom_atvrac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
58               : gb_rom_device(mconfig, GB_ROM_ATVRAC, "GB ATV Racin'", tag, owner, clock)
58               : gb_rom_device(mconfig, GB_ROM_ATVRAC, "GB ATV Racin'", tag, owner, clock, "gb_rom_atvrac", __FILE__)
5959{
6060}
6161
6262gb_rom_lasama_device::gb_rom_lasama_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
63               : gb_rom_device(mconfig, GB_ROM_LASAMA, "GB LaSaMa", tag, owner, clock)
63               : gb_rom_device(mconfig, GB_ROM_LASAMA, "GB LaSaMa", tag, owner, clock, "gb_rom_lasama", __FILE__)
6464{
6565}
6666
6767
68megaduck_rom_device::megaduck_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
69               : device_t(mconfig, type, name, tag, owner, clock),
68megaduck_rom_device::megaduck_rom_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)
69               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7070               device_gb_cart_interface( mconfig, *this )
7171{
7272}
7373
7474megaduck_rom_device::megaduck_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
75               : device_t(mconfig, MEGADUCK_ROM, "MegaDuck Carts", tag, owner, clock),
75               : device_t(mconfig, MEGADUCK_ROM, "MegaDuck Carts", tag, owner, clock, "megaduck_rom", __FILE__),
7676               device_gb_cart_interface( mconfig, *this )
7777{
7878}
trunk/src/mess/machine/c64_prophet64.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_prophet64_cartridge_device::c64_prophet64_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_PROPHET64, "PROPHET64", tag, owner, clock),
31   device_t(mconfig, C64_PROPHET64, "PROPHET64", tag, owner, clock, "c64_prophet64", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this),
3333   m_bank(0)
3434{
trunk/src/mess/machine/x68k_scsiext.h
r22095r22096
3131   // device-level overrides
3232   virtual void device_start();
3333   virtual void device_reset();
34   virtual void device_config_complete() { m_shortname = "x68k_cz6bs1"; }
3534private:
3635   x68k_expansion_slot_device *m_slot;
3736
trunk/src/mess/machine/gb_rom.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   gb_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   gb_rom_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   gb_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1616
1717   // device-level overrides
1818   virtual void device_start() { shared_start(); };
1919   virtual void device_reset() { shared_reset(); };
20   virtual void device_config_complete() { m_shortname = "gb_rom"; }
2120
2221   void shared_start();
2322   void shared_reset();
r22095r22096
3837   // device-level overrides
3938   virtual void device_start();
4039   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "gb_rom_tama5"; }
4240
4341   // reading and writing
4442   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
5957   // device-level overrides
6058   virtual void device_start() { shared_start(); };
6159   virtual void device_reset() { shared_reset(); };
62   virtual void device_config_complete() { m_shortname = "gb_rom_wisdom"; }
6360
6461   // reading and writing
6562   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
7673   // device-level overrides
7774   virtual void device_start() { shared_start(); };
7875   virtual void device_reset() { shared_reset(); };
79   virtual void device_config_complete() { m_shortname = "gb_rom_yong"; }
8076
8177   // reading and writing
8278   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
9389   // device-level overrides
9490   virtual void device_start() { shared_start(); };
9591   virtual void device_reset() { shared_reset(); };
96   virtual void device_config_complete() { m_shortname = "gb_rom_atvrac"; }
9792
9893   // reading and writing
9994   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
110105   // device-level overrides
111106   virtual void device_start() { shared_start(); };
112107   virtual void device_reset() { shared_reset(); };
113   virtual void device_config_complete() { m_shortname = "gb_rom_lasama"; }
114108
115109   // reading and writing
116110   virtual DECLARE_READ8_MEMBER(read_rom);
r22095r22096
124118{
125119public:
126120   // construction/destruction
127   megaduck_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
121   megaduck_rom_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);
128122   megaduck_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
129123
130124   // device-level overrides
131125   virtual void device_start();
132126   virtual void device_reset();
133   virtual void device_config_complete() { m_shortname = "megaduck_rom"; }
134127
135128   // reading and writing
136129   virtual DECLARE_READ8_MEMBER(read_rom);
trunk/src/mess/machine/c64_prophet64.h
r22095r22096
3232
3333protected:
3434   // device-level overrides
35   virtual void device_config_complete() { m_shortname = "c64_prophet64"; }
3635   virtual void device_start();
3736   virtual void device_reset();
3837
trunk/src/mess/machine/a2videoterm.c
r22095r22096
169169//  LIVE DEVICE
170170//**************************************************************************
171171
172a2bus_videx80_device::a2bus_videx80_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
173   device_t(mconfig, type, name, tag, owner, clock),
172a2bus_videx80_device::a2bus_videx80_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   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
174174   device_a2bus_card_interface(mconfig, *this),
175175   m_crtc(*this, VIDEOTERM_MC6845_NAME)
176176{
177177}
178178
179179a2bus_videoterm_device::a2bus_videoterm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
180   a2bus_videx80_device(mconfig, A2BUS_VIDEOTERM, "Videx VideoTerm", tag, owner, clock)
180   a2bus_videx80_device(mconfig, A2BUS_VIDEOTERM, "Videx VideoTerm", tag, owner, clock, "a2vidtrm", __FILE__)
181181{
182   m_shortname = "a2vidtrm";
183182}
184183
185184a2bus_ap16_device::a2bus_ap16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
186   a2bus_videx80_device(mconfig, A2BUS_IBSAP16, "IBS AP-16 80 column card", tag, owner, clock)
185   a2bus_videx80_device(mconfig, A2BUS_IBSAP16, "IBS AP-16 80 column card", tag, owner, clock, "a2ap16", __FILE__)
187186{
188   m_shortname = "a2ap16";
189187}
190188
191189a2bus_ap16alt_device::a2bus_ap16alt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
192   a2bus_videx80_device(mconfig, A2BUS_IBSAP16ALT, "IBS AP-16 80 column card (alt. version)", tag, owner, clock)
190   a2bus_videx80_device(mconfig, A2BUS_IBSAP16ALT, "IBS AP-16 80 column card (alt. version)", tag, owner, clock, "a2ap16a", __FILE__)
193191{
194   m_shortname = "a2ap16a";
195192}
196193
197194a2bus_vtc1_device::a2bus_vtc1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
198   a2bus_videx80_device(mconfig, A2BUS_VTC1, "Unknown VideoTerm clone #1", tag, owner, clock)
195   a2bus_videx80_device(mconfig, A2BUS_VTC1, "Unknown VideoTerm clone #1", tag, owner, clock, "a2vtc1", __FILE__)
199196{
200   m_shortname = "a2vtc1";
201197}
202198
203199a2bus_vtc2_device::a2bus_vtc2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
204   a2bus_videx80_device(mconfig, A2BUS_VTC2, "Unknown VideoTerm clone #2", tag, owner, clock)
200   a2bus_videx80_device(mconfig, A2BUS_VTC2, "Unknown VideoTerm clone #2", tag, owner, clock, "a2vtc2", __FILE__)
205201{
206   m_shortname = "a2vtc2";
207202}
208203
209204//-------------------------------------------------
trunk/src/mess/machine/vp590.c
r22095r22096
148148//-------------------------------------------------
149149
150150vp590_device::vp590_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
151   device_t(mconfig, VP590, "VP590", tag, owner, clock),
151   device_t(mconfig, VP590, "VP590", tag, owner, clock, "vp590", __FILE__),
152152   device_vip_expansion_card_interface(mconfig, *this),
153153   m_cgc(*this, CDP1862_TAG),
154154   m_color_ram(*this, "color_ram"),
trunk/src/mess/machine/a2scsi.c
r22095r22096
9494//  LIVE DEVICE
9595//**************************************************************************
9696
97a2bus_scsi_device::a2bus_scsi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
98   device_t(mconfig, type, name, tag, owner, clock),
97a2bus_scsi_device::a2bus_scsi_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) :
98   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
9999   device_a2bus_card_interface(mconfig, *this),
100100   m_ncr5380(*this, SCSI_5380_TAG),
101101   m_scsibus(*this, SCSI_BUS_TAG)
102102{
103   m_shortname = "a2scsi";
104103}
105104
106105a2bus_scsi_device::a2bus_scsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
107   device_t(mconfig, A2BUS_SCSI, "Apple II SCSI Card", tag, owner, clock),
106   device_t(mconfig, A2BUS_SCSI, "Apple II SCSI Card", tag, owner, clock, "a2scsi", __FILE__),
108107   device_a2bus_card_interface(mconfig, *this),
109108   m_ncr5380(*this, SCSI_5380_TAG),
110109   m_scsibus(*this, SCSI_BUS_TAG)
111110{
112   m_shortname = "a2scsi";
113111}
114112
115113//-------------------------------------------------
trunk/src/mess/machine/abc890.c
r22095r22096
136136//  abc890_device - constructor
137137//-------------------------------------------------
138138
139abc890_device::abc890_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
140   : device_t(mconfig, type, name, tag, owner, clock),
139abc890_device::abc890_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)
140   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
141141      device_abcbus_card_interface(mconfig, *this)
142142{
143143}
144144
145145abc890_device::abc890_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
146   : device_t(mconfig, ABC890, "ABC 890", tag, owner, clock),
146   : device_t(mconfig, ABC890, "ABC 890", tag, owner, clock, "abc890", __FILE__),
147147      device_abcbus_card_interface(mconfig, *this),
148148      m_slots(7)
149149{
150150}
151151
152152abc894_device::abc894_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
153   : abc890_device(mconfig, ABC894, "ABC 894", tag, owner, clock)
153   : abc890_device(mconfig, ABC894, "ABC 894", tag, owner, clock, "abc890", __FILE__)
154154{
155155   m_slots = 3;
156156}
157157
158158abc850_device::abc850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
159   : abc890_device(mconfig, ABC850, "ABC 850", tag, owner, clock)
159   : abc890_device(mconfig, ABC850, "ABC 850", tag, owner, clock, "abc890", __FILE__)
160160{
161161   m_slots = 7;
162162}
trunk/src/mess/machine/a2videoterm.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_videx80_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_videx80_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);
2727
2828   // optional information overrides
2929   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/vp590.h
r22095r22096
4343
4444protected:
4545   // device-level overrides
46   virtual void device_config_complete() { m_shortname = "vp590"; }
4746   virtual void device_start();
4847
4948   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/a2scsi.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_scsi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_scsi_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);
2727   a2bus_scsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2828
2929   // optional information overrides
trunk/src/mess/machine/abc890.h
r22095r22096
3737{
3838public:
3939   // construction/destruction
40   abc890_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
40   abc890_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   abc890_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4242
4343   // optional information overrides
r22095r22096
5252protected:
5353   // device-level overrides
5454   virtual void device_start();
55   virtual void device_config_complete() { m_shortname = "abc890"; }
5655
5756   // device_abcbus_interface overrides
5857   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/abc_xebec.c
r22095r22096
114114//-------------------------------------------------
115115
116116abc_xebec_device::abc_xebec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
117   : device_t(mconfig, ABC_XEBEC, "ABC XEBEC", tag, owner, clock),
117   : device_t(mconfig, ABC_XEBEC, "ABC XEBEC", tag, owner, clock, "abc_xebec", __FILE__),
118118      device_abcbus_card_interface(mconfig, *this),
119119      m_maincpu(*this, Z80_TAG),
120120      m_sasibus(*this, SASIBUS_TAG)
trunk/src/mess/machine/abc_xebec.h
r22095r22096
4444   // device-level overrides
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete() { m_shortname = "abc_xebec"; }
4847
4948   // device_abcbus_interface overrides
5049   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/wangpc_lic.c
r22095r22096
7575//-------------------------------------------------
7676
7777wangpc_lic_device::wangpc_lic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
78   device_t(mconfig, WANGPC_LIC, "Wang PC-PM070", tag, owner, clock),
78   device_t(mconfig, WANGPC_LIC, "Wang PC-PM070", tag, owner, clock, "wangpc_lic", __FILE__),
7979   device_wangpcbus_card_interface(mconfig, *this)
8080{
8181}
trunk/src/mess/machine/isa_com.c
r22095r22096
122122//-------------------------------------------------
123123
124124isa8_com_device::isa8_com_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
125      device_t(mconfig, ISA8_COM, "Communications Adapter PC/XT", tag, owner, clock),
125      device_t(mconfig, ISA8_COM, "Communications Adapter PC/XT", tag, owner, clock, "isa_com", __FILE__),
126126      device_isa8_card_interface(mconfig, *this)
127127{
128128}
129129
130isa8_com_device::isa8_com_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
131      device_t(mconfig, type, name, tag, owner, clock),
130isa8_com_device::isa8_com_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) :
131      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
132132      device_isa8_card_interface(mconfig, *this)
133133{
134134}
r22095r22096
187187//-------------------------------------------------
188188
189189isa8_com_at_device::isa8_com_at_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
190      isa8_com_device(mconfig, ISA8_COM_AT, "Communications Adapter", tag, owner, clock)
190      isa8_com_device(mconfig, ISA8_COM_AT, "Communications Adapter", tag, owner, clock, "isa_com_at", __FILE__)
191191{
192192}
trunk/src/mess/machine/abc80kb.c
r22095r22096
109109   {
110110      memset(&m_out_keydown_cb, 0, sizeof(m_out_keydown_cb));
111111   }
112
113   m_shortname = "abc80kb";
114112}
115113
116114
r22095r22096
192190//-------------------------------------------------
193191
194192abc80_keyboard_device::abc80_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
195   : device_t(mconfig, ABC80_KEYBOARD, "ABC-80 Keyboard", tag, owner, clock),
193   : device_t(mconfig, ABC80_KEYBOARD, "ABC-80 Keyboard", tag, owner, clock, "abc80kb", __FILE__),
196194      m_maincpu(*this, I8048_TAG)
197195{
198196}
trunk/src/mess/machine/wangpc_lic.h
r22095r22096
3939   // device-level overrides
4040   virtual void device_start();
4141   virtual void device_reset();
42   virtual void device_config_complete() { m_shortname = "wangpc_lic"; }
43
42   
4443   // device_wangpcbus_card_interface overrides
4544   virtual UINT16 wangpcbus_mrdc_r(address_space &space, offs_t offset, UINT16 mem_mask);
4645   virtual void wangpcbus_amwc_w(address_space &space, offs_t offset, UINT16 mem_mask, UINT16 data);
trunk/src/mess/machine/c64_epyx_fast_load.c
r22095r22096
3838//-------------------------------------------------
3939
4040c64_epyx_fast_load_cartridge_device::c64_epyx_fast_load_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
41   device_t(mconfig, C64_EPYX_FAST_LOAD, "C64 Epyx Fast Load cartridge", tag, owner, clock),
41   device_t(mconfig, C64_EPYX_FAST_LOAD, "C64 Epyx Fast Load cartridge", tag, owner, clock, "c64_epyx_fast_load", __FILE__),
4242   device_c64_expansion_card_interface(mconfig, *this)
4343{
4444}
trunk/src/mess/machine/isa_com.h
r22095r22096
2020public:
2121      // construction/destruction
2222      isa8_com_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
23   isa8_com_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
23   isa8_com_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);
2424
2525   // optional information overrides
2626   virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
3030      // device-level overrides
3131      virtual void device_start();
3232      virtual void device_reset();
33   virtual void device_config_complete() { m_shortname = "isa_com"; }
3433};
3534
3635
r22095r22096
4847
4948   // optional information overrides
5049   virtual machine_config_constructor device_mconfig_additions() const;
51   virtual void device_config_complete() { m_shortname = "isa_com_at"; }
5250};
5351
5452
trunk/src/mess/machine/c64_epyx_fast_load.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_epyx_fast_load"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/vic20_megacart.c
r22095r22096
4848//-------------------------------------------------
4949
5050vic20_megacart_device::vic20_megacart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
51   : device_t(mconfig, VIC20_MEGACART, "Mega-Cart", tag, owner, clock),
51   : device_t(mconfig, VIC20_MEGACART, "Mega-Cart", tag, owner, clock, "megacart", __FILE__),
5252      device_vic20_expansion_card_interface(mconfig, *this),
5353      device_nvram_interface(mconfig, *this),
5454      m_nvram_en(0)
trunk/src/mess/machine/isa_stereo_fx.c
r22095r22096
191191}
192192
193193stereo_fx_device::stereo_fx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
194   device_t(mconfig, ISA8_STEREO_FX, "ATI Stereo F/X Audio Adapter", tag, owner, clock),
194   device_t(mconfig, ISA8_STEREO_FX, "ATI Stereo F/X Audio Adapter", tag, owner, clock, "stereo_fx", __FILE__),
195195   device_isa8_card_interface(mconfig, *this),
196196   m_dacl(*this, "dacl"),
197197   m_dacr(*this, "dacr"),
r22095r22096
201201   m_t1 = 0;
202202}
203203
204void stereo_fx_device::device_config_complete()
205{
206   m_shortname = "stereo_fx";
207}
208
209204void stereo_fx_device::device_start()
210205{
211206   set_isa_device();
trunk/src/mess/machine/c64_exos.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_exos_cartridge_device::c64_exos_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_EXOS, "C64 ExOS cartridge", tag, owner, clock),
31   device_t(mconfig, C64_EXOS, "C64 ExOS cartridge", tag, owner, clock, "c64_exos", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/vic20_megacart.h
r22095r22096
3939   // device-level overrides
4040   virtual void device_start();
4141   virtual void device_reset();
42   virtual void device_config_complete() { m_shortname = "megacart"; }
4342
4443   // device_nvram_interface overrides
4544   virtual void nvram_default() { }
trunk/src/mess/machine/isa_stereo_fx.h
r22095r22096
5454   // device-level overrides
5555   virtual void device_start();
5656   virtual void device_reset();
57   virtual void device_config_complete();
5857
5958   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
6059   UINT8 dack_r(int line);
trunk/src/mess/machine/c64_exos.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_exos"; }
3736   virtual void device_start();
3837
3938   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/d9060.c
r22095r22096
4747
4848
4949//-------------------------------------------------
50//  device_config_complete - perform any
51//  operations now that the configuration is
52//  complete
53//-------------------------------------------------
54
55void base_d9060_device::device_config_complete()
56{
57   switch (m_variant)
58   {
59   default:
60   case TYPE_9060:
61      m_shortname = "d9060";
62      break;
63
64   case TYPE_9090:
65      m_shortname = "d9090";
66      break;
67   }
68}
69
70
71//-------------------------------------------------
7250//  ROM( d9060 )
7351//-------------------------------------------------
7452
r22095r22096
511489//  base_d9060_device - constructor
512490//-------------------------------------------------
513491
514base_d9060_device::base_d9060_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
515   : device_t(mconfig, type, name, tag, owner, clock),
492base_d9060_device::base_d9060_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)
493   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
516494      device_ieee488_interface(mconfig, *this),
517495      m_maincpu(*this, M6502_DOS_TAG),
518496      m_hdccpu(*this, M6502_HDC_TAG),
r22095r22096
534512//-------------------------------------------------
535513
536514d9060_device::d9060_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
537   : base_d9060_device(mconfig, D9060, "D9060", tag, owner, clock, TYPE_9060) { }
515   : base_d9060_device(mconfig, D9060, "D9060", tag, owner, clock, TYPE_9060, "d9060", __FILE__) { }
538516
539517
540518//-------------------------------------------------
r22095r22096
542520//-------------------------------------------------
543521
544522d9090_device::d9090_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
545   : base_d9060_device(mconfig, D9090, "D9090", tag, owner, clock, TYPE_9090) { }
523   : base_d9060_device(mconfig, D9090, "D9090", tag, owner, clock, TYPE_9090, "d9090", __FILE__) { }
546524
547525
548526//-------------------------------------------------
trunk/src/mess/machine/a2lang.c
r22095r22096
3333//**************************************************************************
3434
3535a2bus_lang_device::a2bus_lang_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
36      device_t(mconfig, A2BUS_LANG, "Apple II Language Card", tag, owner, clock),
36      device_t(mconfig, A2BUS_LANG, "Apple II Language Card", tag, owner, clock, "a2lang", __FILE__),
3737      device_a2bus_card_interface(mconfig, *this)
3838{
39   m_shortname = "a2lang";
4039}
4140
42a2bus_lang_device::a2bus_lang_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
43      device_t(mconfig, type, name, tag, owner, clock),
41a2bus_lang_device::a2bus_lang_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) :
42      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4443      device_a2bus_card_interface(mconfig, *this)
4544{
46   m_shortname = "a2lang";
4745}
4846
4947//-------------------------------------------------
trunk/src/mess/machine/sat_rom.c
r22095r22096
1616const device_type SATURN_ROM = &device_creator<saturn_rom_device>;
1717
1818
19saturn_rom_device::saturn_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
20               : device_t(mconfig, type, name, tag, owner, clock),
19saturn_rom_device::saturn_rom_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)
20               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
2121                  device_sat_cart_interface( mconfig, *this )
2222{
2323}
2424
2525saturn_rom_device::saturn_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
26               : device_t(mconfig, SATURN_ROM, "Saturn ROM Carts", tag, owner, clock),
26               : device_t(mconfig, SATURN_ROM, "Saturn ROM Carts", tag, owner, clock, "sat_rom", __FILE__),
2727                  device_sat_cart_interface( mconfig, *this )
2828{
2929   m_cart_type = 0xff; // actually not clear if ROM carts have a type ID like DRAM/BRAM carts
trunk/src/mess/machine/pf10.c
r22095r22096
8888//-------------------------------------------------
8989
9090epson_pf10_device::epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
91   device_t(mconfig, EPSON_PF10, "EPSON PF-10 floppy drive", tag, owner, clock),
91   device_t(mconfig, EPSON_PF10, "EPSON PF-10 floppy drive", tag, owner, clock, "epson_pf10", __FILE__),
9292   device_epson_sio_interface(mconfig, *this),
9393   m_cpu(*this, "maincpu"),
9494   m_fdc(*this, "upd765a"),
trunk/src/mess/machine/d9060.h
r22095r22096
5151   };
5252
5353   // construction/destruction
54   base_d9060_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
54   base_d9060_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);
5555
5656   // optional information overrides
5757   virtual const rom_entry *device_rom_region() const;
r22095r22096
7676   // device-level overrides
7777   virtual void device_start();
7878   virtual void device_reset();
79   virtual void device_config_complete();
8079
8180   // device_ieee488_interface overrides
8281   void ieee488_atn(int state);
trunk/src/mess/machine/c64_xl80.c
r22095r22096
174174//-------------------------------------------------
175175
176176c64_xl80_device::c64_xl80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
177   device_t(mconfig, C64_XL80, "XL 80", tag, owner, clock),
177   device_t(mconfig, C64_XL80, "XL 80", tag, owner, clock, "c64_xl80", __FILE__),
178178   device_c64_expansion_card_interface(mconfig, *this),
179179   m_crtc(*this, HD46505SP_TAG),
180180   m_char_rom(*this, HD46505SP_TAG)
trunk/src/mess/machine/a2lang.h
r22095r22096
2323public:
2424   // construction/destruction
2525   a2bus_lang_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_lang_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_lang_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);
2727
2828protected:
2929   virtual void device_start();
trunk/src/mess/machine/sat_rom.h
r22095r22096
1111{
1212public:
1313   // construction/destruction
14   saturn_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
14   saturn_rom_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   saturn_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
1616
1717   // device-level overrides
1818   virtual void device_start();
1919   virtual void device_reset();
20   virtual void device_config_complete() { m_shortname = "sat_rom"; }
2120
2221   // reading and writing
2322   virtual DECLARE_READ32_MEMBER(read_rom);
trunk/src/mess/machine/kc_rom.c
r22095r22096
4141//-------------------------------------------------
4242
4343kc_8k_device::kc_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
44      : device_t(mconfig, KC_STANDARD, "Standard", tag, owner, clock),
44      : device_t(mconfig, KC_STANDARD, "Standard", tag, owner, clock, "kc_8k", __FILE__),
4545      device_kcexp_interface( mconfig, *this )
4646{
4747}
4848
49kc_8k_device::kc_8k_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),
49kc_8k_device::kc_8k_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      device_kcexp_interface( mconfig, *this )
5252{
5353}
r22095r22096
141141//-------------------------------------------------
142142
143143kc_m006_device::kc_m006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
144      : kc_8k_device(mconfig, KC_M006, "M006 BASIC", tag, owner, clock)
144      : kc_8k_device(mconfig, KC_M006, "M006 BASIC", tag, owner, clock, "kc_m006", __FILE__)
145145{
146146}
147147
r22095r22096
183183//-------------------------------------------------
184184
185185kc_m033_device::kc_m033_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
186      : kc_8k_device(mconfig, KC_M033, "M033 TypeStar", tag, owner, clock)
186      : kc_8k_device(mconfig, KC_M033, "M033 TypeStar", tag, owner, clock, "kc_m033", __FILE__)
187187{
188188}
189189
trunk/src/mess/machine/pf10.h
r22095r22096
3737
3838protected:
3939   // device-level overrides
40   virtual void device_config_complete() { m_shortname = "epson_pf10"; }
4140   virtual void device_start();
4241
4342   // device_epson_sio_interface overrides
trunk/src/mess/machine/c64_xl80.h
r22095r22096
4141
4242protected:
4343   // device-level overrides
44   virtual void device_config_complete() { m_shortname = "c64_xl80"; }
4544   virtual void device_start();
4645   virtual void device_reset();
4746
trunk/src/mess/machine/kc_rom.h
r22095r22096
1919public:
2020   // construction/destruction
2121   kc_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22   kc_8k_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22   kc_8k_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);
2323
2424   // optional information overrides
2525
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_reset();
30   virtual void device_config_complete() { m_shortname = "kc_8k"; }
3130   virtual const rom_entry *device_rom_region() const;
3231
3332   // kcexp_interface overrides
r22095r22096
5857   kc_m006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
5958
6059protected:
61   // device-level overrides
62   virtual void device_config_complete() { m_shortname = "kc_m006"; }
63
6460   // kcexp_interface overrides
6561   virtual UINT8 module_id_r() { return 0xfc; }
6662   virtual void control_w(UINT8 data);
r22095r22096
8076protected:
8177   // device-level overrides
8278   virtual void device_reset();
83   virtual void device_config_complete() { m_shortname = "kc_m033"; }
8479
8580   // kcexp_interface overrides
8681   virtual UINT8 module_id_r() { return 0x01; }
trunk/src/mess/machine/psxcd.c
r22095r22096
101101};
102102
103103psxcd_device::psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
104   cdrom_image_device(mconfig, PSXCD, "Cdrom", tag, owner, clock),
104   cdrom_image_device(mconfig, PSXCD, "Cdrom", tag, owner, clock, "psx_cd", __FILE__),
105105   m_irq_handler(*this)
106106{
107107   static_set_static_config(*this, &psx_cdrom);
trunk/src/mess/machine/mackbd.c
r22095r22096
124124//-------------------------------------------------
125125
126126mackbd_device::mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
127   : device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock),
127   : device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock, "mackbd", __FILE__),
128128   m_maincpu(*this, MACKBD_CPU_TAG)
129129{
130130}
r22095r22096
147147{
148148}
149149
150void mackbd_device::device_config_complete()
151{
152   m_shortname = "mackbd";
153}
154
155150READ8_MEMBER(mackbd_device::p0_r)
156151{
157152   return 0x20;    // 0x20 indicates we're a keyboard rather than the keypad
trunk/src/mess/machine/vic1010.c
r22095r22096
5353//-------------------------------------------------
5454
5555vic1010_device::vic1010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
56   : device_t(mconfig, VIC1010, "VIC1010", tag, owner, clock),
56   : device_t(mconfig, VIC1010, "VIC1010", tag, owner, clock, "vic1010", __FILE__),
5757      device_vic20_expansion_card_interface(mconfig, *this),
5858      m_slot1(*this, "slot1"),
5959      m_slot2(*this, "slot2"),
trunk/src/mess/machine/md_jcart.c
r22095r22096
3535const device_type MD_SEPROM_MM96 = &device_creator<md_seprom_mm96_device>;
3636
3737// Sampras, Super Skidmarks?
38md_jcart_device::md_jcart_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
39               : device_t(mconfig, type, name, tag, owner, clock),
38md_jcart_device::md_jcart_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)
39               : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4040               device_md_cart_interface( mconfig, *this ),
4141               m_jcart3(*this, "JCART3"),
4242               m_jcart4(*this, "JCART4")
r22095r22096
4444}
4545
4646md_jcart_device::md_jcart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
47               : device_t(mconfig, MD_JCART, "MD J-Cart games", tag, owner, clock),
47               : device_t(mconfig, MD_JCART, "MD J-Cart games", tag, owner, clock, "md_jcart", __FILE__),
4848               device_md_cart_interface( mconfig, *this ),
4949               m_jcart3(*this, "JCART3"),
5050               m_jcart4(*this, "JCART4")
r22095r22096
5252}
5353
5454// Micro Machines 2, Micro Machines Military
55md_seprom_codemast_device::md_seprom_codemast_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
56               : md_jcart_device(mconfig, type, name, tag, owner, clock),
55md_seprom_codemast_device::md_seprom_codemast_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)
56               : md_jcart_device(mconfig, type, name, tag, owner, clock, shortname, source),
5757               m_i2cmem(*this, "i2cmem")
5858{
5959}
6060
6161md_seprom_codemast_device::md_seprom_codemast_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
62               : md_jcart_device(mconfig, MD_SEPROM_CODEMAST, "MD J-Cart games + SEPROM", tag, owner, clock),
62               : md_jcart_device(mconfig, MD_SEPROM_CODEMAST, "MD J-Cart games + SEPROM", tag, owner, clock, "md_seprom_codemast", __FILE__),
6363               m_i2cmem(*this, "i2cmem")
6464{
6565}
6666
6767// Micro Machines 96
6868md_seprom_mm96_device::md_seprom_mm96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
69               : md_seprom_codemast_device(mconfig, MD_SEPROM_MM96, "MD Micro Machine 96", tag, owner, clock)
69               : md_seprom_codemast_device(mconfig, MD_SEPROM_MM96, "MD Micro Machine 96", tag, owner, clock, "md_seprom_mm96", __FILE__)
7070{
7171}
7272
trunk/src/mess/machine/interpod.c
r22095r22096
210210//-------------------------------------------------
211211
212212interpod_device::interpod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
213   : device_t(mconfig, INTERPOD, "Interpod", tag, owner, clock),
213   : device_t(mconfig, INTERPOD, "Interpod", tag, owner, clock, "interpod", __FILE__),
214214      device_cbm_iec_interface(mconfig, *this),
215215      m_maincpu(*this, R6502_TAG),
216216      m_via(*this, R6522_TAG),
r22095r22096
221221}
222222
223223//-------------------------------------------------
224//  device_config_complete - perform any
225//  operations now that the configuration is
226//  complete
227//-------------------------------------------------
228
229void interpod_device::device_config_complete()
230{
231   m_shortname = "interpod";
232}
233
234
235//-------------------------------------------------
236224//  device_start - device-specific startup
237225//-------------------------------------------------
238226
trunk/src/mess/machine/mackbd.h
r22095r22096
5050   // device-level overrides
5151   virtual void device_start();
5252   virtual void device_reset();
53   virtual void device_config_complete();
5453   virtual machine_config_constructor device_mconfig_additions() const;
5554   virtual const rom_entry *device_rom_region() const;
5655
trunk/src/mess/machine/vic1010.h
r22095r22096
4545
4646protected:
4747   // device-level overrides
48   virtual void device_config_complete() { m_shortname = "vic1010"; }
4948   virtual void device_start();
5049   virtual void device_reset();
5150
trunk/src/mess/machine/md_jcart.h
r22095r22096
1616{
1717public:
1818   // construction/destruction
19   md_jcart_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
19   md_jcart_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);
2020   md_jcart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2121
2222   // device-level overrides
2323   virtual void device_start();
2424   virtual void device_reset();
25   virtual void device_config_complete() { m_shortname = "md_jcart"; }
2625   virtual ioport_constructor device_input_ports() const;
2726
2827   // reading and writing
r22095r22096
4241{
4342public:
4443   // construction/destruction
45   md_seprom_codemast_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
44   md_seprom_codemast_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);
4645   md_seprom_codemast_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4746
4847   // device-level overrides
4948   virtual void device_start();
5049   virtual void device_reset();
51   virtual void device_config_complete() { m_shortname = "md_seprom_codemast"; }
5250   virtual machine_config_constructor device_mconfig_additions() const;
5351
5452   // reading and writing
r22095r22096
7169   md_seprom_mm96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7270
7371   // device-level overrides
74   virtual void device_config_complete() { m_shortname = "md_seprom_mm96"; }
7572   virtual machine_config_constructor device_mconfig_additions() const;
7673};
7774
trunk/src/mess/machine/interpod.h
r22095r22096
6666   // device-level overrides
6767   virtual void device_start();
6868   virtual void device_reset();
69   virtual void device_config_complete();
7069
7170   required_device<cpu_device> m_maincpu;
7271   required_device<via6522_device> m_via;
trunk/src/mess/machine/pc9801_26.c
r22095r22096
119119//-------------------------------------------------
120120
121121pc9801_26_device::pc9801_26_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
122   : device_t(mconfig, PC9801_26, "pc9801_26", tag, owner, clock),
122   : device_t(mconfig, PC9801_26, "pc9801_26", tag, owner, clock, "pc9801_26", __FILE__),
123123//      m_maincpu(*owner, "maincpu"),
124124      m_opn(*this, "opn")
125125{
trunk/src/mess/machine/trs80m2kb.c
r22095r22096
235235//-------------------------------------------------
236236
237237trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
238   : device_t(mconfig, TRS80M2_KEYBOARD, "TRS-80 Model II Keyboard", tag, owner, clock),
238   : device_t(mconfig, TRS80M2_KEYBOARD, "TRS-80 Model II Keyboard", tag, owner, clock, "trs80m2kb", __FILE__),
239239      m_maincpu(*this, I8021_TAG),
240240      m_y0(*this, "Y0"),
241241      m_y1(*this, "Y1"),
r22095r22096
264264
265265void trs80m2_keyboard_device::device_config_complete()
266266{
267   m_shortname = "trs80m2kb";
268
269267   // inherit a copy of the static data
270268   const trs80m2_keyboard_interface *intf = reinterpret_cast<const trs80m2_keyboard_interface *>(static_config());
271269   if (intf != NULL)
trunk/src/mess/machine/cbm2_std.c
r22095r22096
2828//-------------------------------------------------
2929
3030cbm2_standard_cartridge_device::cbm2_standard_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, CBM2_STD, "CBM-II standard cartridge", tag, owner, clock),
31   device_t(mconfig, CBM2_STD, "CBM-II standard cartridge", tag, owner, clock, "cbm2_standard", __FILE__),
3232   device_cbm2_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/pc9801_26.h
r22095r22096
4242   virtual void device_validity_check(validity_checker &valid) const;
4343   virtual void device_start();
4444   virtual void device_reset();
45   virtual void device_config_complete() { m_shortname = "pc9801_26"; }
4645   void install_device(offs_t start, offs_t end, offs_t mask, offs_t mirror, read8_delegate rhandler, write8_delegate whandler);
4746
4847private:
trunk/src/mess/machine/isa_aha1542.c
r22095r22096
185185}
186186
187187aha1542_device::aha1542_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
188   device_t(mconfig, AHA1542, "AHA1542 SCSI Controller", tag, owner, clock),
188   device_t(mconfig, AHA1542, "AHA1542 SCSI Controller", tag, owner, clock, "aha1542", __FILE__   ),
189189   device_isa16_card_interface(mconfig, *this)
190190{
191191}
192192
193void aha1542_device::device_config_complete()
194{
195   m_shortname = "aha1542";
196}
197
198193void aha1542_device::device_start()
199194{
200195   set_isa_device();
trunk/src/mess/machine/cbm2_std.h
r22095r22096
3434
3535protected:
3636   // device-level overrides
37   virtual void device_config_complete() { m_shortname = "cbm2_standard"; }
3837   virtual void device_start();
3938
4039   // device_cbm2_expansion_card_interface overrides
trunk/src/mess/machine/isa_aha1542.h
r22095r22096
4444   // device-level overrides
4545   virtual void device_start();
4646   virtual void device_reset();
47   virtual void device_config_complete();
4847
4948   // device_isa16_card_interface
5049
trunk/src/mess/machine/c64_reu.c
r22095r22096
8181//-------------------------------------------------
8282
8383c64_reu_cartridge_device::c64_reu_cartridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, int jp1, size_t ram_size) :
84   device_t(mconfig, type, name, tag, owner, clock),
84   device_t(mconfig, type, name, tag, owner, clock, "c64_reu", __FILE__),
8585   device_c64_expansion_card_interface(mconfig, *this),
8686   m_dmac(*this, MOS8726R1_TAG),
8787   m_variant(variant),
trunk/src/mess/machine/c64_reu.h
r22095r22096
4646   };
4747
4848   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "c64_reu"; }
5049   virtual void device_start();
5150   virtual void device_reset();
5251
trunk/src/mess/machine/comx_thm.c
r22095r22096
5353//-------------------------------------------------
5454
5555comx_thm_device::comx_thm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56   device_t(mconfig, COMX_THM, "COMX-35 Thermal Printer Card", tag, owner, clock),
56   device_t(mconfig, COMX_THM, "COMX-35 Thermal Printer Card", tag, owner, clock, "comx_thm", __FILE__),
5757   device_comx_expansion_card_interface(mconfig, *this),
5858   m_rom(*this, "c000")
5959{
trunk/src/mess/machine/c64_vizastar.c
r22095r22096
6060//-------------------------------------------------
6161
6262c64_vizastar_cartridge_device::c64_vizastar_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
63   device_t(mconfig, C64_VIZASTAR, "VizaStar 64 XL4", tag, owner, clock),
63   device_t(mconfig, C64_VIZASTAR, "VizaStar 64 XL4", tag, owner, clock, "c64_vizastar", __FILE__),
6464   device_c64_expansion_card_interface(mconfig, *this)
6565{
6666}
trunk/src/mess/machine/southbridge.c
r22095r22096
159159   return MACHINE_CONFIG_NAME( southbridge );
160160}
161161
162southbridge_device::southbridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
163   : device_t(mconfig, type, name, tag, owner, clock),
162southbridge_device::southbridge_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)
163   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
164164   m_maincpu(*this, ":maincpu"),
165165   m_pic8259_master(*this, "pic8259_master"),
166166   m_pic8259_slave(*this, "pic8259_slave"),
trunk/src/mess/machine/sa1403d.c
r22095r22096
122122//-------------------------------------------------
123123
124124sa1403d_device::sa1403d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
125   : scsihd_device(mconfig, SA1403D, "Shugart SA1403D", tag, owner, clock)
125   : scsihd_device(mconfig, SA1403D, "Shugart SA1403D", tag, owner, clock, "sa1403d", __FILE__)
126126{
127127}
128128
trunk/src/mess/machine/c64_16kb.c
r22095r22096
9898//-------------------------------------------------
9999
100100c64_16kb_cartridge_device::c64_16kb_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
101   device_t(mconfig, C64_16KB, "C64 16KB EPROM cartridge", tag, owner, clock),
101   device_t(mconfig, C64_16KB, "C64 16KB EPROM cartridge", tag, owner, clock, "c64_16kb", __FILE__),
102102   device_c64_expansion_card_interface(mconfig, *this),
103103   m_sw1(*this, "SW1")
104104{
trunk/src/mess/machine/a2eramworks3.c
r22095r22096
2727//**************************************************************************
2828
2929a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
30      device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock),
30      device_t(mconfig, A2EAUX_RAMWORKS3, "Applied Engineering RamWorks III", tag, owner, clock, "a2erwks3", __FILE__),
3131      device_a2eauxslot_card_interface(mconfig, *this)
3232{
33   m_shortname = "a2erwks3";
3433}
3534
36a2eaux_ramworks3_device::a2eaux_ramworks3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
37      device_t(mconfig, type, name, tag, owner, clock),
35a2eaux_ramworks3_device::a2eaux_ramworks3_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      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3837      device_a2eauxslot_card_interface(mconfig, *this)
3938{
40   m_shortname = "a2erwks3";
4139}
4240
4341//-------------------------------------------------
trunk/src/mess/machine/comx_thm.h
r22095r22096
3838   // device-level overrides
3939   virtual void device_start();
4040   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "comx_thm"; }
4241
4342   // device_comx_expansion_card_interface overrides
4443   virtual UINT8 comx_mrd_r(address_space &space, offs_t offset, int *extrom);
trunk/src/mess/machine/c64_vizastar.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_vizastar"; }
3736   virtual void device_start();
3837
3938   // device_c64_expansion_card_interface overrides
trunk/src/mess/machine/southbridge.h
r22095r22096
6262{
6363public:
6464      // construction/destruction
65      southbridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
65      southbridge_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);
6666
6767      // optional information overrides
6868      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/iq151_disc2.c
r22095r22096
4747//-------------------------------------------------
4848
4949iq151_disc2_device::iq151_disc2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
50      : device_t(mconfig, IQ151_DISC2, "IQ151 Disc2", tag, owner, clock),
50      : device_t(mconfig, IQ151_DISC2, "IQ151 Disc2", tag, owner, clock, "iq151_disc2", __FILE__),
5151      device_iq151cart_interface( mconfig, *this ),
5252      m_fdc(*this, "fdc")
5353{
trunk/src/mess/machine/sa1403d.h
r22095r22096
2929
3030   virtual void ExecCommand( int *transferLength );
3131   virtual void WriteData( UINT8 *data, int dataLength );
32
33protected:
34   // device-level overrides
35   virtual void device_config_complete() { m_shortname = "sa1403d"; }
3632};
3733
3834
trunk/src/mess/machine/c64_16kb.h
r22095r22096
3939
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_16kb"; }
4342   virtual void device_start();
4443   virtual void device_reset();
4544
trunk/src/mess/machine/a2eramworks3.h
r22095r22096
2323public:
2424   // construction/destruction
2525   a2eaux_ramworks3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_ramworks3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_ramworks3_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);
2727
2828protected:
2929   virtual void device_start();
trunk/src/mess/machine/iq151_disc2.h
r22095r22096
3131   // device-level overrides
3232   virtual void device_start();
3333   virtual void device_reset();
34   virtual void device_config_complete() { m_shortname = "iq151_disc2"; }
35
34   
3635   // iq151cart_interface overrides
3736   virtual void read(offs_t offset, UINT8 &data);
3837   virtual void io_read(offs_t offset, UINT8 &data);
trunk/src/mess/machine/c1541.c
r22095r22096
178178const device_type C1541_PROFESSIONAL_DOS_V1 = &device_creator<c1541_professional_dos_v1_device>;
179179const device_type C1541_PROLOGIC_DOS_CLASSIC = &device_creator<c1541_prologic_dos_classic_device>;
180180
181
182181//-------------------------------------------------
183//  device_config_complete - perform any
184//  operations now that the configuration is
185//  complete
186//-------------------------------------------------
187
188void base_c1541_device::device_config_complete()
189{
190   switch (m_variant)
191   {
192   case TYPE_1540:
193      m_shortname = "c1540";
194      break;
195
196   default:
197   case TYPE_1541:
198      m_shortname = "c1541";
199      break;
200
201   case TYPE_1541C:
202      m_shortname = "c1541c";
203      break;
204
205   case TYPE_1541II:
206      m_shortname = "c1541ii";
207      break;
208
209   case TYPE_SX1541:
210      m_shortname = "sx1541";
211      break;
212
213   case TYPE_FSD2:
214      m_shortname = "fsd2";
215      break;
216
217   case TYPE_CSD1:
218      m_shortname = "csd1";
219      break;
220
221   case TYPE_1541_DOLPHIN_DOS:
222      m_shortname = "c1541dd";
223      break;
224
225   case TYPE_1541_PROFESSIONAL_DOS_V1:
226      m_shortname = "c1541pd";
227      break;
228
229   case TYPE_1541_PROLOGIC_DOS_CLASSIC:
230      m_shortname = "c1541pdc";
231      break;
232   }
233}
234
235
236//-------------------------------------------------
237182//  ROM( c1540 )
238183//-------------------------------------------------
239184
r22095r22096
995940//  base_c1541_device - constructor
996941//-------------------------------------------------
997942
998base_c1541_device:: base_c1541_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
999   : device_t(mconfig, type, name, tag, owner, clock),
943base_c1541_device:: base_c1541_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)
944   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
1000945      device_cbm_iec_interface(mconfig, *this),
1001946      device_c64_floppy_parallel_interface(mconfig, *this),
1002947      m_maincpu(*this, M6502_TAG),
r22095r22096
1017962//-------------------------------------------------
1018963
1019964c1540_device::c1540_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1020   : base_c1541_device(mconfig, C1540, "C1540", tag, owner, clock, TYPE_1540) { }
965   : base_c1541_device(mconfig, C1540, "C1540", tag, owner, clock, TYPE_1540, "c1540", __FILE__) { }
1021966
1022967
1023968//-------------------------------------------------
r22095r22096
1025970//-------------------------------------------------
1026971
1027972c1541_device::c1541_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1028   : base_c1541_device(mconfig, C1541, "C1541", tag, owner, clock, TYPE_1541) { }
973   : base_c1541_device(mconfig, C1541, "C1541", tag, owner, clock, TYPE_1541, "c1541", __FILE__) { }
1029974
1030975
1031976//-------------------------------------------------
r22095r22096
1033978//-------------------------------------------------
1034979
1035980c1541c_device::c1541c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1036   : base_c1541_device(mconfig, C1541C, "C1541C", tag, owner, clock, TYPE_1541C) {  }
981   : base_c1541_device(mconfig, C1541C, "C1541C", tag, owner, clock, TYPE_1541C, "c1541c", __FILE__) {  }
1037982
1038983
1039984//-------------------------------------------------
r22095r22096
1041986//-------------------------------------------------
1042987
1043988c1541ii_device::c1541ii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1044   : base_c1541_device(mconfig, C1541II, "C1541-II", tag, owner, clock, TYPE_1541II) {  }
989   : base_c1541_device(mconfig, C1541II, "C1541-II", tag, owner, clock, TYPE_1541II, "c1541ii", __FILE__) {  }
1045990
1046991
1047992//-------------------------------------------------
r22095r22096
1049994//-------------------------------------------------
1050995
1051996sx1541_device::sx1541_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1052   : base_c1541_device(mconfig, SX1541, "SX1541", tag, owner, clock, TYPE_SX1541) { }
997   : base_c1541_device(mconfig, SX1541, "SX1541", tag, owner, clock, TYPE_SX1541, "sx1541", __FILE__) { }
1053998
1054999
10551000//-------------------------------------------------
r22095r22096
10571002//-------------------------------------------------
10581003
10591004fsd2_device::fsd2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1060   : base_c1541_device(mconfig, FSD2, "FSD-2", tag, owner, clock, TYPE_FSD2) { }
1005   : base_c1541_device(mconfig, FSD2, "FSD-2", tag, owner, clock, TYPE_FSD2, "fsd2", __FILE__) { }
10611006
10621007
10631008//-------------------------------------------------
r22095r22096
10651010//-------------------------------------------------
10661011
10671012csd1_device::csd1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1068   : base_c1541_device(mconfig, CSD1, "CSD-1", tag, owner, clock, TYPE_CSD1) { }
1013   : base_c1541_device(mconfig, CSD1, "CSD-1", tag, owner, clock, TYPE_CSD1, "csd1", __FILE__) { }
10691014
10701015
10711016//-------------------------------------------------
r22095r22096
10731018//-------------------------------------------------
10741019
10751020c1541_dolphin_dos_device::c1541_dolphin_dos_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1076   : base_c1541_device(mconfig, C1541_DOLPHIN_DOS, "C1541 Dolphin-DOS 2.0", tag, owner, clock, TYPE_1541_DOLPHIN_DOS) {  }
1021   : base_c1541_device(mconfig, C1541_DOLPHIN_DOS, "C1541 Dolphin-DOS 2.0", tag, owner, clock, TYPE_1541_DOLPHIN_DOS, "c1541dd", __FILE__) {  }
10771022
10781023
10791024//-------------------------------------------------
r22095r22096
10811026//-------------------------------------------------
10821027
10831028c1541_professional_dos_v1_device::c1541_professional_dos_v1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1084   : base_c1541_device(mconfig, C1541_PROFESSIONAL_DOS_V1, "C1541 Professional-DOS v1", tag, owner, clock, TYPE_1541_PROFESSIONAL_DOS_V1) {  }
1029   : base_c1541_device(mconfig, C1541_PROFESSIONAL_DOS_V1, "C1541 Professional-DOS v1", tag, owner, clock, TYPE_1541_PROFESSIONAL_DOS_V1, "c1541pd", __FILE__) {  }
10851030
10861031
10871032//-------------------------------------------------
r22095r22096
10891034//-------------------------------------------------
10901035
10911036c1541_prologic_dos_classic_device::c1541_prologic_dos_classic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1092   : base_c1541_device(mconfig, C1541_PROLOGIC_DOS_CLASSIC, "C1541 ProLogic-DOS Classic", tag, owner, clock, TYPE_1541_PROLOGIC_DOS_CLASSIC),
1037   : base_c1541_device(mconfig, C1541_PROLOGIC_DOS_CLASSIC, "C1541 ProLogic-DOS Classic", tag, owner, clock, TYPE_1541_PROLOGIC_DOS_CLASSIC, "c1541pdc", __FILE__),
10931038      m_pia(*this, MC6821_TAG),
10941039      m_centronics(*this, CENTRONICS_TAG),
10951040      m_mmu_rom(*this, "mmu")
trunk/src/mess/machine/c64_midi_maplin.c
r22095r22096
129129//-------------------------------------------------
130130
131131c64_maplin_midi_cartridge_device::c64_maplin_midi_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
132   device_t(mconfig, C64_MIDI_MAPLIN, "C64 Maplin MIDI", tag, owner, clock),
132   device_t(mconfig, C64_MIDI_MAPLIN, "C64 Maplin MIDI", tag, owner, clock, "c64_midimap", __FILE__),
133133   device_c64_expansion_card_interface(mconfig, *this),
134134   m_acia(*this, MC6850_TAG),
135135   m_mdout(*this, "mdout"),
trunk/src/mess/machine/kb_msnat.c
r22095r22096
227227
228228
229229pc_kbd_microsoft_natural_device::pc_kbd_microsoft_natural_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
230   : device_t(mconfig, PC_KBD_MICROSOFT_NATURAL, "Microsoft Natural Keyboard", tag, owner, clock )
230   : device_t(mconfig, PC_KBD_MICROSOFT_NATURAL, "Microsoft Natural Keyboard", tag, owner, clock, "ms_natural", __FILE__)
231231   , device_pc_kbd_interface(mconfig, *this)
232232   , m_cpu(*this, "ms_natrl_cpu")
233233   , m_p2_0(*this, "P2.0")
r22095r22096
247247   , m_p1_6(*this, "P1.6")
248248   , m_p1_7(*this, "P1.7")
249249{
250   m_shortname = "ms_natural";
251250}
252251
253252
trunk/src/mess/machine/c64_ocean.c
r22095r22096
5050//-------------------------------------------------
5151
5252c64_ocean_cartridge_device::c64_ocean_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
53   device_t(mconfig, C64_OCEAN, "C64 Ocean cartridge", tag, owner, clock),
53   device_t(mconfig, C64_OCEAN, "C64 Ocean cartridge", tag, owner, clock, "c64_ocean", __FILE__),
5454   device_c64_expansion_card_interface(mconfig, *this),
5555   m_bank(0)
5656{
trunk/src/mess/machine/c1541.h
r22095r22096
4747{
4848public:
4949   // construction/destruction
50   base_c1541_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
50   base_c1541_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);
5151
5252   enum
5353   {
r22095r22096
8484
8585protected:
8686   // device-level overrides
87   virtual void device_config_complete();
8887   virtual void device_start();
8988   virtual void device_reset();
9089
trunk/src/mess/machine/c64_midi_maplin.h
r22095r22096
4444
4545protected:
4646   // device-level overrides
47   virtual void device_config_complete() { m_shortname = "c64_midimap"; }
4847   virtual void device_start();
4948   virtual void device_reset();
5049
trunk/src/mess/machine/c64_multiscreen.c
r22095r22096
183183//-------------------------------------------------
184184
185185c64_multiscreen_cartridge_device::c64_multiscreen_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
186   device_t(mconfig, C64_MULTISCREEN, "C64 Multiscreen cartridge", tag, owner, clock),
186   device_t(mconfig, C64_MULTISCREEN, "C64 Multiscreen cartridge", tag, owner, clock, "c64_mscr", __FILE__),
187187   device_c64_expansion_card_interface(mconfig, *this)
188188{
189189}
trunk/src/mess/machine/c64_ocean.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_ocean"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/coco_232.c
r22095r22096
3939//-------------------------------------------------
4040
4141coco_232_device::coco_232_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
42      : device_t(mconfig, COCO_232, "CoCo RS-232 PAK", tag, owner, clock),
42      : device_t(mconfig, COCO_232, "CoCo RS-232 PAK", tag, owner, clock, "coco_232", __FILE__),
4343      device_cococart_interface( mconfig, *this ),
4444      m_uart(*this, UART_TAG)
4545{
trunk/src/mess/machine/c64_multiscreen.h
r22095r22096
3939
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_mscr"; }
4342   virtual void device_start();
4443   virtual void device_reset();
4544
trunk/src/mess/machine/coco_232.h
r22095r22096
2626protected:
2727      // device-level overrides
2828      virtual void device_start();
29      virtual void device_config_complete() { m_shortname = "coco_232"; }
3029      virtual DECLARE_READ8_MEMBER(read);
3130      virtual DECLARE_WRITE8_MEMBER(write);
3231private:
trunk/src/mess/machine/midioutport.c
r22095r22096
1111const device_type MIDIOUT_PORT = &device_creator<midiout_port_device>;
1212
1313midiout_port_device::midiout_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
14   : device_t(mconfig, MIDIOUT_PORT, "MIDI Out port", tag, owner, clock),
14   : device_t(mconfig, MIDIOUT_PORT, "MIDI Out port", tag, owner, clock, "midiout_port", __FILE__),
1515      device_serial_port_interface(mconfig, *this),
1616      m_midiout(*this, "midioutimg")
1717{
trunk/src/mess/machine/vcs_wheel.c
r22095r22096
4848//-------------------------------------------------
4949
5050vcs_wheel_device::vcs_wheel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
51   device_t(mconfig, VCS_WHEEL, "Driving Wheel", tag, owner, clock),
51   device_t(mconfig, VCS_WHEEL, "Driving Wheel", tag, owner, clock, "vcs_wheel", __FILE__),
5252   device_vcs_control_port_interface(mconfig, *this),
5353   m_joy(*this, "JOY"),
5454   m_wheel(*this, "WHEEL")
trunk/src/mess/machine/c64_supercpu.c
r22095r22096
120120//-------------------------------------------------
121121
122122c64_supercpu_device::c64_supercpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
123   device_t(mconfig, C64_SUPERCPU, "SuperCPU", tag, owner, clock),
123   device_t(mconfig, C64_SUPERCPU, "SuperCPU", tag, owner, clock, "c64_supercpu", __FILE__),
124124   device_c64_expansion_card_interface(mconfig, *this),
125125   m_maincpu(*this, G65816_TAG),
126126   m_exp(*this, C64_EXPANSION_SLOT_TAG),
trunk/src/mess/machine/a2cffa.c
r22095r22096
7878//  LIVE DEVICE
7979//**************************************************************************
8080
81a2bus_cffa2000_device::a2bus_cffa2000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
82   device_t(mconfig, type, name, tag, owner, clock),
81a2bus_cffa2000_device::a2bus_cffa2000_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) :
82   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
8383   device_a2bus_card_interface(mconfig, *this),
8484   m_ide(*this, CFFA2_IDE_TAG)
8585{
8686}
8787
8888a2bus_cffa2_device::a2bus_cffa2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
89   a2bus_cffa2000_device(mconfig, A2BUS_CFFA2, "CFFA2000 Compact Flash (65C02 firmware, www.dreher.net)", tag, owner, clock),
89   a2bus_cffa2000_device(mconfig, A2BUS_CFFA2, "CFFA2000 Compact Flash (65C02 firmware, www.dreher.net)", tag, owner, clock, "a2cffa2", __FILE__),
9090   device_nvram_interface(mconfig, *this)
9191{
92   m_shortname = "a2cffa2";
9392}
9493
9594a2bus_cffa2_6502_device::a2bus_cffa2_6502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
96   a2bus_cffa2000_device(mconfig, A2BUS_CFFA2, "CFFA2000 Compact Flash (6502 firmware, www.dreher.net)", tag, owner, clock),
95   a2bus_cffa2000_device(mconfig, A2BUS_CFFA2, "CFFA2000 Compact Flash (6502 firmware, www.dreher.net)", tag, owner, clock, "a2cffa02", __FILE__),
9796   device_nvram_interface(mconfig, *this)
9897{
99   m_shortname = "a2cffa02";
10098}
10199
102100//-------------------------------------------------
trunk/src/mess/machine/cpc_rom.c
r22095r22096
4949//**************************************************************************
5050
5151cpc_rom_device::cpc_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
52   device_t(mconfig, CPC_ROM, "ROM Box", tag, owner, clock),
52   device_t(mconfig, CPC_ROM, "ROM Box", tag, owner, clock, "cpc_rom", __FILE__),
5353   device_cpc_expansion_card_interface(mconfig, *this)
5454{
5555}
trunk/src/mess/machine/a2echoii.c
r22095r22096
4646//  LIVE DEVICE
4747//**************************************************************************
4848
49a2bus_echoii_device::a2bus_echoii_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),
49a2bus_echoii_device::a2bus_echoii_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   device_a2bus_card_interface(mconfig, *this),
5252   m_tms(*this, TMS_TAG)
5353{
54   m_shortname = "a2echoii";
5554}
5655
5756a2bus_echoii_device::a2bus_echoii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
58   device_t(mconfig, A2BUS_ECHOII, "Street Electronics Echo II", tag, owner, clock),
57   device_t(mconfig, A2BUS_ECHOII, "Street Electronics Echo II", tag, owner, clock, "a2echoii", __FILE__),
5958   device_a2bus_card_interface(mconfig, *this),
6059   m_tms(*this, TMS_TAG)
6160{
62   m_shortname = "a2echoii";
6361}
6462
6563//-------------------------------------------------
trunk/src/mess/machine/midioutport.h
r22095r22096
2525protected:
2626   virtual void device_start() { }
2727   virtual void device_reset() { }
28   virtual void device_config_complete() { m_shortname = "midiout_port"; }
2928private:
3029   //serial_port_device *m_owner;
3130   required_device<midiout_device> m_midiout;
trunk/src/mess/machine/vic1011.c
r22095r22096
7070//-------------------------------------------------
7171
7272vic1011_device::vic1011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73   : device_t(mconfig, VIC1011, "VIC1011", tag, owner, clock),
73   : device_t(mconfig, VIC1011, "VIC1011", tag, owner, clock, "vic1011", __FILE__),
7474      device_vic20_user_port_interface(mconfig, *this),
7575      m_rs232(*this, RS232_TAG)
7676{
trunk/src/mess/machine/vcs_wheel.h
r22095r22096
3636
3737protected:
3838   // device-level overrides
39   virtual void device_config_complete() { m_shortname = "vcs_wheel"; }
4039   virtual void device_start();
4140
4241   // device_vcs_control_port_interface overrides
trunk/src/mess/machine/c64_simons_basic.c
r22095r22096
2828//-------------------------------------------------
2929
3030c64_simons_basic_cartridge_device::c64_simons_basic_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, C64_SIMONS_BASIC, "Simons' BASIC", tag, owner, clock),
31   device_t(mconfig, C64_SIMONS_BASIC, "Simons' BASIC", tag, owner, clock, "c64_simons_basic", __FILE__),
3232   device_c64_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/vp575.c
r22095r22096
128128//-------------------------------------------------
129129
130130vp575_device::vp575_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
131   device_t(mconfig, VP575, "VP575", tag, owner, clock),
131   device_t(mconfig, VP575, "VP575", tag, owner, clock, "vp575", __FILE__),
132132   device_vip_expansion_card_interface(mconfig, *this)
133133{
134134   for (int i = 0; i < MAX_SLOTS; i++)
trunk/src/mess/machine/c64_supercpu.h
r22095r22096
3939
4040protected:
4141   // device-level overrides
42   virtual void device_config_complete() { m_shortname = "c64_supercpu"; }
4342   virtual void device_start();
4443   virtual void device_reset();
4544
trunk/src/mess/machine/iq151_ms151a.c
r22095r22096
4545//-------------------------------------------------
4646
4747iq151_ms151a_device::iq151_ms151a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
48      : device_t(mconfig, IQ151_MS151A, "IQ151 MS151A", tag, owner, clock),
48      : device_t(mconfig, IQ151_MS151A, "IQ151 MS151A", tag, owner, clock, "iq151_ms151a", __FILE__),
4949      device_iq151cart_interface( mconfig, *this )
5050{
5151}
trunk/src/mess/machine/a2cffa.h
r22095r22096
2424{
2525public:
2626   // construction/destruction
27   a2bus_cffa2000_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
27   a2bus_cffa2000_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   // optional information overrides
3030   virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/machine/cpc_rom.h
r22095r22096
7474   // device-level overrides
7575   virtual void device_start();
7676   virtual void device_reset();
77   virtual void device_config_complete() { m_shortname = "cpc_rom"; }
7877
7978private:
8079   //cpc_expansion_slot_device *m_slot;
trunk/src/mess/machine/a2echoii.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_echoii_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_echoii_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);
2727   a2bus_echoii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2828
2929   // optional information overrides
trunk/src/mess/machine/vic1011.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "vic1011"; }
4241   virtual void device_start();
4342
4443   // device_vic20_user_port_interface overrides
trunk/src/mess/machine/c64_simons_basic.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_simons_basic"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938
trunk/src/mess/machine/c64_easyflash.c
r22095r22096
8282//-------------------------------------------------
8383
8484c64_easyflash_cartridge_device::c64_easyflash_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
85   device_t(mconfig, C64_EASYFLASH, "C64 EasyFlash cartridge", tag, owner, clock),
85   device_t(mconfig, C64_EASYFLASH, "C64 EasyFlash cartridge", tag, owner, clock, "c64_easyflash", __FILE__),
8686   device_c64_expansion_card_interface(mconfig, *this),
8787   m_flash_roml(*this, AM29F040_0_TAG),
8888   m_flash_romh(*this, AM29F040_1_TAG),
trunk/src/mess/machine/vp575.h
r22095r22096
6262
6363protected:
6464   // device-level overrides
65   virtual void device_config_complete() { m_shortname = "vp575"; }
6665   virtual void device_start();
6766
6867   // device_vip_expansion_card_interface overrides
trunk/src/mess/machine/iq151_ms151a.h
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_stop();
30   virtual void device_config_complete() { m_shortname = "iq151_ms151a"; }
3130
3231   // iq151cart_interface overrides
3332   virtual void read(offs_t offset, UINT8 &data);
trunk/src/mess/machine/c64_easy_calc_result.c
r22095r22096
4949//-------------------------------------------------
5050
5151c64_easy_calc_result_cartridge_device::c64_easy_calc_result_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
52   device_t(mconfig, C64_EASY_CALC_RESULT, "C64 Easy Calc Result cartridge", tag, owner, clock),
52   device_t(mconfig, C64_EASY_CALC_RESULT, "C64 Easy Calc Result cartridge", tag, owner, clock, "c64_easy_calc_result", __FILE__),
5353   device_c64_expansion_card_interface(mconfig, *this)
5454{
5555}
trunk/src/mess/machine/c64_easyflash.h
r22095r22096
3838
3939protected:
4040   // device-level overrides
41   virtual void device_config_complete() { m_shortname = "c64_easyflash"; }
4241   virtual void device_start();
4342   virtual void device_reset();
4443
trunk/src/mess/machine/adam_ram.c
r22095r22096
2828//-------------------------------------------------
2929
3030adam_ram_expansion_device::adam_ram_expansion_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, ADAM_RAM, "Adam 64KB RAM expansion", tag, owner, clock),
31   : device_t(mconfig, ADAM_RAM, "Adam 64KB RAM expansion", tag, owner, clock, "adam_ram", __FILE__),
3232      device_adam_expansion_slot_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/c64_easy_calc_result.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "c64_easy_calc_result"; }
3938
4039   // device_c64_expansion_card_interface overrides
4140   virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);
trunk/src/mess/machine/c8280.c
r22095r22096
386386//-------------------------------------------------
387387
388388c8280_device::c8280_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
389   : device_t(mconfig, C8280, "C8280", tag, owner, clock),
389   : device_t(mconfig, C8280, "C8280", tag, owner, clock, "c8280", __FILE__),
390390      device_ieee488_interface(mconfig, *this),
391391      m_maincpu(*this, M6502_DOS_TAG),
392392      m_fdccpu(*this, M6502_FDC_TAG),
trunk/src/mess/machine/lux21046.c
r22095r22096
379379//-------------------------------------------------
380380
381381luxor_55_21046_device::luxor_55_21046_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
382   : device_t(mconfig, LUXOR_55_21046, "Luxor 55 21046", tag, owner, clock),
382   : device_t(mconfig, LUXOR_55_21046, "Luxor 55 21046", tag, owner, clock, "lux21046", __FILE__),
383383      device_abcbus_card_interface(mconfig, *this),
384384      m_maincpu(*this, Z80_TAG),
385385      m_dma(*this, Z80DMA_TAG),
trunk/src/mess/machine/adam_ram.h
r22095r22096
3232
3333protected:
3434   // device-level overrides
35   virtual void device_config_complete() { m_shortname = "adam_ram"; }
3635   virtual void device_start();
3736
3837   // device_adam_expansion_slot_card_interface overrides
trunk/src/mess/machine/c8280.h
r22095r22096
5252
5353protected:
5454   // device-level overrides
55   virtual void device_config_complete() { m_shortname = "c8280"; }
5655   virtual void device_start();
5756   virtual void device_reset();
5857
trunk/src/mess/machine/lux21046.h
r22095r22096
7676
7777protected:
7878   // device-level overrides
79   virtual void device_config_complete() { m_shortname = "lux21046"; }
8079   virtual void device_start();
8180   virtual void device_reset();
8281
trunk/src/mess/machine/adamlink.c
r22095r22096
2828//-------------------------------------------------
2929
3030adamlink_device::adamlink_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
31   : device_t(mconfig, ADAMLINK, "AdamLink modem", tag, owner, clock),
31   : device_t(mconfig, ADAMLINK, "AdamLink modem", tag, owner, clock, "adamlink", __FILE__),
3232      device_adam_expansion_slot_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/e01.c
r22095r22096
8181const device_type E01S = &device_creator<e01s_device>;
8282
8383e01s_device::e01s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
84   :e01_device(mconfig, E01S, "Acorn FileStore E01S", tag, owner, clock) { m_variant = TYPE_E01S; }
84   :e01_device(mconfig, E01S, "Acorn FileStore E01S", tag, owner, clock, "e01s", __FILE__) { m_variant = TYPE_E01S; }
8585
8686
8787//-------------------------------------------------
r22095r22096
411411//-------------------------------------------------
412412
413413e01_device::e01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
414   : device_t(mconfig, E01, "Acorn FileStore E01", tag, owner, clock),
414   : device_t(mconfig, E01, "Acorn FileStore E01", tag, owner, clock, "e01" , __FILE__),
415415      device_econet_interface(mconfig, *this),
416416      m_maincpu(*this, R65C102_TAG),
417417      m_fdc(*this, WD2793_TAG),
r22095r22096
435435}
436436
437437
438e01_device::e01_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
439   : device_t(mconfig, type, name, tag, owner, clock),
438e01_device::e01_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)
439   : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
440440      device_econet_interface(mconfig, *this),
441441      m_maincpu(*this, R65C102_TAG),
442442      m_fdc(*this, WD2793_TAG),
r22095r22096
459459{
460460}
461461
462
463462//-------------------------------------------------
464//  device_config_complete - perform any
465//  operations now that the configuration is
466//  complete
467//-------------------------------------------------
468
469void e01_device::device_config_complete()
470{
471   switch (m_variant)
472   {
473   default:
474   case TYPE_E01:
475      m_shortname = "e01";
476      break;
477
478   case TYPE_E01S:
479      m_shortname = "e01s";
480      break;
481   }
482}
483
484
485//-------------------------------------------------
486463//  device_start - device-specific startup
487464//-------------------------------------------------
488465
trunk/src/mess/machine/adamlink.h
r22095r22096
3232
3333protected:
3434   // device-level overrides
35   virtual void device_config_complete() { m_shortname = "adamlink"; }
3635   virtual void device_start();
3736
3837   // device_adam_expansion_slot_card_interface overrides
trunk/src/mess/machine/isa_ibm_mfc.c
r22095r22096
492492//-------------------------------------------------
493493
494494isa8_ibm_mfc_device::isa8_ibm_mfc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
495      device_t(mconfig, ISA8_IBM_MFC, "IBM PC Music Feature Card", tag, owner, clock),
495      device_t(mconfig, ISA8_IBM_MFC, "IBM PC Music Feature Card", tag, owner, clock, "ibm_mfc", __FILE__),
496496      device_isa8_card_interface(mconfig, *this),
497497      m_cpu(*this, "ibm_mfc"),
498498      m_ym2151(*this, "ym2151"),
trunk/src/mess/machine/z88_ram.c
r22095r22096
3131//-------------------------------------------------
3232
3333z88_32k_ram_device::z88_32k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
34      : device_t(mconfig, Z88_32K_RAM, "Z88 32KB RAM", tag, owner, clock),
34      : device_t(mconfig, Z88_32K_RAM, "Z88 32KB RAM", tag, owner, clock, "z88_32k_ram", __FILE__),
3535      device_z88cart_interface( mconfig, *this )
3636{
3737}
3838
39z88_32k_ram_device::z88_32k_ram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
40      : device_t(mconfig, type, name, tag, owner, clock),
39z88_32k_ram_device::z88_32k_ram_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)
40      : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
4141      device_z88cart_interface( mconfig, *this )
4242{
4343}
r22095r22096
4747//-------------------------------------------------
4848
4949z88_128k_ram_device::z88_128k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
50      : z88_32k_ram_device(mconfig, Z88_128K_RAM, "Z88 128KB RAM", tag, owner, clock)
50      : z88_32k_ram_device(mconfig, Z88_128K_RAM, "Z88 128KB RAM", tag, owner, clock, "z88_128k_ram", __FILE__)
5151{
5252}
5353
r22095r22096
5656//-------------------------------------------------
5757
5858z88_512k_ram_device::z88_512k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
59      : z88_32k_ram_device(mconfig, Z88_512K_RAM, "Z88 512KB RAM", tag, owner, clock)
59      : z88_32k_ram_device(mconfig, Z88_512K_RAM, "Z88 512KB RAM", tag, owner, clock, "z88_512k_ram", __FILE__)
6060{
6161}
6262
r22095r22096
6565//-------------------------------------------------
6666
6767z88_1024k_ram_device::z88_1024k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
68      : z88_32k_ram_device(mconfig, Z88_1024K_RAM, "Z88 1024KB RAM", tag, owner, clock)
68      : z88_32k_ram_device(mconfig, Z88_1024K_RAM, "Z88 1024KB RAM", tag, owner, clock, "z88_1024k_ram", __FILE__)
6969{
7070}
7171
trunk/src/mess/machine/e01.h
r22095r22096
2828{
2929public:
3030   // construction/destruction
31   e01_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
31   e01_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);
3232   e01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
3333
3434   enum
r22095r22096
6969
7070protected:
7171   // device-level overrides
72   virtual void device_config_complete();
7372   virtual void device_start();
7473   virtual void device_reset();
7574   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/abc_dos.c
r22095r22096
106106//-------------------------------------------------
107107
108108abc_dos_device::abc_dos_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
109   : device_t(mconfig, ABC_DOS, "ABC DOS", tag, owner, clock),
109   : device_t(mconfig, ABC_DOS, "ABC DOS", tag, owner, clock, "abc_dos", __FILE__),
110110      device_abcbus_card_interface(mconfig, *this),
111111      m_rom(*this, "dos")
112112{
trunk/src/mess/machine/s100_mm65k16s.c
r22095r22096
203203//-------------------------------------------------
204204
205205s100_mm65k16s_device::s100_mm65k16s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
206   device_t(mconfig, S100_MM65K16S, "MM65K16S", tag, owner, clock),
206   device_t(mconfig, S100_MM65K16S, "MM65K16S", tag, owner, clock, "mm65k16s", __FILE__),
207207   device_s100_card_interface(mconfig, *this),
208208   m_ram(*this, "ram")
209209{
trunk/src/mess/machine/psxanalog.c
r22095r22096
33const device_type PSX_ANALOG_JOYSTICK = &device_creator<psx_analog_joystick_device>;
44const device_type PSX_DUALSHOCK = &device_creator<psx_dualshock_device>;
55
6psx_analog_controller_device::psx_analog_controller_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock) :
7      device_t(mconfig, type, name, tag, owner, clock),
6psx_analog_controller_device::psx_analog_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) :
7      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
88      device_psx_controller_interface(mconfig, *this),
99      m_pad0(*this, "PSXPAD0"),
1010      m_pad1(*this, "PSXPAD1"),
r22095r22096
1515{
1616}
1717
18psx_dualshock_device::psx_dualshock_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
19      psx_analog_controller_device(mconfig, PSX_DUALSHOCK, "Playstation Dualshock Pad", tag, owner, clock)
18psx_dualshock_device::psx_dualshock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
19      psx_analog_controller_device(mconfig, PSX_DUALSHOCK, "Playstation Dualshock Pad", tag, owner, clock, "psx_dualshock_pad", __FILE__)
2020{
2121   m_type = DUALSHOCK;
2222}
2323
24psx_analog_joystick_device::psx_analog_joystick_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
25      psx_analog_controller_device(mconfig, PSX_ANALOG_JOYSTICK, "Playstation Analog Joystick", tag, owner, clock)
24psx_analog_joystick_device::psx_analog_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
25      psx_analog_controller_device(mconfig, PSX_ANALOG_JOYSTICK, "Playstation Analog Joystick", tag, owner, clock, "psx_analog_joystick", __FILE__)
2626{
2727   m_type = JOYSTICK;
2828}
trunk/src/mess/machine/isa_ibm_mfc.h
r22095r22096
3535      // Optional information overrides
3636      virtual machine_config_constructor  device_mconfig_additions() const;
3737      virtual ioport_constructor          device_input_ports() const;
38      virtual void device_config_complete() { m_shortname = "ibm_mfc"; }
3938
4039      DECLARE_READ8_MEMBER( ppi0_i_a );
4140      DECLARE_WRITE8_MEMBER( ppi0_o_b );
trunk/src/mess/machine/z88_ram.h
r22095r22096
1818public:
1919   // construction/destruction
2020   z88_32k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
21   z88_32k_ram_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21   z88_32k_ram_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);
2222
2323protected:
2424   // device-level overrides
2525   virtual void device_start();
26   virtual void device_config_complete() { m_shortname = "z88_32k_ram"; }
2726
2827   // z88cart_interface overrides
2928   virtual DECLARE_READ8_MEMBER(read);
r22095r22096
4544   z88_128k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
4645
4746protected:
48   // device-level overrides
49   virtual void device_config_complete() { m_shortname = "z88_128k_ram"; }
50
5147   // z88cart_interface overrides
5248   virtual UINT32 get_cart_size() { return 0x20000; }
5349};
r22095r22096
6157   z88_512k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
6258
6359protected:
64   // device-level overrides
65   virtual void device_config_complete() { m_shortname = "z88_512k_ram"; }
66
6760   // z88cart_interface overrides
6861   virtual UINT32 get_cart_size() { return 0x80000; }
6962};
r22095r22096
7770   z88_1024k_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
7871
7972protected:
80   // device-level overrides
81   virtual void device_config_complete() { m_shortname = "z88_1024k_ram"; }
82
8373   // z88cart_interface overrides
8474   virtual UINT32 get_cart_size() { return 0x100000; }
8575};
trunk/src/mess/machine/abc_dos.h
r22095r22096
3737protected:
3838   // device-level overrides
3939   virtual void device_start();
40   virtual void device_config_complete() { m_shortname = "abc_dos"; }
4140
4241   // device_abcbus_interface overrides
4342   virtual void abcbus_cs(UINT8 data) { };
trunk/src/mess/machine/s100_mm65k16s.h
r22095r22096
3838   // device-level overrides
3939   virtual void device_start();
4040   virtual void device_reset();
41   virtual void device_config_complete() { m_shortname = "mm65k16s"; }
4241
4342   // device_s100_card_interface overrides
4443   virtual UINT8 s100_smemr_r(address_space &space, offs_t offset);
trunk/src/mess/machine/psxanalog.h
r22095r22096
1010                              public device_psx_controller_interface
1111{
1212public:
13   psx_analog_controller_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock);
13   psx_analog_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);
1414
1515   virtual ioport_constructor device_input_ports() const;
1616   DECLARE_INPUT_CHANGED_MEMBER(change_mode);
r22095r22096
4444{
4545public:
4646   psx_dualshock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
47protected:
48   virtual void device_config_complete() { m_shortname = "psx_dualshock_pad"; }
4947};
5048
5149class psx_analog_joystick_device : public psx_analog_controller_device
5250{
5351public:
5452   psx_analog_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
55protected:
56   virtual void device_config_complete() { m_shortname = "psx_analog_joystick"; }
5753};
5854
5955#endif /* PSXANALOG_H_ */
trunk/src/mess/machine/comx_ram.c
r22095r22096
3535//-------------------------------------------------
3636
3737comx_ram_device::comx_ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
38   device_t(mconfig, COMX_RAM, "COMX-35 RAM Card", tag, owner, clock),
38   device_t(mconfig, COMX_RAM, "COMX-35 RAM Card", tag, owner, clock, "comx_ram", __FILE__),
3939   device_comx_expansion_card_interface(mconfig, *this),
4040   m_ram(*this, "ram")
4141{
trunk/src/mess/machine/comx_ram.h
r22095r22096
3535   // device-level overrides
3636   virtual void device_start();
3737   virtual void device_reset();
38   virtual void device_config_complete() { m_shortname = "comx_ram"; }
3938
4039   // device_comx_expansion_card_interface overrides
4140   virtual UINT8 comx_mrd_r(address_space &space, offs_t offset, int *extrom);
trunk/src/mess/machine/beta.c
r22095r22096
329329const device_type BETA_DISK = &device_creator<beta_disk_device>;
330330
331331beta_disk_device::beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
332   : device_t(mconfig, BETA_DISK, "Beta Disk Interface", tag, owner, clock)
332   : device_t(mconfig, BETA_DISK, "Beta Disk Interface", tag, owner, clock, "betadisk", __FILE__)
333333{
334334   m_token = global_alloc_clear(beta_disk_state);
335335}
336336
337337//-------------------------------------------------
338//  device_config_complete - perform any
339//  operations now that the configuration is
340//  complete
341//-------------------------------------------------
342
343void beta_disk_device::device_config_complete()
344{
345   m_shortname = "betadisk";
346}
347
348//-------------------------------------------------
349338//  device_start - device-specific startup
350339//-------------------------------------------------
351340
trunk/src/mess/machine/tandy2kb.c
r22095r22096
232232//-------------------------------------------------
233233
234234tandy2k_keyboard_device::tandy2k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
235   : device_t(mconfig, TANDY2K_KEYBOARD, "Tandy 2000 Keyboard", tag, owner, clock),
235   : device_t(mconfig, TANDY2K_KEYBOARD, "Tandy 2000 Keyboard", tag, owner, clock, "tandy2kb", __FILE__),
236236      m_maincpu(*this, I8048_TAG),
237237      m_y0(*this, "Y0"),
238238      m_y1(*this, "Y1"),
r22095r22096
260260
261261void tandy2k_keyboard_device::device_config_complete()
262262{
263   m_shortname = "tandy2kb";
264
265263   // inherit a copy of the static data
266264   const tandy2k_keyboard_interface *intf = reinterpret_cast<const tandy2k_keyboard_interface *>(static_config());
267265   if (intf != NULL)
trunk/src/mess/machine/beta.h
r22095r22096
2828   void *token() const { assert(m_token != NULL); return m_token; }
2929protected:
3030   // device-level overrides
31   virtual void device_config_complete();
3231   virtual void device_start();
3332   virtual void device_reset();
3433   virtual const rom_entry *device_rom_region() const;
trunk/src/mess/machine/c64_vw64.c
r22095r22096
6868//-------------------------------------------------
6969
7070c64_vizawrite_cartridge_device::c64_vizawrite_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
71   device_t(mconfig, C64_VW64, "VizaWrite 64", tag, owner, clock),
71   device_t(mconfig, C64_VW64, "VizaWrite 64", tag, owner, clock, "c64_vizawrite", __FILE__),
7272   device_c64_expansion_card_interface(mconfig, *this)
7373{
7474}
trunk/src/mess/machine/vic1110.c
r22095r22096
6767//-------------------------------------------------
6868
6969vic1110_device::vic1110_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
70   : device_t(mconfig, VIC1110, "VIC1110", tag, owner, clock),
70   : device_t(mconfig, VIC1110, "VIC1110", tag, owner, clock, "vic1110", __FILE__),
7171      device_vic20_expansion_card_interface(mconfig, *this),
7272      m_sw(*this, "SW")
7373{
trunk/src/mess/machine/c64_vw64.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "c64_vizawrite"; }
3736   virtual void device_start();
3837   virtual void device_reset();
3938   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/abc_uni800.c
r22095r22096
7070//-------------------------------------------------
7171
7272abc_uni800_device::abc_uni800_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
73   : device_t(mconfig, ABC_UNI800, "UNI-800", tag, owner, clock),
73   : device_t(mconfig, ABC_UNI800, "UNI-800", tag, owner, clock, "uni800", __FILE__),
7474      device_abcbus_card_interface(mconfig, *this)
7575{
7676}
trunk/src/mess/machine/vic1110.h
r22095r22096
3737protected:
3838   // device-level overrides
3939   virtual void device_start();
40   virtual void device_config_complete() { m_shortname = "vic1110"; }
4140
4241   // device_vic20_expansion_card_interface overrides
4342   virtual UINT8 vic20_cd_r(address_space &space, offs_t offset, UINT8 data, int ram1, int ram2, int ram3, int blk1, int blk2, int blk3, int blk5, int io2, int io3);
trunk/src/mess/machine/abc_uni800.h
r22095r22096
2929   // device-level overrides
3030   virtual void device_start();
3131   virtual void device_reset();
32   virtual void device_config_complete() { m_shortname = "uni800"; }
3332
3433   // device_abcbus_interface overrides
3534   virtual void abcbus_cs(UINT8 data);
trunk/src/mess/machine/a2eext80col.c
r22095r22096
2626//**************************************************************************
2727
2828a2eaux_ext80col_device::a2eaux_ext80col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
29      device_t(mconfig, A2EAUX_EXT80COL, "Apple IIe Extended 80-Column Card", tag, owner, clock),
29      device_t(mconfig, A2EAUX_EXT80COL, "Apple IIe Extended 80-Column Card", tag, owner, clock, "a2eext80", __FILE__),
3030      device_a2eauxslot_card_interface(mconfig, *this)
3131{
32   m_shortname = "a2eext80";
3332}
3433
35a2eaux_ext80col_device::a2eaux_ext80col_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
36      device_t(mconfig, type, name, tag, owner, clock),
34a2eaux_ext80col_device::a2eaux_ext80col_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) :
35      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
3736      device_a2eauxslot_card_interface(mconfig, *this)
3837{
39   m_shortname = "a2eext80";
4038}
4139
4240//-------------------------------------------------
trunk/src/mess/machine/c1551.c
r22095r22096
430430//-------------------------------------------------
431431
432432c1551_device::c1551_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
433   : device_t(mconfig, C1551, "C1551", tag, owner, clock),
433   : device_t(mconfig, C1551, "C1551", tag, owner, clock, "c1551", __FILE__),
434434      device_plus4_expansion_card_interface(mconfig, *this),
435435      m_maincpu(*this, M6510T_TAG),
436436      m_tpi0(*this, M6523_0_TAG),
trunk/src/mess/machine/a2eext80col.h
r22095r22096
2323public:
2424   // construction/destruction
2525   a2eaux_ext80col_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_ext80col_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2eaux_ext80col_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);
2727
2828protected:
2929   virtual void device_start();
trunk/src/mess/machine/c1551.h
r22095r22096
6565
6666protected:
6767   // device-level overrides
68   virtual void device_config_complete() { m_shortname = "c1551"; }
6968   virtual void device_start();
7069   virtual void device_reset();
7170   virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
trunk/src/mess/machine/abc99.c
r22095r22096
109109      memset(&m_out_clock_cb, 0, sizeof(m_out_clock_cb));
110110      memset(&m_out_keydown_cb, 0, sizeof(m_out_keydown_cb));
111111   }
112
113   m_shortname = "abc99";
114112}
115113
116114
r22095r22096
523521//-------------------------------------------------
524522
525523abc99_device::abc99_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
526   : device_t(mconfig, ABC99, "Luxor ABC 99", tag, owner, clock),
524   : device_t(mconfig, ABC99, "Luxor ABC 99", tag, owner, clock, "abc99", __FILE__),
527525      m_maincpu(*this, I8035_Z2_TAG),
528526      m_mousecpu(*this, I8035_Z5_TAG),
529527      m_speaker(*this, SPEAKER_TAG),
trunk/src/mess/machine/a2thunderclock.c
r22095r22096
8080//  LIVE DEVICE
8181//**************************************************************************
8282
83a2bus_thunderclock_device::a2bus_thunderclock_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
84   device_t(mconfig, type, name, tag, owner, clock),
83a2bus_thunderclock_device::a2bus_thunderclock_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) :
84   device_t(mconfig, type, name, tag, owner, clock, shortname, source),
8585   device_a2bus_card_interface(mconfig, *this),
8686   m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG)
8787{
88   m_shortname = "a2thunpl";
8988}
9089
9190a2bus_thunderclock_device::a2bus_thunderclock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
92   device_t(mconfig, A2BUS_THUNDERCLOCK, "ThunderWare ThunderClock Plus", tag, owner, clock),
91   device_t(mconfig, A2BUS_THUNDERCLOCK, "ThunderWare ThunderClock Plus", tag, owner, clock, "a2thunpl", __FILE__),
9392   device_a2bus_card_interface(mconfig, *this),
9493   m_upd1990ac(*this, THUNDERCLOCK_UPD1990_TAG)
9594{
96   m_shortname = "a2thunpl";
9795}
9896
9997//-------------------------------------------------
trunk/src/mess/machine/c64_mach5.c
r22095r22096
5353//-------------------------------------------------
5454
5555c64_mach5_cartridge_device::c64_mach5_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
56   device_t(mconfig, C64_MACH5, "C64 MACH5 cartridge", tag, owner, clock),
56   device_t(mconfig, C64_MACH5, "C64 MACH5 cartridge", tag, owner, clock, "c64_mach5", __FILE__),
5757   device_c64_expansion_card_interface(mconfig, *this),
5858   m_s1(*this, "S1")
5959{
trunk/src/mess/machine/vb_money_minder.c
r22095r22096
2828//-------------------------------------------------
2929
3030videobrain_money_minder_cartridge_device::videobrain_money_minder_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
31   device_t(mconfig, VB_MONEY_MINDER, "VideoBrain Money Minder cartridge", tag, owner, clock),
31   device_t(mconfig, VB_MONEY_MINDER, "VideoBrain Money Minder cartridge", tag, owner, clock, "vb_money_minder", __FILE__),
3232   device_videobrain_expansion_card_interface(mconfig, *this)
3333{
3434}
trunk/src/mess/machine/a2thunderclock.h
r22095r22096
2323{
2424public:
2525   // construction/destruction
26   a2bus_thunderclock_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
26   a2bus_thunderclock_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);
2727   a2bus_thunderclock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
2828
2929   // optional information overrides
trunk/src/mess/machine/sonydriv.c
r22095r22096
531531//-------------------------------------------------
532532
533533sonydriv_floppy_image_device::sonydriv_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
534   : legacy_floppy_image_device(mconfig, FLOPPY_SONY, "Floppy Disk [Sony]", tag, owner, clock)
534   : legacy_floppy_image_device(mconfig, FLOPPY_SONY, "Floppy Disk [Sony]", tag, owner, clock, "floppy_sonny", __FILE__)
535535{
536536}
537537
trunk/src/mess/machine/c64_mach5.h
r22095r22096
3535
3636protected:
3737   // device-level overrides
38   virtual void device_config_complete() { m_shortname = "c64_mach5"; }
3938   virtual void device_start();
4039   virtual void device_reset();
4140
trunk/src/mess/machine/vb_money_minder.h
r22095r22096
3333
3434protected:
3535   // device-level overrides
36   virtual void device_config_complete() { m_shortname = "vb_money_minder"; }
3736   virtual void device_start();
3837
3938   // device_videobrain_expansion_card_interface overrides
trunk/src/mess/machine/vp585.c
r22095r22096
8181//-------------------------------------------------
8282
8383vp585_device::vp585_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
84   device_t(mconfig, VP585, "VP585", tag, owner, clock),
84   device_t(mconfig, VP585, "VP585", tag, owner, clock, "vp585", __FILE__),
8585   device_vip_expansion_card_interface(mconfig, *this),
8686   m_j1(*this, "J1"),
8787   m_j2(*this, "J2")
trunk/src/mess/video/isa_svga_cirrus.c
r22095r22096
5858//-------------------------------------------------
5959
6060isa8_svga_cirrus_device::isa8_svga_cirrus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
61      device_t(mconfig, ISA8_SVGA_CIRRUS, "Diamond Multimedia Graphics Card", tag, owner, clock),
61      device_t(mconfig, ISA8_SVGA_CIRRUS, "Diamond Multimedia Graphics Card", tag, owner, clock, "dm_clgd5430", __FILE__),
6262      device_isa8_card_interface(mconfig, *this)
6363{
64   m_shortname = "dm_clgd5430";
6564}
6665
6766//-------------------------------------------------
trunk/src/mess/video/isa_cga.c
r22095r22096
677677//-------------------------------------------------
678678
679679isa8_cga_device::isa8_cga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
680      device_t(mconfig, ISA8_CGA, "IBM Color/Graphics Monitor Adapter", tag, owner, clock),
680      device_t(mconfig, ISA8_CGA, "IBM Color/Graphics Monitor Adapter", tag, owner, clock, "cga", __FILE__),
681681      device_isa8_card_interface(mconfig, *this),
682682      m_cga_config(*this, "cga_config"),
683683      m_vram_size( 0x4000 )
r22095r22096
688688   m_start_offset = 0;
689689}
690690
691isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
692      device_t(mconfig, type, name, tag, owner, clock),
691isa8_cga_device::isa8_cga_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) :
692      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
693693      device_isa8_card_interface(mconfig, *this),
694694      m_cga_config(*this, "cga_config"),
695695      m_vram_size( 0x4000 )
r22095r22096
770770//-------------------------------------------------
771771
772772isa8_cga_mc1502_device::isa8_cga_mc1502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
773      isa8_cga_device( mconfig, ISA8_CGA_MC1502, "ISA8_CGA_MC1502", tag, owner, clock )
773      isa8_cga_device( mconfig, ISA8_CGA_MC1502, "ISA8_CGA_MC1502", tag, owner, clock, "cga_mc1502", __FILE__)
774774{
775775   m_vram_size = 0x8000;
776776}
r22095r22096
823823//-------------------------------------------------
824824
825825isa8_cga_poisk1_device::isa8_cga_poisk1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
826      isa8_cga_device( mconfig, ISA8_CGA_POISK1, "ISA8_CGA_POISK1", tag, owner, clock )
826      isa8_cga_device( mconfig, ISA8_CGA_POISK1, "ISA8_CGA_POISK1", tag, owner, clock, "cga_poisk1", __FILE__)
827827{
828828   m_chr_gen_offset[0] = 0x0000;
829829   m_font_selection_mask = 0;
r22095r22096
851851//-------------------------------------------------
852852
853853isa8_cga_poisk2_device::isa8_cga_poisk2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
854      isa8_cga_device( mconfig, ISA8_CGA_POISK2, "ISA8_CGA_POISK2", tag, owner, clock )
854      isa8_cga_device( mconfig, ISA8_CGA_POISK2, "ISA8_CGA_POISK2", tag, owner, clock, "cga_poisk2", __FILE__)
855855{
856856   m_chr_gen_offset[0] = 0x0000;
857857   m_chr_gen_offset[1] = 0x0800;
r22095r22096
880880//-------------------------------------------------
881881
882882isa8_cga_superimpose_device::isa8_cga_superimpose_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
883      isa8_cga_device( mconfig, ISA8_CGA_SUPERIMPOSE, "ISA8_CGA_SUPERIMPOSE", tag, owner, clock )
883      isa8_cga_device( mconfig, ISA8_CGA_SUPERIMPOSE, "ISA8_CGA_SUPERIMPOSE", tag, owner, clock, "cga_superimpose", __FILE__)
884884{
885885   m_superimpose = true;
886886}
r22095r22096
19881988//-------------------------------------------------
19891989
19901990isa8_cga_pc1512_device::isa8_cga_pc1512_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
1991      isa8_cga_device( mconfig, ISA8_CGA_PC1512, "ISA8_CGA_PC1512", tag, owner, clock )
1991      isa8_cga_device( mconfig, ISA8_CGA_PC1512, "ISA8_CGA_PC1512", tag, owner, clock, "cga_pc1512", __FILE__)
19921992{
19931993   m_vram_size = 0x10000;
19941994   m_chr_gen_offset[0] = 0x0000;
r22095r22096
21172117//-------------------------------------------------
21182118
21192119isa8_wyse700_device::isa8_wyse700_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
2120      isa8_cga_device( mconfig, ISA8_WYSE700, "Wyse 700", tag, owner, clock )
2120      isa8_cga_device( mconfig, ISA8_WYSE700, "Wyse 700", tag, owner, clock, "wyse700", __FILE__)
21212121{
21222122   m_vram_size = 0x20000;
21232123   m_start_offset = 0x18000;
trunk/src/mess/video/isa_ega.c
r22095r22096
565565//-------------------------------------------------
566566
567567isa8_ega_device::isa8_ega_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
568      device_t(mconfig, ISA8_EGA, "IBM Enhanced Graphics Adapter", tag, owner, clock),
568      device_t(mconfig, ISA8_EGA, "IBM Enhanced Graphics Adapter", tag, owner, clock, "ega", __FILE__),
569569      device_isa8_card_interface(mconfig, *this),
570570      m_misc_output(0)
571571{
572   m_shortname = "ega";
573572}
574573
575isa8_ega_device::isa8_ega_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
576      device_t(mconfig, type, name, tag, owner, clock),
574isa8_ega_device::isa8_ega_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) :
575      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
577576      device_isa8_card_interface(mconfig, *this),
578577      m_misc_output(0)
579578{
trunk/src/mess/video/isa_cga.h
r22095r22096
2626public:
2727   // construction/destruction
2828   isa8_cga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
29   isa8_cga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
29   isa8_cga_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);
3030
3131   // optional information overrides
3232   virtual machine_config_constructor device_mconfig_additions() const;
r22095r22096
3939   // device-level overrides
4040   virtual void device_start();
4141   virtual void device_reset();
42   virtual void device_config_complete() { m_shortname = "cga"; }
4342public:
4443   void mode_control_w(UINT8 data);
4544   void set_palette_luts();
r22095r22096
8786public:
8887   // construction/destruction
8988   isa8_cga_superimpose_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
90   virtual void device_config_complete() { m_shortname = "cga_superimpose"; }
9189};
9290
9391// device type definition
r22095r22096
104102   isa8_cga_mc1502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
105103   // optional information overrides
106104   virtual const rom_entry *device_rom_region() const;
107   virtual void device_config_complete() { m_shortname = "cga_mc1502"; }
108105};
109106
110107// device type definition
r22095r22096
121118   isa8_cga_poisk1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
122119   // optional information overrides
123120   virtual const rom_entry *device_rom_region() const;
124   virtual void device_config_complete() { m_shortname = "cga_poisk1"; }
125121};
126122
127123// device type definition
r22095r22096
138134   isa8_cga_poisk2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
139135   // optional information overrides
140136   virtual const rom_entry *device_rom_region() const;
141   virtual void device_config_complete() { m_shortname = "cga_poisk2"; }
142137};
143138
144139// device type definition
r22095r22096
156151   // optional information overrides
157152   virtual ioport_constructor device_input_ports() const;
158153   virtual const rom_entry *device_rom_region() const;
159   virtual void device_config_complete() { m_shortname = "cga_pc1512"; }
160154
161155protected:
162156   // device-level overrides
r22095r22096
195189   isa8_wyse700_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
196190   // optional information overrides
197191   virtual const rom_entry *device_rom_region() const;
198   virtual void device_config_complete() { m_shortname = "wyse700"; }
199192
200193protected:
201194   // device-level overrides
trunk/src/mess/video/isa_ega.h
r22095r22096
2020public:
2121      // construction/destruction
2222      isa8_ega_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
23      isa8_ega_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
23      isa8_ega_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);
2424
2525      // optional information overrides
2626      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_spec8.c
r22095r22096
6666//-------------------------------------------------
6767
6868nubus_spec8s3_device::nubus_spec8s3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
69      device_t(mconfig, NUBUS_SPEC8S3, "SuperMac Spectrum/8 Series III video card", tag, owner, clock),
69      device_t(mconfig, NUBUS_SPEC8S3, "SuperMac Spectrum/8 Series III video card", tag, owner, clock, "nb_sp8s3", __FILE__),
7070      device_nubus_card_interface(mconfig, *this)
7171{
72   m_shortname = "nb_sp8s3";
7372}
7473
75nubus_spec8s3_device::nubus_spec8s3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
76      device_t(mconfig, type, name, tag, owner, clock),
74nubus_spec8s3_device::nubus_spec8s3_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) :
75      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7776      device_nubus_card_interface(mconfig, *this)
7877{
79   m_shortname = "nb_sp8s3";
8078}
8179
8280//-------------------------------------------------
trunk/src/mess/video/nubus_spec8.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_spec8s3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_spec8s3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_spec8s3_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/pds30_sigmalview.c
r22095r22096
6060//-------------------------------------------------
6161
6262nubus_lview_device::nubus_lview_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
63      device_t(mconfig, PDS030_LVIEW, "Sigma Designs L-View", tag, owner, clock),
63      device_t(mconfig, PDS030_LVIEW, "Sigma Designs L-View", tag, owner, clock, "pd3_lviw", __FILE__),
6464      device_nubus_card_interface(mconfig, *this)
6565{
66   m_shortname = "pd3_lviw";
6766}
6867
69nubus_lview_device::nubus_lview_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
70      device_t(mconfig, type, name, tag, owner, clock),
68nubus_lview_device::nubus_lview_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) :
69      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7170      device_nubus_card_interface(mconfig, *this)
7271{
73   m_shortname = "pd3_lviw";
7472}
7573
7674//-------------------------------------------------
trunk/src/mess/video/pds30_sigmalview.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_lview_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_lview_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_lview_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/isa_svga_s3.c
r22095r22096
5959//-------------------------------------------------
6060
6161isa16_svga_s3_device::isa16_svga_s3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
62      device_t(mconfig, ISA16_SVGA_S3, "SVGA S3 Graphics Card", tag, owner, clock),
62      device_t(mconfig, ISA16_SVGA_S3, "SVGA S3 Graphics Card", tag, owner, clock, "s3_764", __FILE__),
6363      device_isa16_card_interface(mconfig, *this)
6464{
65   m_shortname = "s3_764";
6665}
6766
6867//-------------------------------------------------
trunk/src/mess/video/pds30_procolor816.c
r22095r22096
6666//-------------------------------------------------
6767
6868nubus_procolor816_device::nubus_procolor816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
69      device_t(mconfig, PDS030_PROCOLOR816, "Lapis ProColor Server 8*16", tag, owner, clock),
69      device_t(mconfig, PDS030_PROCOLOR816, "Lapis ProColor Server 8*16", tag, owner, clock, "pd3_pc16", __FILE__),
7070      device_nubus_card_interface(mconfig, *this)
7171{
72   m_shortname = "pd3_pc16";
7372}
7473
75nubus_procolor816_device::nubus_procolor816_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
76      device_t(mconfig, type, name, tag, owner, clock),
74nubus_procolor816_device::nubus_procolor816_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) :
75      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7776      device_nubus_card_interface(mconfig, *this)
7877{
79   m_shortname = "pd3_pc16";
8078}
8179
8280//-------------------------------------------------
trunk/src/mess/video/pds30_procolor816.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_procolor816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_procolor816_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_procolor816_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_m2video.c
r22095r22096
6565//-------------------------------------------------
6666
6767nubus_m2video_device::nubus_m2video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
68      device_t(mconfig, NUBUS_M2VIDEO, "Macintosh II Video Card", tag, owner, clock),
68      device_t(mconfig, NUBUS_M2VIDEO, "Macintosh II Video Card", tag, owner, clock, "nb_m2vc", __FILE__),
6969      device_nubus_card_interface(mconfig, *this)
7070{
71   m_shortname = "nb_m2vc";
7271}
7372
74nubus_m2video_device::nubus_m2video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
75      device_t(mconfig, type, name, tag, owner, clock),
73nubus_m2video_device::nubus_m2video_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) :
74      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7675      device_nubus_card_interface(mconfig, *this)
7776{
78   m_shortname = "nb_m2vc";
7977}
8078
8179//-------------------------------------------------
trunk/src/mess/video/nubus_m2video.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_m2video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_m2video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_m2video_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_wsportrait.c
r22095r22096
6767//-------------------------------------------------
6868
6969nubus_wsportrait_device::nubus_wsportrait_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
70      device_t(mconfig, NUBUS_WSPORTRAIT, "Macintosh II Portrait Video Card", tag, owner, clock),
70      device_t(mconfig, NUBUS_WSPORTRAIT, "Macintosh II Portrait Video Card", tag, owner, clock, "nb_wspt", __FILE__),
7171      device_nubus_card_interface(mconfig, *this)
7272{
73   m_shortname = "nb_wspt";
7473}
7574
76nubus_wsportrait_device::nubus_wsportrait_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
77      device_t(mconfig, type, name, tag, owner, clock),
75nubus_wsportrait_device::nubus_wsportrait_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) :
76      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7877      device_nubus_card_interface(mconfig, *this)
7978{
80   m_shortname = "nb_wspt";
8179}
8280
8381//-------------------------------------------------
trunk/src/mess/video/nubus_wsportrait.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_wsportrait_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_wsportrait_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_wsportrait_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/iq151_video64.c
r22095r22096
4949//-------------------------------------------------
5050
5151iq151_video64_device::iq151_video64_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52      : device_t(mconfig, IQ151_VIDEO64, "IQ151 video64", tag, owner, clock),
52      : device_t(mconfig, IQ151_VIDEO64, "IQ151 video64", tag, owner, clock, "iq151_video64", __FILE__),
5353      device_iq151cart_interface( mconfig, *this )
5454{
5555}
trunk/src/mess/video/iq151_video64.h
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_reset();
30   virtual void device_config_complete() { m_shortname = "iq151_video64"; }
3130
3231   // iq151cart_interface overrides
3332   virtual void read(offs_t offset, UINT8 &data);
trunk/src/mess/video/isa_vga_ati.c
r22095r22096
6161//-------------------------------------------------
6262
6363isa16_vga_gfxultra_device::isa16_vga_gfxultra_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
64      device_t(mconfig, ISA16_VGA_GFXULTRA, "ATi Graphics Ultra Graphics Card", tag, owner, clock),
64      device_t(mconfig, ISA16_VGA_GFXULTRA, "ATi Graphics Ultra Graphics Card", tag, owner, clock, "gfxultra", __FILE__),
6565      device_isa16_card_interface(mconfig, *this)
6666{
67   m_shortname = "gfxultra";
6867}
6968
7069//-------------------------------------------------
trunk/src/mess/video/nubus_specpdq.c
r22095r22096
7979//-------------------------------------------------
8080
8181nubus_specpdq_device::nubus_specpdq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
82      device_t(mconfig, NUBUS_SPECPDQ, "SuperMac Spectrum PDQ video card", tag, owner, clock),
82      device_t(mconfig, NUBUS_SPECPDQ, "SuperMac Spectrum PDQ video card", tag, owner, clock, "nb_spdq", __FILE__),
8383      device_nubus_card_interface(mconfig, *this)
8484{
85   m_shortname = "nb_spdq";
8685}
8786
88nubus_specpdq_device::nubus_specpdq_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
89      device_t(mconfig, type, name, tag, owner, clock),
87nubus_specpdq_device::nubus_specpdq_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) :
88      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
9089      device_nubus_card_interface(mconfig, *this)
9190{
92   m_shortname = "nb_spdq";
9391}
9492
9593//-------------------------------------------------
trunk/src/mess/video/nubus_specpdq.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_specpdq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_specpdq_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_specpdq_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_cb264.c
r22095r22096
6868//-------------------------------------------------
6969
7070nubus_cb264_device::nubus_cb264_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
71      device_t(mconfig, NUBUS_CB264, "RasterOps ColorBoard 264 video card", tag, owner, clock),
71      device_t(mconfig, NUBUS_CB264, "RasterOps ColorBoard 264 video card", tag, owner, clock, "nb_cb264", __FILE__),
7272      device_nubus_card_interface(mconfig, *this)
7373{
74   m_shortname = "nb_cb264";
7574}
7675
77nubus_cb264_device::nubus_cb264_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
78      device_t(mconfig, type, name, tag, owner, clock),
76nubus_cb264_device::nubus_cb264_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) :
77      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7978      device_nubus_card_interface(mconfig, *this)
8079{
81   m_shortname = "nb_cb264";
8280}
8381
8482//-------------------------------------------------
trunk/src/mess/video/nubus_cb264.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_cb264_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_cb264_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_cb264_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_48gc.c
r22095r22096
7474//  jmfb_device - constructor
7575//-------------------------------------------------
7676
77jmfb_device::jmfb_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
78      device_t(mconfig, type, name, tag, owner, clock),
77jmfb_device::jmfb_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) :
78      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7979      device_nubus_card_interface(mconfig, *this)
8080{
8181}
8282
8383nubus_48gc_device::nubus_48gc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
84   jmfb_device(mconfig, NUBUS_48GC, "Apple 4*8 video card", tag, owner, clock)
84   jmfb_device(mconfig, NUBUS_48GC, "Apple 4*8 video card", tag, owner, clock, "nb_48gc", __FILE__)
8585{
86   m_shortname = "nb_48gc";
8786   m_is824 = false;
8887}
8988
9089nubus_824gc_device::nubus_824gc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
91   jmfb_device(mconfig, NUBUS_824GC, "Apple 8*24 video card", tag, owner, clock)
90   jmfb_device(mconfig, NUBUS_824GC, "Apple 8*24 video card", tag, owner, clock, "nb_824gc", __FILE__)
9291{
93   m_shortname = "nb_824gc";
9492   m_is824 = true;
9593}
9694
trunk/src/mess/video/iq151_grafik.c
r22095r22096
4343//-------------------------------------------------
4444
4545iq151_grafik_device::iq151_grafik_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
46      : device_t(mconfig, IQ151_GRAFIK, "IQ151 grafik", tag, owner, clock),
46      : device_t(mconfig, IQ151_GRAFIK, "IQ151 grafik", tag, owner, clock, "iq151_grafik", __FILE__),
4747      device_iq151cart_interface( mconfig, *this ),
4848      m_ppi8255(*this, "ppi8255")
4949{
trunk/src/mess/video/pds30_30hr.c
r22095r22096
6767//-------------------------------------------------
6868
6969nubus_xceed30hr_device::nubus_xceed30hr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
70      device_t(mconfig, PDS030_XCEED30HR, "Micron/XCEED Technology Color 30HR", tag, owner, clock),
70      device_t(mconfig, PDS030_XCEED30HR, "Micron/XCEED Technology Color 30HR", tag, owner, clock, "pd3_30hr", __FILE__),
7171      device_nubus_card_interface(mconfig, *this)
7272{
73   m_shortname = "pd3_30hr";
7473}
7574
76nubus_xceed30hr_device::nubus_xceed30hr_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
77      device_t(mconfig, type, name, tag, owner, clock),
75nubus_xceed30hr_device::nubus_xceed30hr_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) :
76      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7877      device_nubus_card_interface(mconfig, *this)
7978{
80   m_shortname = "pd3_30hr";
8179}
8280
8381//-------------------------------------------------
trunk/src/mess/video/nubus_48gc.h
r22095r22096
1818{
1919public:
2020      // construction/destruction
21      jmfb_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
21      jmfb_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);
2222
2323      // optional information overrides
2424      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/iq151_grafik.h
r22095r22096
3333   // device-level overrides
3434   virtual void device_start();
3535   virtual void device_reset();
36   virtual void device_config_complete() { m_shortname = "iq151_grafik"; }
3736
3837   // iq151cart_interface overrides
3938   virtual void io_read(offs_t offset, UINT8 &data);
trunk/src/mess/video/pds30_cb264.c
r22095r22096
6060//-------------------------------------------------
6161
6262nubus_cb264se30_device::nubus_cb264se30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
63      device_t(mconfig, PDS030_CB264SE30, "RasterOps Colorboard 264/SE30", tag, owner, clock),
63      device_t(mconfig, PDS030_CB264SE30, "RasterOps Colorboard 264/SE30", tag, owner, clock, "pd3_c264", __FILE__),
6464      device_nubus_card_interface(mconfig, *this)
6565{
66   m_shortname = "pd3_c264";
6766}
6867
69nubus_cb264se30_device::nubus_cb264se30_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
70      device_t(mconfig, type, name, tag, owner, clock),
68nubus_cb264se30_device::nubus_cb264se30_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) :
69      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7170      device_nubus_card_interface(mconfig, *this)
7271{
73   m_shortname = "pd3_c264";
7472}
7573
7674//-------------------------------------------------
trunk/src/mess/video/pds30_30hr.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_xceed30hr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_xceed30hr_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_xceed30hr_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/pds30_cb264.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_cb264se30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_cb264se30_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_cb264se30_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_vikbw.c
r22095r22096
6464//-------------------------------------------------
6565
6666nubus_vikbw_device::nubus_vikbw_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67      device_t(mconfig, NUBUS_VIKBW, "Moniterm Viking video card", tag, owner, clock),
67      device_t(mconfig, NUBUS_VIKBW, "Moniterm Viking video card", tag, owner, clock, "nb_vikbw", __FILE__),
6868      device_nubus_card_interface(mconfig, *this)
6969{
70   m_shortname = "nb_vikbw";
7170}
7271
73nubus_vikbw_device::nubus_vikbw_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
74      device_t(mconfig, type, name, tag, owner, clock),
72nubus_vikbw_device::nubus_vikbw_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) :
73      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7574      device_nubus_card_interface(mconfig, *this)
7675{
77   m_shortname = "nb_vikbw";
7876}
7977
8078//-------------------------------------------------
trunk/src/mess/video/nubus_vikbw.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_vikbw_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_vikbw_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_vikbw_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/cirrus.c
r22095r22096
8282//-------------------------------------------------
8383
8484cirrus_device::cirrus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
85      : device_t(mconfig, CIRRUS, "CIRRUS", tag, owner, clock),
85      : device_t(mconfig, CIRRUS, "CIRRUS", tag, owner, clock, "cirrus", __FILE__),
8686      pci_device_interface( mconfig, *this )
8787{
8888}
trunk/src/mess/video/isa_vga.c
r22095r22096
4848//-------------------------------------------------
4949
5050isa8_vga_device::isa8_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
51      device_t(mconfig, ISA8_VGA, "IBM VGA Graphics Card", tag, owner, clock),
51      device_t(mconfig, ISA8_VGA, "IBM VGA Graphics Card", tag, owner, clock, "ibm_vga", __FILE__),
5252      device_isa8_card_interface(mconfig, *this)
5353{
54   m_shortname = "ibm_vga";
5554}
5655
5756//-------------------------------------------------
trunk/src/mess/video/cirrus.h
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_reset();
30   virtual void device_config_complete() { m_shortname = "cirrus"; }
3130private:
3231};
3332
trunk/src/mess/video/iq151_video32.c
r22095r22096
4949//-------------------------------------------------
5050
5151iq151_video32_device::iq151_video32_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
52      : device_t(mconfig, IQ151_VIDEO32, "IQ151 video32", tag, owner, clock),
52      : device_t(mconfig, IQ151_VIDEO32, "IQ151 video32", tag, owner, clock, "iq151_video32", __FILE__),
5353      device_iq151cart_interface( mconfig, *this )
5454{
5555}
trunk/src/mess/video/iq151_video32.h
r22095r22096
2727   // device-level overrides
2828   virtual void device_start();
2929   virtual void device_reset();
30   virtual void device_config_complete() { m_shortname = "iq151_video32"; }
3130
3231   // iq151cart_interface overrides
3332   virtual void read(offs_t offset, UINT8 &data);
trunk/src/mess/video/nubus_radiustpd.c
r22095r22096
6464//-------------------------------------------------
6565
6666nubus_radiustpd_device::nubus_radiustpd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67      device_t(mconfig, NUBUS_RADIUSTPD, "Radius Two Page Display video card", tag, owner, clock),
67      device_t(mconfig, NUBUS_RADIUSTPD, "Radius Two Page Display video card", tag, owner, clock, "nb_rtpd", __FILE__),
6868      device_nubus_card_interface(mconfig, *this)
6969{
70   m_shortname = "nb_rtpd";
7170}
7271
73nubus_radiustpd_device::nubus_radiustpd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
74      device_t(mconfig, type, name, tag, owner, clock),
72nubus_radiustpd_device::nubus_radiustpd_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) :
73      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7574      device_nubus_card_interface(mconfig, *this)
7675{
77   m_shortname = "nb_rtpd";
7876}
7977
8078//-------------------------------------------------
trunk/src/mess/video/nubus_radiustpd.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_radiustpd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_radiustpd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_radiustpd_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/nubus_m2hires.c
r22095r22096
6464//-------------------------------------------------
6565
6666nubus_m2hires_device::nubus_m2hires_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
67      device_t(mconfig, NUBUS_M2HIRES, "Macintosh II Hi-Resolution video card", tag, owner, clock),
67      device_t(mconfig, NUBUS_M2HIRES, "Macintosh II Hi-Resolution video card", tag, owner, clock, "nb_m2hr", __FILE__),
6868      device_nubus_card_interface(mconfig, *this)
6969{
70   m_shortname = "nb_m2hr";
7170}
7271
73nubus_m2hires_device::nubus_m2hires_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
74      device_t(mconfig, type, name, tag, owner, clock),
72nubus_m2hires_device::nubus_m2hires_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) :
73      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7574      device_nubus_card_interface(mconfig, *this)
7675{
77   m_shortname = "nb_m2hr";
7876}
7977
8078//-------------------------------------------------
trunk/src/mess/video/apollo.c
r22095r22096
831831   DEVICE_RESET_CALL(apollo_mono19i);
832832}
833833
834apollo_mono_device::apollo_mono_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
835   : device_t(mconfig, type, name, tag, owner, clock)
834apollo_mono_device::apollo_mono_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)
835   : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
836836{
837837   m_token = global_alloc_clear(screen_data_t);
838838}
r22095r22096
840840const device_type APOLLO_MONO19I = &device_creator<apollo_mono19i_device>;
841841
842842apollo_mono19i_device::apollo_mono19i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
843   : apollo_mono_device(mconfig, APOLLO_MONO19I, "Apollo 19\" Monochrome Screen", tag, owner, clock)
843   : apollo_mono_device(mconfig, APOLLO_MONO19I, "Apollo 19\" Monochrome Screen", tag, owner, clock, "apollo_mono19i", __FILE__)
844844{
845845}
846846
r22095r22096
876876const device_type APOLLO_MONO15I = &device_creator<apollo_mono15i_device>;
877877
878878apollo_mono15i_device::apollo_mono15i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
879   : apollo_mono_device(mconfig, APOLLO_MONO15I, "Apollo 15\" Monochrome Screen", tag, owner, clock)
879   : apollo_mono_device(mconfig, APOLLO_MONO15I, "Apollo 15\" Monochrome Screen", tag, owner, clock, "apollo_mono15i", __FILE__)
880880{
881881}
882882
trunk/src/mess/video/nubus_m2hires.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_m2hires_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_m2hires_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_m2hires_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/isa_svga_tseng.c
r22095r22096
5858//-------------------------------------------------
5959
6060isa8_svga_et4k_device::isa8_svga_et4k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
61      device_t(mconfig, ISA8_SVGA_ET4K, "SVGA Tseng ET4000 Graphics Card", tag, owner, clock),
61      device_t(mconfig, ISA8_SVGA_ET4K, "SVGA Tseng ET4000 Graphics Card", tag, owner, clock, "et4000", __FILE__),
6262      device_isa8_card_interface(mconfig, *this)
6363{
64   m_shortname = "et4000";
6564}
6665
6766//-------------------------------------------------
trunk/src/mess/video/pds30_mc30.c
r22095r22096
6363//-------------------------------------------------
6464
6565nubus_xceedmc30_device::nubus_xceedmc30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
66      device_t(mconfig, PDS030_XCEEDMC30, "Micron/XCEED Technology MacroColor 30", tag, owner, clock),
66      device_t(mconfig, PDS030_XCEEDMC30, "Micron/XCEED Technology MacroColor 30", tag, owner, clock, "pd3_mclr", __FILE__),
6767      device_nubus_card_interface(mconfig, *this)
6868{
69   m_shortname = "pd3_mclr";
7069}
7170
72nubus_xceedmc30_device::nubus_xceedmc30_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
73      device_t(mconfig, type, name, tag, owner, clock),
71nubus_xceedmc30_device::nubus_xceedmc30_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) :
72      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
7473      device_nubus_card_interface(mconfig, *this)
7574{
76   m_shortname = "pd3_mclr";
7775}
7876
7977//-------------------------------------------------
trunk/src/mess/video/pds30_mc30.h
r22095r22096
1919public:
2020      // construction/destruction
2121      nubus_xceedmc30_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
22      nubus_xceedmc30_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
22      nubus_xceedmc30_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);
2323
2424      // optional information overrides
2525      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/video/isa_mda.c
r22095r22096
156156//-------------------------------------------------
157157
158158isa8_mda_device::isa8_mda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
159      device_t(mconfig, ISA8_MDA, "IBM Monochrome Display and Printer Adapter", tag, owner, clock),
159      device_t(mconfig, ISA8_MDA, "IBM Monochrome Display and Printer Adapter", tag, owner, clock, "isa_ibm_mda", __FILE__),
160160      device_isa8_card_interface(mconfig, *this)
161161{
162   m_shortname = "isa_ibm_mda";
163162}
164163
165isa8_mda_device::isa8_mda_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
166      device_t(mconfig, type, name, tag, owner, clock),
164isa8_mda_device::isa8_mda_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) :
165      device_t(mconfig, type, name, tag, owner, clock, shortname, source),
167166      device_isa8_card_interface(mconfig, *this)
168167{
169   m_shortname = "isa_ibm_mda";
170168}
171169
172170//-------------------------------------------------
r22095r22096
570568//-------------------------------------------------
571569
572570isa8_hercules_device::isa8_hercules_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
573      isa8_mda_device(mconfig, ISA8_HERCULES, "Hercules Graphics Card", tag, owner, clock)
571      isa8_mda_device(mconfig, ISA8_HERCULES, "Hercules Graphics Card", tag, owner, clock, "isa_hercules", __FILE__)
574572{
575   m_shortname = "isa_hercules";
576573}
577574
578575//-------------------------------------------------
trunk/src/mess/video/isa_mda.h
r22095r22096
2222
2323      // construction/destruction
2424      isa8_mda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
25      isa8_mda_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
25      isa8_mda_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      // optional information overrides
2828      virtual machine_config_constructor device_mconfig_additions() const;
trunk/src/mess/includes/lynx.h
r22095r22096
167167{
168168public:
169169   lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
170   lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
170   lynx_sound_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);
171171   ~lynx_sound_device() { global_free(m_token); }
172172
173173   // access to legacy token
trunk/src/mess/includes/apollo.h
r22095r22096
310310class apollo_mono_device : public device_t
311311{
312312public:
313   apollo_mono_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
313   apollo_mono_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);
314314   ~apollo_mono_device() { global_free(m_token); }
315315
316316   // access to legacy token

Previous 199869 Revisions Next


© 1997-2024 The MAME Team