| Previous | 199869 Revisions | Next |
| r23833 Friday 21st June, 2013 at 14:44:06 UTC by Miodrag Milanović |
|---|
| changed rest of devices (except cpu cores) to have shortname and sourcefile (nw) |
| [src/emu] | device.h diserial.c screen.c softlist.c speaker.c timer.c |
| [src/emu/imagedev] | bitbngr.c cartslot.c cassette.c chd_cd.c flopdrv.c floppy.c harddriv.c midiin.c midiout.c printer.c serial.c snapquik.c |
| [src/emu/machine] | 53c810.c 6522via.c 6525tpi.c 6526cia.c 6526cia.h 6532riot.c 6821pia.c 6840ptm.c 6850acia.c 68681.c 7200fifo.c 74123.c 74145.c 74148.c 74153.c 7474.c 8257dma.c aakart.c adc0808.c adc083x.c adc083x.h adc1038.c adc1213x.c adc1213x.h am53cf96.c am9517a.c amigafdc.c at28c16.c at29040a.c at45dbxx.c at45dbxx.h ataintf.c ataintf.h ay31015.c ay31015.h bankdev.c cdp1852.c cdp1871.c com8116.c ctronics.c ds1302.c ds2401.c ds2404.c ds75160a.c ds75161a.c e0516.c eeprom.c er2055.c er59256.c f3853.c i2cmem.c i8155.c i8212.c i8214.c i8243.c i8251.c i8255.c i8279.c i8355.c idectrl.c idectrl.h im6402.c ins8154.c intelfsh.c intelfsh.h jvsdev.c jvsdev.h jvshost.c jvshost.h k033906.c k053252.c k056230.c latch8.c lc89510.c m6m80011ap.c mb14241.c mb3773.c mb87078.c mb89371.c mc146818.c mc2661.c mc6843.c mc6846.c mc6852.c mc6854.c mc68901.c mccs1850.c mcf5206e.c microtch.c microtch.h mm58274c.c mm74c922.c mos6526.c mos6526.h mos6529.c mos6530.c mos6551.c msm5832.c msm58321.c msm6242.c n68681.c ncr539x.c netlist.c nmc9306.c nscsi_bus.c nvram.c pcf8593.c pci.c pd4990a.c pic8259.c pit8253.c pit8253.h pla.c pla.h ram.c roc10937.c roc10937.h rp5c01.c rp5c15.c rp5h01.c rtc4543.c rtc65271.c rtc9701.c s3520cf.c s3c2400.c s3c2410.c s3c2440.c scsibus.c secflash.c secflash.h seibu_cop.c serflash.c smc91c9x.c smc91c9x.h spchrom.c tc009xlvc.c timekpr.c timekpr.h tms6100.c tms6100.h tms9901.c tms9902.c upd1990a.c upd1990a.h upd4701.c upd7002.c v3021.c vt83c461.c wd11c00_17.c wd17xx.c wd17xx.h wd2010.c wd33c93.c wd_fdc.c wd_fdc.h x2212.c x76f041.c x76f100.c z80ctc.c z80dart.c z80dma.c z80pio.c z80sio.c z80sti.c z8536.c |
| [src/emu/sound] | speaker.c |
| [src/emu/video] | 315_5124.c 315_5124.h cdp1861.c cdp1862.c crt9007.c crt9021.c crt9212.c dl1416.c dl1416.h dm9368.c ef9340_1.c hd44102.c hd44352.c hd63484.c hd66421.c huc6202.c huc6260.c huc6261.c huc6270.c huc6272.c i8244.c i8244.h i8275.c i8275x.c k053250.c mc6845.c mc6845.h mc6847.c mc6847.h pc_vga.c pc_vga.h psx.c psx.h ramdac.c s2636.c tlc34076.c tms3556.c tms9927.c tms9927.h tms9928a.c tms9928a.h upd3301.c upd7227.c voodoo.c voodoo.h |
| [src/mame/drivers] | cobra.c |
| [src/mame/machine] | jvs13551.c megavdp.c mie.c zs01.c |
| [src/mess/audio] | alesis.c arcadia.c channelf.c dai.c gb.c mac.c mea8000.c socrates.c special.c svision.c tvc.c upd1771.c vboy.c vc4000.c vrc6.c wswan.c |
| [src/mess/drivers] | apexc.c esq5505.c pdp1.c pv1000.c tm990189.c tx0.c |
| [src/mess/machine] | 3c505.c 64h156.c 68561mpcc.c 6883sam.c 8530scc.c 990_tap.c a2bus.c a2eauxslot.c abc1600_bus.c abcbus.c abckb.c adamexp.c adamnet.c amigakbd.c apollo.c apollo_kbd.c atarifdc.c bw2exp.c c64exp.c c64user.c cbm2exp.c cbm2user.c cbmiec.c coco_vhd.c cococart.c comxexp.c concept_exp.c cpc_rom.c cpcexp.c cs4031.c cs8221.c docg3.c ds1315.c e05a03.c ecbbus.c econet.c einstein.c ep64exp.c epson_sio.c esqvfd.c esqvfd.h fm_scsi.c gb_slot.c gb_slot.h gba_slot.c genpc.c hd63450.c hd64610.c hp48.c i8271.c ieee488.c iq151cart.c isa.c isa.h isa_gus.c kb3600.c kc_keyb.c kcexp.c kcexp.h keyboard.c kr2376.c lh5810.c macrtc.c mb8795.c mb89352.c mc68328.c md_slot.c md_slot.h microdrv.c micropolis.c mos8706.c mos8722.c mos8726.c ncr5380.c nes_slot.c nes_sunsoft_dcs.c nextkbd.c nextmo.c nubus.c nubus_image.c omti8621.c osborne1.c pc9801_cbus.c pc9801_kbd.c pc_kbdc.c pc_lpt.c pce220_ser.c pce_slot.c petcass.c petexp.c petuser.c plus4exp.c plus4user.c psion_pack.c psxcard.c psxcport.c rx01.c s100.c s3c44b0.c sat_slot.c sc499.c sega8_slot.c sega8_slot.h serial.c smartmed.c smc92x4.c smsctrl.c sns_slot.c sns_slot.h strata.c terminal.c thomson.c tms5501.c tvcexp.c upd65031.c upd71071.c vcsctrl.c vic10exp.c vic20exp.c vic20user.c vidbrain_exp.c vip_byteio.c vip_exp.c wangpcbus.c x1.c x68k_hdc.c x68kexp.c z88cart.c zx8302.c |
| [src/mess/machine/ti99] | datamux.c genboard.c joyport.c peribox.c peribox.h ti99_hd.c ti_rs232.c |
| [src/mess/video] | 733_asr.c 911_vdt.c crt.c crtc_ega.c ef9345.c gf4500.c gime.c gime.h k1ge.c k1ge.h mos6566.c mos6566.h newport.c s3virge.c t6a04.c uv201.c vic4567.c vtvideo.c vtvideo.h zx8301.c |
| r23832 | r23833 | |
|---|---|---|
| 499 | 499 | const device_type COBRA_JVS = &device_creator<cobra_jvs>; |
| 500 | 500 | |
| 501 | 501 | cobra_jvs::cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 502 | : jvs_device(mconfig, COBRA_JVS, "COBRA_JVS", tag, owner, clock) | |
| 502 | : jvs_device(mconfig, COBRA_JVS, "COBRA_JVS", tag, owner, clock, "cobra_jvs", __FILE__) | |
| 503 | 503 | { |
| 504 | 504 | } |
| 505 | 505 | |
| r23832 | r23833 | |
| 557 | 557 | const device_type COBRA_JVS_HOST = &device_creator<cobra_jvs_host>; |
| 558 | 558 | |
| 559 | 559 | cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 560 | : jvs_host(mconfig, COBRA_JVS_HOST, "COBRA_JVS_HOST", tag, owner, clock) | |
| 560 | : jvs_host(mconfig, COBRA_JVS_HOST, "COBRA_JVS_HOST", tag, owner, clock, "cobra_jvs_host", __FILE__) | |
| 561 | 561 | { |
| 562 | 562 | m_send_ptr = 0; |
| 563 | 563 | } |
| r23832 | r23833 | |
|---|---|---|
| 41 | 41 | const device_type SEGA_GEN_VDP = &device_creator<sega_genesis_vdp_device>; |
| 42 | 42 | |
| 43 | 43 | sega_genesis_vdp_device::sega_genesis_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 44 | : sega315_5124_device( mconfig, SEGA315_5246, "Sega Genesis VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true ) | |
| 44 | : sega315_5124_device( mconfig, SEGA315_5246, "Sega Genesis VDP", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega_genesis_vdp", __FILE__) | |
| 45 | 45 | { |
| 46 | 46 | m_genesis_vdp_sndirqline_callback = genesis_vdp_sndirqline_callback_default; |
| 47 | 47 | m_genesis_vdp_lv6irqline_callback = genesis_vdp_lv6irqline_callback_default; |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | return INPUT_PORTS_NAME(sega_837_13551_coins); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "SEGA-837-13551", tag, owner, clock) | |
| 34 | sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "SEGA-837-13551", tag, owner, clock, "sega_837_13551", __FILE__) | |
| 35 | 35 | { |
| 36 | 36 | memset(port_tag, 0, sizeof(port_tag)); |
| 37 | 37 | } |
| r23832 | r23833 | |
|---|---|---|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | mie_jvs_device::mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 80 | : jvs_host(mconfig, MIE_JVS, "MIE-JVS", tag, owner, clock) | |
| 80 | : jvs_host(mconfig, MIE_JVS, "MIE-JVS", tag, owner, clock, "mie_jvs", __FILE__) | |
| 81 | 81 | { |
| 82 | 82 | } |
| 83 | 83 |
| r23832 | r23833 | |
|---|---|---|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | zs01_device::zs01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 38 | : device_secure_serial_flash(mconfig, ZS01, "ZS01", tag, owner, clock) | |
| 38 | : device_secure_serial_flash(mconfig, ZS01, "ZS01", tag, owner, clock, "zs01", __FILE__) | |
| 39 | 39 | { |
| 40 | 40 | } |
| 41 | 41 |
| r23832 | r23833 | |
|---|---|---|
| 80 | 80 | //------------------------------------------------- |
| 81 | 81 | |
| 82 | 82 | i8275x_device::i8275x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 83 | : device_t(mconfig, I8275x, "I8275", tag, owner, clock), | |
| 83 | : device_t(mconfig, I8275x, "I8275", tag, owner, clock, "i8275x", __FILE__), | |
| 84 | 84 | m_status(0), |
| 85 | 85 | m_param_idx(0), |
| 86 | 86 | m_param_end(0), |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | crt9212_device::crt9212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 56 | : device_t(mconfig, CRT9212, "SMC CRT9212", tag, owner, clock) | |
| 56 | : device_t(mconfig, CRT9212, "SMC CRT9212", tag, owner, clock, "crt9212", __FILE__) | |
| 57 | 57 | { |
| 58 | 58 | } |
| 59 | 59 |
| r23832 | r23833 | |
|---|---|---|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | |
| 117 | mc6845_device::mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 118 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 117 | mc6845_device::mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 118 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 119 | 119 | { |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | mc6845_device::mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 123 | : device_t(mconfig, MC6845, "mc6845", tag, owner, clock) | |
| 123 | : device_t(mconfig, MC6845, "mc6845", tag, owner, clock, "mc6845", __FILE__) | |
| 124 | 124 | { |
| 125 | 125 | } |
| 126 | 126 | |
| r23832 | r23833 | |
| 1370 | 1370 | |
| 1371 | 1371 | |
| 1372 | 1372 | r6545_1_device::r6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1373 | : mc6845_device(mconfig, R6545_1, "R6545-1", tag, owner, clock) | |
| 1373 | : mc6845_device(mconfig, R6545_1, "R6545-1", tag, owner, clock, "r6545_1", __FILE__) | |
| 1374 | 1374 | { |
| 1375 | 1375 | } |
| 1376 | 1376 | |
| 1377 | 1377 | |
| 1378 | 1378 | h46505_device::h46505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1379 | : mc6845_device(mconfig, H46505, "H46505", tag, owner, clock) | |
| 1379 | : mc6845_device(mconfig, H46505, "H46505", tag, owner, clock, "h46505", __FILE__) | |
| 1380 | 1380 | { |
| 1381 | 1381 | } |
| 1382 | 1382 | |
| 1383 | 1383 | |
| 1384 | 1384 | mc6845_1_device::mc6845_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1385 | : mc6845_device(mconfig, MC6845_1, "MC6845-1", tag, owner, clock) | |
| 1385 | : mc6845_device(mconfig, MC6845_1, "MC6845-1", tag, owner, clock, "mc6845_1", __FILE__) | |
| 1386 | 1386 | { |
| 1387 | 1387 | } |
| 1388 | 1388 | |
| 1389 | 1389 | |
| 1390 | 1390 | hd6845_device::hd6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1391 | : mc6845_device(mconfig, HD6845, "HD6845", tag, owner, clock) | |
| 1391 | : mc6845_device(mconfig, HD6845, "HD6845", tag, owner, clock, "hd6845", __FILE__) | |
| 1392 | 1392 | { |
| 1393 | 1393 | } |
| 1394 | 1394 | |
| 1395 | 1395 | |
| 1396 | 1396 | c6545_1_device::c6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1397 | : mc6845_device(mconfig, C6545_1, "C6545-1", tag, owner, clock) | |
| 1397 | : mc6845_device(mconfig, C6545_1, "C6545-1", tag, owner, clock, "c6545_1", __FILE__) | |
| 1398 | 1398 | { |
| 1399 | 1399 | } |
| 1400 | 1400 | |
| 1401 | 1401 | |
| 1402 | 1402 | sy6545_1_device::sy6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1403 | : mc6845_device(mconfig, SY6545_1, "SY6545-1", tag, owner, clock) | |
| 1403 | : mc6845_device(mconfig, SY6545_1, "SY6545-1", tag, owner, clock, "sy6545_1", __FILE__) | |
| 1404 | 1404 | { |
| 1405 | 1405 | } |
| 1406 | 1406 | |
| 1407 | 1407 | |
| 1408 | 1408 | sy6845e_device::sy6845e_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1409 | : mc6845_device(mconfig, SY6845E, "SY6845E", tag, owner, clock) | |
| 1409 | : mc6845_device(mconfig, SY6845E, "SY6845E", tag, owner, clock, "sy6845e", __FILE__) | |
| 1410 | 1410 | { |
| 1411 | 1411 | } |
| 1412 | 1412 | |
| 1413 | 1413 | |
| 1414 | 1414 | hd6345_device::hd6345_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1415 | : mc6845_device(mconfig, HD6345, "HD6345", tag, owner, clock) | |
| 1415 | : mc6845_device(mconfig, HD6345, "HD6345", tag, owner, clock, "hd6345", __FILE__) | |
| 1416 | 1416 | { |
| 1417 | 1417 | } |
| 1418 | 1418 | |
| 1419 | 1419 | |
| 1420 | 1420 | ams40041_device::ams40041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1421 | : mc6845_device(mconfig, AMS40041, "40041", tag, owner, clock) | |
| 1421 | : mc6845_device(mconfig, AMS40041, "40041", tag, owner, clock, "ams40041", __FILE__) | |
| 1422 | 1422 | { |
| 1423 | 1423 | } |
| 1424 | 1424 | |
| 1425 | 1425 | |
| 1426 | mos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 1427 | : mc6845_device(mconfig, type, name, tag, owner, clock), | |
| 1426 | mos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 1427 | : mc6845_device(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 1428 | 1428 | device_memory_interface(mconfig, *this), |
| 1429 | 1429 | m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos8563_videoram_map)) |
| 1430 | 1430 | { |
| r23832 | r23833 | |
| 1432 | 1432 | |
| 1433 | 1433 | |
| 1434 | 1434 | mos8563_device::mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1435 | : mc6845_device(mconfig, MOS8563, "MOS8563", tag, owner, clock), | |
| 1435 | : mc6845_device(mconfig, MOS8563, "MOS8563", tag, owner, clock, "mos8563", __FILE__), | |
| 1436 | 1436 | device_memory_interface(mconfig, *this), |
| 1437 | 1437 | m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(mos8563_videoram_map)) |
| 1438 | 1438 | { |
| r23832 | r23833 | |
| 1440 | 1440 | |
| 1441 | 1441 | |
| 1442 | 1442 | mos8568_device::mos8568_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1443 | : mos8563_device(mconfig, MOS8568, "MOS8568", tag, owner, clock) | |
| 1443 | : mos8563_device(mconfig, MOS8568, "MOS8568", tag, owner, clock, "mos8568", __FILE__) | |
| 1444 | 1444 | { |
| 1445 | 1445 | } |
| 1446 | 1446 |
| r23832 | r23833 | |
|---|---|---|
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | 79 | cdp1862_device::cdp1862_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 80 | : device_t(mconfig, CDP1862, "CDP1862", tag, owner, clock), | |
| 80 | : device_t(mconfig, CDP1862, "CDP1862", tag, owner, clock, "cdp1862", __FILE__), | |
| 81 | 81 | m_read_rd(*this), |
| 82 | 82 | m_read_bd(*this), |
| 83 | 83 | m_read_gd(*this) |
| r23832 | r23833 | |
|---|---|---|
| 128 | 128 | //------------------------------------------------- |
| 129 | 129 | |
| 130 | 130 | mc6847_friend_device::mc6847_friend_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, |
| 131 | const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines) | |
| 132 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 131 | const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines, const char *shortname, const char *source) | |
| 132 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 133 | 133 | m_character_map(fontdata, is_mc6847t1) |
| 134 | 134 | { |
| 135 | 135 | m_tpfs = tpfs; |
| r23832 | r23833 | |
| 542 | 542 | // ctor |
| 543 | 543 | //------------------------------------------------- |
| 544 | 544 | |
| 545 | mc6847_base_device::mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs) | |
| 546 | : mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, (type == MC6847T1_NTSC) || (type == MC6847T1_PAL), tpfs, 25+191, true) | |
| 545 | mc6847_base_device::mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs, const char *shortname, const char *source) | |
| 546 | : mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, (type == MC6847T1_NTSC) || (type == MC6847T1_PAL), tpfs, 25+191, true, shortname, source) | |
| 547 | 547 | { |
| 548 | 548 | m_palette = s_palette; |
| 549 | 549 | |
| r23832 | r23833 | |
| 1682 | 1682 | //------------------------------------------------- |
| 1683 | 1683 | |
| 1684 | 1684 | mc6847_ntsc_device::mc6847_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1685 | : mc6847_base_device(mconfig, MC6847_NTSC, "MC6847_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.0) | |
| 1685 | : mc6847_base_device(mconfig, MC6847_NTSC, "MC6847_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.0, "mc6847_ntsc", __FILE__) | |
| 1686 | 1686 | { |
| 1687 | 1687 | } |
| 1688 | 1688 | |
| r23832 | r23833 | |
| 1693 | 1693 | //------------------------------------------------- |
| 1694 | 1694 | |
| 1695 | 1695 | mc6847_pal_device::mc6847_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1696 | : mc6847_base_device(mconfig, MC6847_PAL, "MC6847_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0) | |
| 1696 | : mc6847_base_device(mconfig, MC6847_PAL, "MC6847_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0, "mc6847_pal", __FILE__) | |
| 1697 | 1697 | { |
| 1698 | 1698 | } |
| 1699 | 1699 | |
| r23832 | r23833 | |
| 1704 | 1704 | //------------------------------------------------- |
| 1705 | 1705 | |
| 1706 | 1706 | mc6847y_ntsc_device::mc6847y_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1707 | : mc6847_base_device(mconfig, MC6847Y_NTSC, "MC6847Y_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.5) | |
| 1707 | : mc6847_base_device(mconfig, MC6847Y_NTSC, "MC6847Y_NTSC", tag, owner, clock, ntsc_square_fontdata8x12, 262.5, "mc6847y", __FILE__) | |
| 1708 | 1708 | { |
| 1709 | 1709 | } |
| 1710 | 1710 | |
| r23832 | r23833 | |
| 1715 | 1715 | //------------------------------------------------- |
| 1716 | 1716 | |
| 1717 | 1717 | mc6847y_pal_device::mc6847y_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1718 | : mc6847_base_device(mconfig, MC6847Y_PAL, "MC6847Y_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0) | |
| 1718 | : mc6847_base_device(mconfig, MC6847Y_PAL, "MC6847Y_PAL", tag, owner, clock, pal_square_fontdata8x12, 313.0, "mc6847y_pal", __FILE__) | |
| 1719 | 1719 | { |
| 1720 | 1720 | } |
| 1721 | 1721 | |
| r23832 | r23833 | |
| 1726 | 1726 | //------------------------------------------------- |
| 1727 | 1727 | |
| 1728 | 1728 | mc6847t1_ntsc_device::mc6847t1_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1729 | : mc6847_base_device(mconfig, MC6847T1_NTSC, "MC6847T1_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, 262.0) | |
| 1729 | : mc6847_base_device(mconfig, MC6847T1_NTSC, "MC6847T1_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, 262.0, "mc6847t1_ntsc", __FILE__) | |
| 1730 | 1730 | { |
| 1731 | 1731 | } |
| 1732 | 1732 | |
| r23832 | r23833 | |
| 1737 | 1737 | //------------------------------------------------- |
| 1738 | 1738 | |
| 1739 | 1739 | mc6847t1_pal_device::mc6847t1_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1740 | : mc6847_base_device(mconfig, MC6847T1_PAL, "MC6847T1_PAL", tag, owner, clock, pal_round_fontdata8x12, 313.0) | |
| 1740 | : mc6847_base_device(mconfig, MC6847T1_PAL, "MC6847T1_PAL", tag, owner, clock, pal_round_fontdata8x12, 313.0, "mc6847t1_pal", __FILE__) | |
| 1741 | 1741 | { |
| 1742 | 1742 | } |
| r23832 | r23833 | |
|---|---|---|
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | huc6202_device::huc6202_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 42 | : device_t(mconfig, HUC6202, "HuC6202", tag, owner, clock) | |
| 42 | : device_t(mconfig, HUC6202, "HuC6202", tag, owner, clock, "huc6202", __FILE__) | |
| 43 | 43 | { |
| 44 | 44 | } |
| 45 | 45 |
| r23832 | r23833 | |
|---|---|---|
| 70 | 70 | //------------------------------------------------- |
| 71 | 71 | |
| 72 | 72 | dm9368_device::dm9368_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 73 | : device_t(mconfig, DM9368, "DM9368", tag, owner, clock), | |
| 73 | : device_t(mconfig, DM9368, "DM9368", tag, owner, clock, "dm9368", __FILE__), | |
| 74 | 74 | m_rbi(1), |
| 75 | 75 | m_rbo(1) |
| 76 | 76 | { |
| r23832 | r23833 | |
|---|---|---|
| 123 | 123 | public: |
| 124 | 124 | // construction/destruction |
| 125 | 125 | mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 126 | mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 126 | mc6845_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 127 | 127 | |
| 128 | 128 | /* select one of the registers for reading or writing */ |
| 129 | 129 | DECLARE_WRITE8_MEMBER( address_w ); |
| r23832 | r23833 | |
| 380 | 380 | public device_memory_interface |
| 381 | 381 | { |
| 382 | 382 | public: |
| 383 | mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 383 | mos8563_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 384 | 384 | mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 385 | 385 | |
| 386 | 386 | virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const; |
| r23832 | r23833 | |
|---|---|---|
| 91 | 91 | |
| 92 | 92 | protected: |
| 93 | 93 | mc6847_friend_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, |
| 94 | const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines); | |
| 94 | const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines, const char *shortname, const char *source); | |
| 95 | 95 | |
| 96 | 96 | // video mode constants |
| 97 | 97 | static const UINT8 MODE_AG = 0x80; |
| r23832 | r23833 | |
| 510 | 510 | DECLARE_WRITE_LINE_MEMBER( inv_w ) { change_mode(MODE_INV, state); } |
| 511 | 511 | |
| 512 | 512 | protected: |
| 513 | mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs); | |
| 513 | mc6847_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, double tpfs, const char *shortname, const char *source); | |
| 514 | 514 | |
| 515 | 515 | // device-level overrides |
| 516 | 516 | virtual void device_start(); |
| r23832 | r23833 | |
|---|---|---|
| 36 | 36 | const device_type CRT5057 = &device_creator<crt5057_device>; |
| 37 | 37 | |
| 38 | 38 | tms9927_device::tms9927_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 39 | : device_t(mconfig, TMS9927, "TMS9927", tag, owner, clock) | |
| 39 | : device_t(mconfig, TMS9927, "TMS9927", tag, owner, clock, "tms9927", __FILE__) | |
| 40 | 40 | { |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 44 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 43 | tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 44 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 45 | 45 | { |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | crt5027_device::crt5027_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 49 | : tms9927_device(mconfig, CRT5027, "CRT5027", tag, owner, clock) | |
| 49 | : tms9927_device(mconfig, CRT5027, "CRT5027", tag, owner, clock, "crt5027", __FILE__) | |
| 50 | 50 | { |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | crt5037_device::crt5037_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 54 | : tms9927_device(mconfig, CRT5037, "CRT5037", tag, owner, clock) | |
| 54 | : tms9927_device(mconfig, CRT5037, "CRT5037", tag, owner, clock, "crt5037", __FILE__) | |
| 55 | 55 | { |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | crt5057_device::crt5057_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 59 | : tms9927_device(mconfig, CRT5057, "CRT5057", tag, owner, clock) | |
| 59 | : tms9927_device(mconfig, CRT5057, "CRT5057", tag, owner, clock, "crt5057", __FILE__) | |
| 60 | 60 | { |
| 61 | 61 | } |
| 62 | 62 |
| r23832 | r23833 | |
|---|---|---|
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | huc6261_device::huc6261_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 42 | : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock) | |
| 42 | : device_t(mconfig, HUC6261, "HuC6261", tag, owner, clock, "huc6261", __FILE__) | |
| 43 | 43 | { |
| 44 | 44 | // Set up UV lookup table |
| 45 | 45 | for ( int ur = 0; ur < 256; ur++ ) |
| r23832 | r23833 | |
|---|---|---|
| 24 | 24 | { |
| 25 | 25 | public: |
| 26 | 26 | tms9927_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 27 | tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 27 | tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 28 | 28 | ~tms9927_device() {} |
| 29 | 29 | |
| 30 | 30 | DECLARE_WRITE8_MEMBER(write); |
| r23832 | r23833 | |
|---|---|---|
| 82 | 82 | //------------------------------------------------- |
| 83 | 83 | |
| 84 | 84 | crt9021_device::crt9021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 85 | : device_t(mconfig, CRT9021, "SMC CRT9021", tag, owner, clock) | |
| 85 | : device_t(mconfig, CRT9021, "SMC CRT9021", tag, owner, clock, "crt9021", __FILE__) | |
| 86 | 86 | { |
| 87 | 87 | } |
| 88 | 88 |
| r23832 | r23833 | |
|---|---|---|
| 5730 | 5730 | } |
| 5731 | 5731 | } |
| 5732 | 5732 | |
| 5733 | voodoo_device::voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 5734 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 5733 | voodoo_device::voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 5734 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 5735 | 5735 | { |
| 5736 | 5736 | m_token = global_alloc_clear(voodoo_state); |
| 5737 | 5737 | } |
| r23832 | r23833 | |
| 5768 | 5768 | const device_type VOODOO_1 = &device_creator<voodoo_1_device>; |
| 5769 | 5769 | |
| 5770 | 5770 | voodoo_1_device::voodoo_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 5771 | : voodoo_device(mconfig, VOODOO_1, "3dfx Voodoo Graphics", tag, owner, clock) | |
| 5771 | : voodoo_device(mconfig, VOODOO_1, "3dfx Voodoo Graphics", tag, owner, clock, "voodoo_1", __FILE__) | |
| 5772 | 5772 | { |
| 5773 | 5773 | } |
| 5774 | 5774 | |
| r23832 | r23833 | |
| 5785 | 5785 | const device_type VOODOO_2 = &device_creator<voodoo_2_device>; |
| 5786 | 5786 | |
| 5787 | 5787 | voodoo_2_device::voodoo_2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 5788 | : voodoo_device(mconfig, VOODOO_2, "3dfx Voodoo 2", tag, owner, clock) | |
| 5788 | : voodoo_device(mconfig, VOODOO_2, "3dfx Voodoo 2", tag, owner, clock, "voodoo_2", __FILE__) | |
| 5789 | 5789 | { |
| 5790 | 5790 | } |
| 5791 | 5791 | |
| r23832 | r23833 | |
| 5802 | 5802 | const device_type VOODOO_BANSHEE = &device_creator<voodoo_banshee_device>; |
| 5803 | 5803 | |
| 5804 | 5804 | voodoo_banshee_device::voodoo_banshee_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 5805 | : voodoo_device(mconfig, VOODOO_BANSHEE, "3dfx Voodoo Banshee", tag, owner, clock) | |
| 5805 | : voodoo_device(mconfig, VOODOO_BANSHEE, "3dfx Voodoo Banshee", tag, owner, clock, "voodoo_banshee", __FILE__) | |
| 5806 | 5806 | { |
| 5807 | 5807 | } |
| 5808 | 5808 | |
| r23832 | r23833 | |
| 5819 | 5819 | const device_type VOODOO_3 = &device_creator<voodoo_3_device>; |
| 5820 | 5820 | |
| 5821 | 5821 | voodoo_3_device::voodoo_3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 5822 | : voodoo_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock) | |
| 5822 | : voodoo_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock, "voodoo_3", __FILE__) | |
| 5823 | 5823 | { |
| 5824 | 5824 | } |
| 5825 | 5825 |
| r23832 | r23833 | |
|---|---|---|
| 18 | 18 | const device_type CXD8561CQ = &device_creator<cxd8561cq_device>; |
| 19 | 19 | const device_type CXD8654Q = &device_creator<cxd8654q_device>; |
| 20 | 20 | |
| 21 | psxgpu_device::psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 22 | device_t(mconfig, type, name, tag, owner, clock), | |
| 21 | psxgpu_device::psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 22 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 23 | 23 | m_vblank_handler(*this) |
| 24 | 24 | { |
| 25 | 25 | } |
| r23832 | r23833 | |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | cxd8514q_device::cxd8514q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 47 | : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q", tag, owner, clock) | |
| 47 | : psxgpu_device(mconfig, CXD8514Q, "CXD8514Q", tag, owner, clock, "cxd8514q", __FILE__) | |
| 48 | 48 | { |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | cxd8538q_device::cxd8538q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 52 | : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q", tag, owner, clock) | |
| 52 | : psxgpu_device(mconfig, CXD8538Q, "CXD8538Q", tag, owner, clock, "cxd8538q", __FILE__) | |
| 53 | 53 | { |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | cxd8561q_device::cxd8561q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q", tag, owner, clock) | |
| 57 | : psxgpu_device(mconfig, CXD8561Q, "CXD8561Q", tag, owner, clock, "cxd8561q", __FILE__) | |
| 58 | 58 | { |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | cxd8561bq_device::cxd8561bq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : psxgpu_device(mconfig, CXD8561BQ, "CXD8561BQ", tag, owner, clock) | |
| 62 | : psxgpu_device(mconfig, CXD8561BQ, "CXD8561BQ", tag, owner, clock, "cxd8561bq", __FILE__) | |
| 63 | 63 | { |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | cxd8561cq_device::cxd8561cq_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 67 | : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ", tag, owner, clock) | |
| 67 | : psxgpu_device(mconfig, CXD8561CQ, "CXD8561CQ", tag, owner, clock, "cxd8561cq", __FILE__) | |
| 68 | 68 | { |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | cxd8654q_device::cxd8654q_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 72 | : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q", tag, owner, clock) | |
| 72 | : psxgpu_device(mconfig, CXD8654Q, "CXD8654Q", tag, owner, clock, "cxd8654q", __FILE__) | |
| 73 | 73 | { |
| 74 | 74 | } |
| 75 | 75 |
| r23832 | r23833 | |
|---|---|---|
| 43 | 43 | //------------------------------------------------- |
| 44 | 44 | |
| 45 | 45 | upd7227_device::upd7227_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 46 | : device_t(mconfig, UPD7227, "uPD7227", tag, owner, clock), | |
| 46 | : device_t(mconfig, UPD7227, "uPD7227", tag, owner, clock, "upd7227", __FILE__), | |
| 47 | 47 | device_memory_interface(mconfig, *this), |
| 48 | 48 | m_space_config("videoram", ENDIANNESS_BIG, 8, 7, 0, *ADDRESS_MAP_NAME(upd7227_map)), |
| 49 | 49 | m_cs(1), |
| r23832 | r23833 | |
|---|---|---|
| 126 | 126 | class voodoo_device : public device_t |
| 127 | 127 | { |
| 128 | 128 | public: |
| 129 | voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 129 | voodoo_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 130 | 130 | ~voodoo_device() { global_free(m_token); } |
| 131 | 131 | |
| 132 | 132 | // access to legacy token |
| r23832 | r23833 | |
|---|---|---|
| 187 | 187 | { |
| 188 | 188 | public: |
| 189 | 189 | // construction/destruction |
| 190 | psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 190 | psxgpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 191 | 191 | virtual machine_config_constructor device_mconfig_additions() const; |
| 192 | 192 | |
| 193 | 193 | // static configuration helpers |
| r23832 | r23833 | |
|---|---|---|
| 139 | 139 | |
| 140 | 140 | |
| 141 | 141 | sega315_5124_device::sega315_5124_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 142 | : device_t( mconfig, SEGA315_5124, "Sega 315-5124", tag, owner, clock ) | |
| 142 | : device_t( mconfig, SEGA315_5124, "Sega 315-5124", tag, owner, clock, "sega315_5124", __FILE__) | |
| 143 | 143 | , device_memory_interface(mconfig, *this) |
| 144 | 144 | , m_cram_size( SEGA315_5124_CRAM_SIZE ) |
| 145 | 145 | , m_palette_offset( 0 ) |
| r23832 | r23833 | |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | |
| 152 | sega315_5124_device::sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240) | |
| 153 | : device_t( mconfig, type, name, tag, owner, clock ) | |
| 152 | sega315_5124_device::sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240, const char *shortname, const char *source) | |
| 153 | : device_t( mconfig, type, name, tag, owner, clock, shortname, source) | |
| 154 | 154 | , device_memory_interface(mconfig, *this) |
| 155 | 155 | , m_cram_size( cram_size ) |
| 156 | 156 | , m_palette_offset( palette_offset ) |
| r23832 | r23833 | |
| 161 | 161 | |
| 162 | 162 | |
| 163 | 163 | sega315_5246_device::sega315_5246_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 164 | : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true ) | |
| 164 | : sega315_5124_device( mconfig, SEGA315_5246, "Sega 315-5246", tag, owner, clock, SEGA315_5124_CRAM_SIZE, 0, true, "sega315_5246", __FILE__) | |
| 165 | 165 | { |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | |
| 169 | 169 | sega315_5378_device::sega315_5378_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 170 | : sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true ) | |
| 170 | : sega315_5124_device( mconfig, SEGA315_5378, "Sega 315-5378", tag, owner, clock, SEGA315_5378_CRAM_SIZE, 0x10, true, "sega315_5378", __FILE__) | |
| 171 | 171 | { |
| 172 | 172 | } |
| 173 | 173 |
| r23832 | r23833 | |
|---|---|---|
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | 79 | tms3556_device::tms3556_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 80 | : device_t(mconfig, TMS3556, "Texas Instruments VDP TMS3556", tag, owner, clock), | |
| 80 | : device_t(mconfig, TMS3556, "Texas Instruments VDP TMS3556", tag, owner, clock, "tms3556", __FILE__), | |
| 81 | 81 | device_memory_interface(mconfig, *this), |
| 82 | 82 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(tms3556)), |
| 83 | 83 | m_write_ptr(0), |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | public: |
| 74 | 74 | // construction/destruction |
| 75 | 75 | sega315_5124_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 76 | sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240); | |
| 76 | sega315_5124_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT8 cram_size, UINT8 palette_offset, bool supports_224_240, const char *shortname, const char *source); | |
| 77 | 77 | |
| 78 | 78 | DECLARE_READ8_MEMBER( vram_read ); |
| 79 | 79 | DECLARE_WRITE8_MEMBER( vram_write ); |
| r23832 | r23833 | |
|---|---|---|
| 112 | 112 | |
| 113 | 113 | |
| 114 | 114 | huc6270_device::huc6270_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 115 | : device_t(mconfig, HUC6270, "Hudson/NEC HuC6270", tag, owner, clock) | |
| 115 | : device_t(mconfig, HUC6270, "Hudson/NEC HuC6270", tag, owner, clock, "huc6270", __FILE__) | |
| 116 | 116 | { |
| 117 | 117 | } |
| 118 | 118 |
| r23832 | r23833 | |
|---|---|---|
| 115 | 115 | //------------------------------------------------- |
| 116 | 116 | |
| 117 | 117 | hd66421_device::hd66421_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 118 | : device_t(mconfig, HD66421, "Hitachi HD66421 LCD Controller", tag, owner, clock), | |
| 118 | : device_t(mconfig, HD66421, "Hitachi HD66421 LCD Controller", tag, owner, clock, "hd66421", __FILE__), | |
| 119 | 119 | device_memory_interface(mconfig, *this), |
| 120 | 120 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(hd66421)), |
| 121 | 121 | m_cmd(0), |
| r23832 | r23833 | |
|---|---|---|
| 124 | 124 | const device_type IBM8514A = &device_creator<ibm8514a_device>; |
| 125 | 125 | const device_type MACH8 = &device_creator<mach8_device>; |
| 126 | 126 | |
| 127 | vga_device::vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 128 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 127 | vga_device::vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 128 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 129 | 129 | { |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | vga_device::vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 133 | : device_t(mconfig, VGA, "VGA", tag, owner, clock) | |
| 133 | : device_t(mconfig, VGA, "VGA", tag, owner, clock, "vga", __FILE__) | |
| 134 | 134 | { |
| 135 | 135 | } |
| 136 | 136 | |
| 137 | svga_device::svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 138 | : vga_device(mconfig, type, name, tag, owner, clock) | |
| 137 | svga_device::svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 138 | : vga_device(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 139 | 139 | { |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | tseng_vga_device::tseng_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 143 | : svga_device(mconfig, TSENG_VGA, "TSENG_VGA", tag, owner, clock) | |
| 143 | : svga_device(mconfig, TSENG_VGA, "TSENG_VGA", tag, owner, clock, "tseng_vga", __FILE__) | |
| 144 | 144 | { |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | trident_vga_device::trident_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 148 | : svga_device(mconfig, TRIDENT_VGA, "TRIDENT_VGA", tag, owner, clock) | |
| 148 | : svga_device(mconfig, TRIDENT_VGA, "TRIDENT_VGA", tag, owner, clock, "trident_vga", __FILE__) | |
| 149 | 149 | { |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | s3_vga_device::s3_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 153 | : ati_vga_device(mconfig, S3_VGA, "S3_VGA", tag, owner, clock) | |
| 153 | : ati_vga_device(mconfig, S3_VGA, "S3_VGA", tag, owner, clock, "s3_vga", __FILE__) | |
| 154 | 154 | { |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | s3_vga_device::s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 158 | : ati_vga_device(mconfig, type, name, tag, owner, clock) | |
| 157 | s3_vga_device::s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 158 | : ati_vga_device(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 159 | 159 | { |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | gamtor_vga_device::gamtor_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 163 | : svga_device(mconfig, GAMTOR_VGA, "GAMTOR_VGA", tag, owner, clock) | |
| 163 | : svga_device(mconfig, GAMTOR_VGA, "GAMTOR_VGA", tag, owner, clock, "gamtor_vga", __FILE__) | |
| 164 | 164 | { |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | ati_vga_device::ati_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 168 | : svga_device(mconfig, ATI_VGA, "ATI_VGA", tag, owner, clock) | |
| 168 | : svga_device(mconfig, ATI_VGA, "ATI_VGA", tag, owner, clock, "ati_vga", __FILE__) | |
| 169 | 169 | { |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | ati_vga_device::ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 173 | : svga_device(mconfig, type, name, tag, owner, clock) | |
| 172 | ati_vga_device::ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 173 | : svga_device(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 174 | 174 | { |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | cirrus_vga_device::cirrus_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 178 | : svga_device(mconfig, CIRRUS_VGA, "CIRRUS_VGA", tag, owner, clock) | |
| 178 | : svga_device(mconfig, CIRRUS_VGA, "CIRRUS_VGA", tag, owner, clock, "cirrus_vga", __FILE__) | |
| 179 | 179 | { |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | ibm8514a_device::ibm8514a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 183 | : device_t(mconfig, IBM8514A, "IBM8514A", tag, owner, clock) | |
| 183 | : device_t(mconfig, IBM8514A, "IBM8514A", tag, owner, clock, "ibm8514a", __FILE__) | |
| 184 | 184 | { |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | ibm8514a_device::ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 188 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 187 | ibm8514a_device::ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 188 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 189 | 189 | { |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | mach8_device::mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 193 | : ibm8514a_device(mconfig, type, name, tag, owner, clock) | |
| 192 | mach8_device::mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 193 | : ibm8514a_device(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 194 | 194 | { |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | mach8_device::mach8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 198 | : ibm8514a_device(mconfig, MACH8, "MACH8", tag, owner, clock) | |
| 198 | : ibm8514a_device(mconfig, MACH8, "MACH8", tag, owner, clock, "mach8", __FILE__) | |
| 199 | 199 | { |
| 200 | 200 | } |
| 201 | 201 |
| r23832 | r23833 | |
|---|---|---|
| 64 | 64 | //------------------------------------------------- |
| 65 | 65 | |
| 66 | 66 | huc6272_device::huc6272_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 67 | : device_t(mconfig, huc6272, "huc6272", tag, owner, clock), | |
| 67 | : device_t(mconfig, huc6272, "huc6272", tag, owner, clock, "huc6272", __FILE__), | |
| 68 | 68 | device_memory_interface(mconfig, *this), |
| 69 | 69 | m_space_config("videoram", ENDIANNESS_LITTLE, 32, 32, 0, NULL, *ADDRESS_MAP_NAME(huc6272_vram)) |
| 70 | 70 | { |
| r23832 | r23833 | |
|---|---|---|
| 24 | 24 | public: |
| 25 | 25 | // construction/destruction |
| 26 | 26 | vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 27 | vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 27 | vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| r23832 | r23833 | |
| 202 | 202 | { |
| 203 | 203 | public: |
| 204 | 204 | // construction/destruction |
| 205 | svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 205 | svga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 206 | 206 | |
| 207 | 207 | virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| 208 | 208 | protected: |
| r23832 | r23833 | |
| 231 | 231 | class ibm8514a_device : public device_t |
| 232 | 232 | { |
| 233 | 233 | public: |
| 234 | ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 234 | ibm8514a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 235 | 235 | ibm8514a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 236 | 236 | |
| 237 | 237 | void set_vga(const char* tag) { m_vga_tag.cpy(tag); } |
| r23832 | r23833 | |
| 370 | 370 | class mach8_device : public ibm8514a_device |
| 371 | 371 | { |
| 372 | 372 | public: |
| 373 | mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 373 | mach8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 374 | 374 | mach8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 375 | 375 | |
| 376 | 376 | READ16_MEMBER(mach8_ec0_r); |
| r23832 | r23833 | |
| 499 | 499 | public: |
| 500 | 500 | // construction/destruction |
| 501 | 501 | ati_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 502 | ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 502 | ati_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 503 | 503 | |
| 504 | 504 | virtual READ8_MEMBER(mem_r); |
| 505 | 505 | virtual WRITE8_MEMBER(mem_w); |
| r23832 | r23833 | |
| 536 | 536 | public: |
| 537 | 537 | // construction/destruction |
| 538 | 538 | s3_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 539 | s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 539 | s3_vga_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 540 | 540 | |
| 541 | 541 | virtual READ8_MEMBER(port_03b0_r); |
| 542 | 542 | virtual WRITE8_MEMBER(port_03b0_w); |
| r23832 | r23833 | |
|---|---|---|
| 3 | 3 | const device_type K053250 = &device_creator<k053250_device>; |
| 4 | 4 | |
| 5 | 5 | k053250_device::k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 6 | : device_t(mconfig, K053250, "K053250", tag, owner, clock) | |
| 6 | : device_t(mconfig, K053250, "K053250", tag, owner, clock, "k053250", __FILE__) | |
| 7 | 7 | { |
| 8 | 8 | } |
| 9 | 9 |
| r23832 | r23833 | |
|---|---|---|
| 410 | 410 | const device_type I8275 = &device_creator<i8275_device>; |
| 411 | 411 | |
| 412 | 412 | i8275_device::i8275_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 413 | : device_t(mconfig, I8275, "Intel 8275", tag, owner, clock) | |
| 413 | : device_t(mconfig, I8275, "Intel 8275", tag, owner, clock, "i8275", __FILE__) | |
| 414 | 414 | { |
| 415 | 415 | } |
| 416 | 416 |
| r23832 | r23833 | |
|---|---|---|
| 367 | 367 | const device_type S2636 = &device_creator<s2636_device>; |
| 368 | 368 | |
| 369 | 369 | s2636_device::s2636_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 370 | : device_t(mconfig, S2636, "Signetics 2636", tag, owner, clock) | |
| 370 | : device_t(mconfig, S2636, "Signetics 2636", tag, owner, clock, "s2636", __FILE__) | |
| 371 | 371 | { |
| 372 | 372 | m_token = global_alloc_clear(s2636_state); |
| 373 | 373 | } |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | // tlc34076_device - constructor |
| 41 | 41 | //------------------------------------------------- |
| 42 | 42 | tlc34076_device::tlc34076_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 43 | : device_t(mconfig, TLC34076, "TLC34076", tag, owner, clock), | |
| 43 | : device_t(mconfig, TLC34076, "TLC34076", tag, owner, clock, "tlc34076", __FILE__), | |
| 44 | 44 | m_dacbits(6) |
| 45 | 45 | { |
| 46 | 46 | } |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | //------------------------------------------------- |
| 41 | 41 | |
| 42 | 42 | cdp1861_device::cdp1861_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 43 | : device_t(mconfig, CDP1861, "CDP1861", tag, owner, clock), | |
| 43 | : device_t(mconfig, CDP1861, "CDP1861", tag, owner, clock, "cdp1861", __FILE__), | |
| 44 | 44 | m_write_irq(*this), |
| 45 | 45 | m_write_dma_out(*this), |
| 46 | 46 | m_write_efx(*this) |
| r23832 | r23833 | |
|---|---|---|
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | ef9340_1_device::ef9340_1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 25 | : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock) | |
| 25 | : device_t(mconfig, EF9340_1, "EF9340+EF9341", tag, owner, clock, "ef9340_1", __FILE__) | |
| 26 | 26 | , m_screen_tag(NULL) |
| 27 | 27 | , m_screen(NULL) |
| 28 | 28 | //, m_start_vpos(START_Y) |
| r23832 | r23833 | |
|---|---|---|
| 63 | 63 | |
| 64 | 64 | |
| 65 | 65 | huc6260_device::huc6260_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 66 | : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock) | |
| 66 | : device_t(mconfig, HUC6260, "HuC6260", tag, owner, clock, "huc6260", __FILE__) | |
| 67 | 67 | { |
| 68 | 68 | } |
| 69 | 69 |
| r23832 | r23833 | |
|---|---|---|
| 33 | 33 | //------------------------------------------------- |
| 34 | 34 | |
| 35 | 35 | hd44352_device::hd44352_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock): |
| 36 | device_t(mconfig, HD44352, "hd44352", tag, owner, clock) | |
| 36 | device_t(mconfig, HD44352, "hd44352", tag, owner, clock, "hd44352", __FILE__) | |
| 37 | 37 | { |
| 38 | 38 | } |
| 39 | 39 |
| r23832 | r23833 | |
|---|---|---|
| 193 | 193 | //------------------------------------------------- |
| 194 | 194 | |
| 195 | 195 | upd3301_device::upd3301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 196 | : device_t(mconfig, UPD3301, "UPD3301", tag, owner, clock), | |
| 196 | : device_t(mconfig, UPD3301, "UPD3301", tag, owner, clock, "upd3301", __FILE__), | |
| 197 | 197 | m_status(0), |
| 198 | 198 | m_param_count(0), |
| 199 | 199 | m_data_fifo_pos(0), |
| r23832 | r23833 | |
|---|---|---|
| 90 | 90 | RGB_WHITE |
| 91 | 91 | }; |
| 92 | 92 | |
| 93 | tms9928a_device::tms9928a_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99 ) | |
| 94 | : device_t( mconfig, type, name, tag, owner, clock ), | |
| 93 | tms9928a_device::tms9928a_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99, const char *shortname, const char *source) | |
| 94 | : device_t( mconfig, type, name, tag, owner, clock, shortname, source), | |
| 95 | 95 | device_memory_interface(mconfig, *this), |
| 96 | 96 | m_space_config("vram",ENDIANNESS_BIG, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(memmap)) |
| 97 | 97 | { |
| r23832 | r23833 | |
| 103 | 103 | |
| 104 | 104 | |
| 105 | 105 | tms9928a_device::tms9928a_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 106 | : device_t( mconfig, TMS9928A, "TMS9928A", tag, owner, clock ), | |
| 106 | : device_t( mconfig, TMS9928A, "TMS9928A", tag, owner, clock, "tms9928a", __FILE__), | |
| 107 | 107 | device_memory_interface(mconfig, *this), |
| 108 | 108 | m_space_config("vram",ENDIANNESS_BIG, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(memmap)) |
| 109 | 109 | { |
| r23832 | r23833 | |
|---|---|---|
| 1579 | 1579 | const device_type HD63484 = &device_creator<hd63484_device>; |
| 1580 | 1580 | |
| 1581 | 1581 | hd63484_device::hd63484_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1582 | : device_t(mconfig, HD63484, "HD63484", tag, owner, clock) | |
| 1582 | : device_t(mconfig, HD63484, "HD63484", tag, owner, clock, "hd63484", __FILE__) | |
| 1583 | 1583 | { |
| 1584 | 1584 | m_token = global_alloc_clear(hd63484_state); |
| 1585 | 1585 | } |
| r23832 | r23833 | |
|---|---|---|
| 87 | 87 | public: |
| 88 | 88 | // construction/destruction |
| 89 | 89 | tms9928a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 90 | tms9928a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz | |
| 90 | tms9928a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva, bool is_99, const char *shortname, const char *source); | |
| 91 | 91 | |
| 92 | 92 | DECLARE_READ8_MEMBER( vram_read ); |
| 93 | 93 | DECLARE_WRITE8_MEMBER( vram_write ); |
| r23832 | r23833 | |
| 160 | 160 | { |
| 161 | 161 | public: |
| 162 | 162 | tms9918_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 163 | : tms9928a_device( mconfig, TMS9918, "TMS9918", tag, owner, clock, false, false, true ) { } | |
| 163 | : tms9928a_device( mconfig, TMS9918, "TMS9918", tag, owner, clock, false, false, true, "tms9918", __FILE__) { } | |
| 164 | 164 | }; |
| 165 | 165 | |
| 166 | 166 | |
| r23832 | r23833 | |
| 168 | 168 | { |
| 169 | 169 | public: |
| 170 | 170 | tms9918a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 171 | : tms9928a_device( mconfig, TMS9918A, "TMS9918A", tag, owner, clock, false, true, true ) { } | |
| 171 | : tms9928a_device( mconfig, TMS9918A, "TMS9918A", tag, owner, clock, false, true, true, "tms9918a", __FILE__) { } | |
| 172 | 172 | }; |
| 173 | 173 | |
| 174 | 174 | |
| r23832 | r23833 | |
| 176 | 176 | { |
| 177 | 177 | public: |
| 178 | 178 | tms9118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 179 | : tms9928a_device( mconfig, TMS9118, "TMS9118", tag, owner, clock, false, true, false ) { } | |
| 179 | : tms9928a_device( mconfig, TMS9118, "TMS9118", tag, owner, clock, false, true, false, "tms9118", __FILE__) { } | |
| 180 | 180 | }; |
| 181 | 181 | |
| 182 | 182 | |
| r23832 | r23833 | |
| 184 | 184 | { |
| 185 | 185 | public: |
| 186 | 186 | tms9128_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 187 | : tms9928a_device( mconfig, TMS9128, "TMS9128", tag, owner, clock, false, true, false ) { } | |
| 187 | : tms9928a_device( mconfig, TMS9128, "TMS9128", tag, owner, clock, false, true, false, "tms9128", __FILE__) { } | |
| 188 | 188 | }; |
| 189 | 189 | |
| 190 | 190 | |
| r23832 | r23833 | |
| 192 | 192 | { |
| 193 | 193 | public: |
| 194 | 194 | tms9929_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 195 | : tms9928a_device( mconfig, TMS9929, "TMS9929", tag, owner, clock, true, false, true ) { } | |
| 195 | : tms9928a_device( mconfig, TMS9929, "TMS9929", tag, owner, clock, true, false, true, "tms9929", __FILE__) { } | |
| 196 | 196 | }; |
| 197 | 197 | |
| 198 | 198 | |
| r23832 | r23833 | |
| 200 | 200 | { |
| 201 | 201 | public: |
| 202 | 202 | tms9929a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 203 | : tms9928a_device( mconfig, TMS9929A, "TMS9929A", tag, owner, clock, true, true, true ) { } | |
| 203 | : tms9928a_device( mconfig, TMS9929A, "TMS9929A", tag, owner, clock, true, true, true, "tms9929a", __FILE__) { } | |
| 204 | 204 | }; |
| 205 | 205 | |
| 206 | 206 | |
| r23832 | r23833 | |
| 208 | 208 | { |
| 209 | 209 | public: |
| 210 | 210 | tms9129_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 211 | : tms9928a_device( mconfig, TMS9129, "TMS9129", tag, owner, clock, true, true, false ) { } | |
| 211 | : tms9928a_device( mconfig, TMS9129, "TMS9129", tag, owner, clock, true, true, false, "tms9129", __FILE__) { } | |
| 212 | 212 | }; |
| 213 | 213 | |
| 214 | 214 |
| r23832 | r23833 | |
|---|---|---|
| 446 | 446 | //------------------------------------------------- |
| 447 | 447 | |
| 448 | 448 | crt9007_device::crt9007_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 449 | : device_t(mconfig, CRT9007, "SMC CRT9007", tag, owner, clock), | |
| 449 | : device_t(mconfig, CRT9007, "SMC CRT9007", tag, owner, clock, "crt9007", __FILE__), | |
| 450 | 450 | device_memory_interface(mconfig, *this), |
| 451 | 451 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 14, 0, NULL, *ADDRESS_MAP_NAME(crt9007)) |
| 452 | 452 | { |
| r23832 | r23833 | |
|---|---|---|
| 98 | 98 | //------------------------------------------------- |
| 99 | 99 | |
| 100 | 100 | i8244_device::i8244_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 101 | : device_t(mconfig, I8244, "I8244", tag, owner, clock) | |
| 101 | : device_t(mconfig, I8244, "I8244", tag, owner, clock, "i8244", __FILE__) | |
| 102 | 102 | , device_sound_interface(mconfig, *this) |
| 103 | 103 | , m_irq_func(*this) |
| 104 | 104 | , m_postprocess_func(*this) |
| r23832 | r23833 | |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | |
| 114 | i8244_device::i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines) | |
| 115 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 114 | i8244_device::i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source) | |
| 115 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 116 | 116 | , device_sound_interface(mconfig, *this) |
| 117 | 117 | , m_irq_func(*this) |
| 118 | 118 | , m_postprocess_func(*this) |
| r23832 | r23833 | |
| 126 | 126 | |
| 127 | 127 | |
| 128 | 128 | i8245_device::i8245_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 129 | : i8244_device(mconfig, I8245, "I8245", tag, owner, clock, i8245_device::LINES) | |
| 129 | : i8244_device(mconfig, I8245, "I8245", tag, owner, clock, i8245_device::LINES, "i8245", __FILE__) | |
| 130 | 130 | { |
| 131 | 131 | } |
| 132 | 132 |
| r23832 | r23833 | |
|---|---|---|
| 296 | 296 | } |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | dl1416_device::dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 300 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 299 | dl1416_device::dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 300 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 301 | 301 | { |
| 302 | 302 | m_token = global_alloc_clear(dl1416_state); |
| 303 | 303 | } |
| r23832 | r23833 | |
| 334 | 334 | const device_type DL1416B = &device_creator<dl1416b_device>; |
| 335 | 335 | |
| 336 | 336 | dl1416b_device::dl1416b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 337 | : dl1416_device(mconfig, DL1416B, "DL1416B", tag, owner, clock) | |
| 337 | : dl1416_device(mconfig, DL1416B, "DL1416B", tag, owner, clock, "dl1416b", __FILE__) | |
| 338 | 338 | { |
| 339 | 339 | } |
| 340 | 340 | |
| r23832 | r23833 | |
| 342 | 342 | const device_type DL1416T = &device_creator<dl1416t_device>; |
| 343 | 343 | |
| 344 | 344 | dl1416t_device::dl1416t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 345 | : dl1416_device(mconfig, DL1416T, "DL1416T", tag, owner, clock) | |
| 345 | : dl1416_device(mconfig, DL1416T, "DL1416T", tag, owner, clock, "dl1416t", __FILE__) | |
| 346 | 346 | { |
| 347 | 347 | } |
| r23832 | r23833 | |
|---|---|---|
| 80 | 80 | public: |
| 81 | 81 | // construction/destruction |
| 82 | 82 | i8244_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 83 | i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines); | |
| 83 | i8244_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source); | |
| 84 | 84 | |
| 85 | 85 | // static configuration helpers |
| 86 | 86 | static void set_screen_tag(device_t &device, const char *screen_tag) { downcast<i8244_device &>(device).m_screen_tag = screen_tag; } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | class dl1416_device : public device_t |
| 54 | 54 | { |
| 55 | 55 | public: |
| 56 | dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 56 | dl1416_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 57 | 57 | ~dl1416_device() { global_free(m_token); } |
| 58 | 58 | |
| 59 | 59 | // access to legacy token |
| r23832 | r23833 | |
|---|---|---|
| 69 | 69 | //------------------------------------------------- |
| 70 | 70 | |
| 71 | 71 | hd44102_device::hd44102_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 72 | : device_t(mconfig, HD44102, "HD44102", tag, owner, clock), | |
| 72 | : device_t(mconfig, HD44102, "HD44102", tag, owner, clock, "hd44102", __FILE__), | |
| 73 | 73 | m_cs2(0), |
| 74 | 74 | m_page(0), |
| 75 | 75 | m_x(0), |
| r23832 | r23833 | |
|---|---|---|
| 38 | 38 | //------------------------------------------------- |
| 39 | 39 | |
| 40 | 40 | ramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 41 | : device_t(mconfig, RAMDAC, "ramdac", tag, owner, clock), | |
| 41 | : device_t(mconfig, RAMDAC, "ramdac", tag, owner, clock, "ramdac", __FILE__), | |
| 42 | 42 | device_memory_interface(mconfig, *this), |
| 43 | 43 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, NULL, *ADDRESS_MAP_NAME(ramdac_palram)) |
| 44 | 44 | { |
| r23832 | r23833 | |
|---|---|---|
| 82 | 82 | const device_type SPEAKER_SOUND = &device_creator<speaker_sound_device>; |
| 83 | 83 | |
| 84 | 84 | speaker_sound_device::speaker_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 85 | : device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock, "speaker", __FILE__), | |
| 85 | : device_t(mconfig, SPEAKER_SOUND, "Filtered 1-bit DAC", tag, owner, clock, "speaker_sound", __FILE__), | |
| 86 | 86 | device_sound_interface(mconfig, *this) |
| 87 | 87 | { |
| 88 | 88 | } |
| r23832 | r23833 | |
|---|---|---|
| 32 | 32 | //------------------------------------------------- |
| 33 | 33 | |
| 34 | 34 | software_list_device::software_list_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 35 | : device_t(mconfig, SOFTWARE_LIST, "Software list", tag, owner, clock), | |
| 35 | : device_t(mconfig, SOFTWARE_LIST, "Software list", tag, owner, clock, "software_list", __FILE__), | |
| 36 | 36 | m_list_name(NULL), |
| 37 | 37 | m_list_type(SOFTWARE_LIST_ORIGINAL_SYSTEM), |
| 38 | 38 | m_filter(NULL) |
| r23832 | r23833 | |
|---|---|---|
| 76 | 76 | |
| 77 | 77 | const device_type TMS6100 = &device_creator<tms6100_device>; |
| 78 | 78 | |
| 79 | tms6100_device::tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 80 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 79 | tms6100_device::tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 80 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 81 | 81 | { |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | tms6100_device::tms6100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 85 | : device_t(mconfig, TMS6100, "TMS6100", tag, owner, clock) | |
| 85 | : device_t(mconfig, TMS6100, "TMS6100", tag, owner, clock, "tms6100", __FILE__) | |
| 86 | 86 | { |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | const device_type M58819 = &device_creator<m58819_device>; |
| 90 | 90 | |
| 91 | 91 | m58819_device::m58819_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 92 | : tms6100_device(mconfig, M58819, "M58819", tag, owner, clock) | |
| 92 | : tms6100_device(mconfig, M58819, "M58819", tag, owner, clock, "m58819", __FILE__) | |
| 93 | 93 | { |
| 94 | 94 | } |
| 95 | 95 |
| r23832 | r23833 | |
|---|---|---|
| 42 | 42 | //------------------------------------------------- |
| 43 | 43 | |
| 44 | 44 | ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 45 | : device_t(mconfig, INS8154, "INS8154", tag, owner, clock) | |
| 45 | : device_t(mconfig, INS8154, "INS8154", tag, owner, clock, "ins8154", __FILE__) | |
| 46 | 46 | { |
| 47 | 47 | } |
| 48 | 48 |
| r23832 | r23833 | |
|---|---|---|
| 33 | 33 | const device_type X76F041 = &device_creator<x76f041_device>; |
| 34 | 34 | |
| 35 | 35 | x76f041_device::x76f041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 36 | : device_secure_serial_flash(mconfig, X76F041, "X76F041", tag, owner, clock) | |
| 36 | : device_secure_serial_flash(mconfig, X76F041, "X76F041", tag, owner, clock, "x76f041", __FILE__) | |
| 37 | 37 | { |
| 38 | 38 | } |
| 39 | 39 |
| r23832 | r23833 | |
|---|---|---|
| 9 | 9 | { |
| 10 | 10 | public: |
| 11 | 11 | tms6100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 12 | tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 12 | tms6100_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 13 | 13 | |
| 14 | 14 | DECLARE_WRITE_LINE_MEMBER( tms6100_m0_w ); |
| 15 | 15 | DECLARE_WRITE_LINE_MEMBER( tms6100_m1_w ); |
| r23832 | r23833 | |
|---|---|---|
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | |
| 61 | 61 | acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock) | |
| 62 | : device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock, "acia6850", __FILE__) | |
| 63 | 63 | { |
| 64 | 64 | memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface)); |
| 65 | 65 | } |
| r23832 | r23833 | |
|---|---|---|
| 46 | 46 | |
| 47 | 47 | |
| 48 | 48 | mm58274c_device::mm58274c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 49 | : device_t(mconfig, MM58274C, "National Semiconductor MM58274C", tag, owner, clock) | |
| 49 | : device_t(mconfig, MM58274C, "National Semiconductor MM58274C", tag, owner, clock, "mm58274c", __FILE__) | |
| 50 | 50 | { |
| 51 | 51 | } |
| 52 | 52 |
| r23832 | r23833 | |
|---|---|---|
| 209 | 209 | //------------------------------------------------- |
| 210 | 210 | |
| 211 | 211 | wd11c00_17_device::wd11c00_17_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 212 | : device_t(mconfig, WD11C00_17, "Western Digital WD11C00-17", tag, owner, clock), | |
| 212 | : device_t(mconfig, WD11C00_17, "Western Digital WD11C00-17", tag, owner, clock, "wd11c00_17", __FILE__), | |
| 213 | 213 | m_status(0), |
| 214 | 214 | m_ra(0), |
| 215 | 215 | m_irq5(CLEAR_LINE), |
| r23832 | r23833 | |
|---|---|---|
| 93 | 93 | //------------------------------------------------- |
| 94 | 94 | |
| 95 | 95 | cdp1871_device::cdp1871_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 96 | : device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock), | |
| 96 | : device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock, "cdp1871", __FILE__), | |
| 97 | 97 | m_inhibit(false), |
| 98 | 98 | m_sense(0), |
| 99 | 99 | m_drive(0), |
| r23832 | r23833 | |
|---|---|---|
| 49 | 49 | const device_type ADC0834 = &device_creator<adc0834_device>; |
| 50 | 50 | const device_type ADC0838 = &device_creator<adc0838_device>; |
| 51 | 51 | |
| 52 | adc083x_device::adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 53 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 52 | adc083x_device::adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 53 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 54 | 54 | m_cs(0), |
| 55 | 55 | m_clk(0), |
| 56 | 56 | m_di(0), |
| r23832 | r23833 | |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | adc0831_device::adc0831_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 70 | : adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock) | |
| 70 | : adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock, "adc0831", __FILE__) | |
| 71 | 71 | { |
| 72 | 72 | m_mux_bits = 0; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | adc0832_device::adc0832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 76 | : adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock) | |
| 76 | : adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock, "adc0832", __FILE__) | |
| 77 | 77 | { |
| 78 | 78 | m_mux_bits = 2; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | adc0834_device::adc0834_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 82 | : adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock) | |
| 82 | : adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock, "adc0834", __FILE__) | |
| 83 | 83 | { |
| 84 | 84 | m_mux_bits = 3; |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | adc0838_device::adc0838_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 88 | : adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock) | |
| 88 | : adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock, "adc0838", __FILE__) | |
| 89 | 89 | { |
| 90 | 90 | m_mux_bits = 4; |
| 91 | 91 | } |
| r23832 | r23833 | |
|---|---|---|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | scsibus_device::scsibus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 35 | : device_t(mconfig, SCSIBUS, "SCSI bus", tag, owner, clock) | |
| 35 | : device_t(mconfig, SCSIBUS, "SCSI bus", tag, owner, clock, "scsibus", __FILE__) | |
| 36 | 36 | { |
| 37 | 37 | } |
| 38 | 38 |
| r23832 | r23833 | |
|---|---|---|
| 92 | 92 | //------------------------------------------------- |
| 93 | 93 | |
| 94 | 94 | i8355_device::i8355_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 95 | : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock), | |
| 95 | : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock, "i8355", __FILE__), | |
| 96 | 96 | device_memory_interface(mconfig, *this), |
| 97 | 97 | m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355)) |
| 98 | 98 | { |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | const device_type DS2401 = &device_creator<ds2401_device>; |
| 29 | 29 | |
| 30 | 30 | ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, DS2401, "DS2401", tag, owner, clock) | |
| 31 | : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__) | |
| 32 | 32 | { |
| 33 | 33 | } |
| 34 | 34 |
| r23832 | r23833 | |
|---|---|---|
| 43 | 43 | class adc083x_device : public device_t |
| 44 | 44 | { |
| 45 | 45 | public: |
| 46 | adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 46 | adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 47 | 47 | |
| 48 | 48 | // static configuration helpers |
| 49 | 49 | static void set_input_callback(device_t &device, adc083x_input_callback input_callback) { downcast<adc083x_device &>(device).m_input_callback = input_callback; } |
| r23832 | r23833 | |
|---|---|---|
| 106 | 106 | Constructor |
| 107 | 107 | */ |
| 108 | 108 | tms9901_device::tms9901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 109 | : device_t(mconfig, TMS9901, "TMS9901 Programmable System Interface", tag, owner, clock) | |
| 109 | : device_t(mconfig, TMS9901, "TMS9901 Programmable System Interface", tag, owner, clock, "tms9901", __FILE__) | |
| 110 | 110 | { |
| 111 | 111 | } |
| 112 | 112 |
| r23832 | r23833 | |
|---|---|---|
| 281 | 281 | //------------------------------------------------- |
| 282 | 282 | |
| 283 | 283 | mccs1850_device::mccs1850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 284 | : device_t(mconfig, MCCS1850, "MCCS1850", tag, owner, clock), | |
| 284 | : device_t(mconfig, MCCS1850, "MCCS1850", tag, owner, clock, "mccs1850", __FILE__), | |
| 285 | 285 | device_rtc_interface(mconfig, *this), |
| 286 | 286 | device_nvram_interface(mconfig, *this), |
| 287 | 287 | m_pse(1), |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | ds75160a_device::ds75160a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock), | |
| 31 | : device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock, "ds75160a", __FILE__), | |
| 32 | 32 | m_read(*this), |
| 33 | 33 | m_write(*this), |
| 34 | 34 | m_data(0xff), |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | k056230_device::k056230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, K056230, "Konami 056230", tag, owner, clock) | |
| 23 | : device_t(mconfig, K056230, "Konami 056230", tag, owner, clock, "k056230", __FILE__) | |
| 24 | 24 | { |
| 25 | 25 | } |
| 26 | 26 |
| r23832 | r23833 | |
|---|---|---|
| 64 | 64 | //------------------------------------------------- |
| 65 | 65 | |
| 66 | 66 | msm6242_device::msm6242_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 67 | : device_t(mconfig, msm6242, "msm6242", tag, owner, clock), | |
| 67 | : device_t(mconfig, msm6242, "msm6242", tag, owner, clock, "msm6242", __FILE__), | |
| 68 | 68 | device_rtc_interface(mconfig, *this) |
| 69 | 69 | { |
| 70 | 70 | } |
| r23832 | r23833 | |
|---|---|---|
| 89 | 89 | //------------------------------------------------- |
| 90 | 90 | |
| 91 | 91 | msm5832_device::msm5832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 92 | : device_t(mconfig, MSM5832, "MSM5832", tag, owner, clock), | |
| 92 | : device_t(mconfig, MSM5832, "MSM5832", tag, owner, clock, "msm5832", __FILE__), | |
| 93 | 93 | device_rtc_interface(mconfig, *this), |
| 94 | 94 | m_hold(0), |
| 95 | 95 | m_address(0), |
| r23832 | r23833 | |
|---|---|---|
| 19 | 19 | const device_type RP5H01 = &device_creator<rp5h01_device>; |
| 20 | 20 | |
| 21 | 21 | rp5h01_device::rp5h01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 22 | : device_t(mconfig, RP5H01, "RP5H01", tag, owner, clock) | |
| 22 | : device_t(mconfig, RP5H01, "RP5H01", tag, owner, clock, "rp5h01", __FILE__) | |
| 23 | 23 | { |
| 24 | 24 | } |
| 25 | 25 |
| r23832 | r23833 | |
|---|---|---|
| 467 | 467 | //------------------------------------------------- |
| 468 | 468 | |
| 469 | 469 | z80dart_channel::z80dart_channel(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 470 | : device_t(mconfig, Z80DART_CHANNEL, "Z80-DART channel", tag, owner, clock), | |
| 470 | : device_t(mconfig, Z80DART_CHANNEL, "Z80-DART channel", tag, owner, clock, "z80dart_channel", __FILE__), | |
| 471 | 471 | device_serial_interface(mconfig, *this), |
| 472 | 472 | m_rx_error(0), |
| 473 | 473 | m_rx_fifo(-1), |
| r23832 | r23833 | |
|---|---|---|
| 740 | 740 | } |
| 741 | 741 | |
| 742 | 742 | wd33c93_device::wd33c93_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 743 | : device_t(mconfig, WD33C93, "33C93 SCSI", tag, owner, clock) | |
| 743 | : device_t(mconfig, WD33C93, "33C93 SCSI", tag, owner, clock, "wd33c93", __FILE__) | |
| 744 | 744 | { |
| 745 | 745 | } |
| 746 | 746 |
| r23832 | r23833 | |
|---|---|---|
| 105 | 105 | //------------------------------------------------- |
| 106 | 106 | |
| 107 | 107 | nmc9306_device::nmc9306_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 108 | : device_t(mconfig, NMC9306, "NMC9306", tag, owner, clock), | |
| 108 | : device_t(mconfig, NMC9306, "NMC9306", tag, owner, clock, "nmc9306", __FILE__), | |
| 109 | 109 | device_nvram_interface(mconfig, *this), |
| 110 | 110 | m_state(STATE_IDLE), |
| 111 | 111 | m_ewen(false) |
| r23832 | r23833 | |
|---|---|---|
| 7 | 7 | jvsdev.jvs_host_tag = jvs_host_tag; |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, type, name, tag, owner, clock) | |
| 10 | jvs_device::jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 11 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 11 | 12 | { |
| 12 | 13 | jvs_host_tag = 0; |
| 13 | 14 | next_device = 0; |
| r23832 | r23833 | |
|---|---|---|
| 441 | 441 | const device_type PIC8259 = &device_creator<pic8259_device>; |
| 442 | 442 | |
| 443 | 443 | pic8259_device::pic8259_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 444 | : device_t(mconfig, PIC8259, "Intel PIC8259", tag, owner, clock) | |
| 444 | : device_t(mconfig, PIC8259, "Intel PIC8259", tag, owner, clock, "pit8259", __FILE__) | |
| 445 | 445 | , m_out_int_func(*this) |
| 446 | 446 | , m_sp_en_func(*this) |
| 447 | 447 | , m_read_slave_ack_func(*this) |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | const device_type UPD4701 = &device_creator<upd4701_device>; |
| 18 | 18 | |
| 19 | 19 | upd4701_device::upd4701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 20 | : device_t(mconfig, UPD4701, "NEC uPD4701 Encoder", tag, owner, clock) | |
| 20 | : device_t(mconfig, UPD4701, "NEC uPD4701 Encoder", tag, owner, clock, "upd4701", __FILE__) | |
| 21 | 21 | { |
| 22 | 22 | } |
| 23 | 23 |
| r23832 | r23833 | |
|---|---|---|
| 11 | 11 | class jvs_device : public device_t |
| 12 | 12 | { |
| 13 | 13 | public: |
| 14 | jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 14 | jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 15 | 15 | static void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag); |
| 16 | 16 | |
| 17 | 17 | void chain(jvs_device *dev); |
| r23832 | r23833 | |
|---|---|---|
| 15 | 15 | |
| 16 | 16 | const device_type MICROTOUCH = &device_creator<microtouch_device>; |
| 17 | 17 | |
| 18 | microtouch_device::microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock) | |
| 19 | : device_t(mconfig, type, name, tag, owner, clock, "microtouch", __FILE__), | |
| 18 | microtouch_device::microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 19 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 20 | 20 | m_out_tx_func(*this), |
| 21 | 21 | m_touch(*this, "TOUCH"), |
| 22 | 22 | m_touchx(*this, "TOUCH_X"), |
| r23832 | r23833 | |
| 283 | 283 | const device_type MICROTOUCH_SERIAL = &device_creator<microtouch_serial_device>; |
| 284 | 284 | |
| 285 | 285 | microtouch_serial_device::microtouch_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 286 | : microtouch_device(mconfig, MICROTOUCH_SERIAL, "Microtouch Serial Touchscreen", tag, owner, clock), | |
| 286 | : microtouch_device(mconfig, MICROTOUCH_SERIAL, "Microtouch Serial Touchscreen", tag, owner, clock, "microtouch_serial", __FILE__), | |
| 287 | 287 | device_serial_interface(mconfig, *this), |
| 288 | 288 | m_out_stx_func(*this) |
| 289 | 289 | { |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | //------------------------------------------------- |
| 74 | 74 | |
| 75 | 75 | i2cmem_device::i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 76 | : device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock), | |
| 76 | : device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock, "i2cmem", __FILE__), | |
| 77 | 77 | device_memory_interface(mconfig, *this), |
| 78 | 78 | device_nvram_interface(mconfig, *this), |
| 79 | 79 | m_scl( 0 ), |
| r23832 | r23833 | |
|---|---|---|
| 8 | 8 | public device_t |
| 9 | 9 | { |
| 10 | 10 | public: |
| 11 | microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock); | |
| 11 | microtouch_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 12 | 12 | microtouch_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 13 | 13 | template<class _Object> static devcb2_base &static_set_tx_callback(device_t &device, _Object object) { return downcast<microtouch_device &>(device).m_out_tx_func.set_callback(object); } |
| 14 | 14 |
| r23832 | r23833 | |
|---|---|---|
| 225 | 225 | const device_type ER59256 = &device_creator<er59256_device>; |
| 226 | 226 | |
| 227 | 227 | er59256_device::er59256_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 228 | : device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock) | |
| 228 | : device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock, "er59256", __FILE__) | |
| 229 | 229 | { |
| 230 | 230 | m_token = global_alloc_clear(er59256_t); |
| 231 | 231 | } |
| r23832 | r23833 | |
|---|---|---|
| 178 | 178 | const device_type TTL74153 = &device_creator<ttl74153_device>; |
| 179 | 179 | |
| 180 | 180 | ttl74153_device::ttl74153_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 181 | : device_t(mconfig, TTL74153, "74153", tag, owner, clock) | |
| 181 | : device_t(mconfig, TTL74153, "74153", tag, owner, clock, "74153", __FILE__) | |
| 182 | 182 | { |
| 183 | 183 | m_token = global_alloc_clear(ttl74153_state); |
| 184 | 184 | } |
| r23832 | r23833 | |
|---|---|---|
| 59 | 59 | Constructor |
| 60 | 60 | */ |
| 61 | 61 | tms9902_device::tms9902_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, TMS9902, "TMS9902 Asynchronous Communication Controller", tag, owner, clock) | |
| 62 | : device_t(mconfig, TMS9902, "TMS9902 Asynchronous Communication Controller", tag, owner, clock, "tms9902", __FILE__) | |
| 63 | 63 | { |
| 64 | 64 | } |
| 65 | 65 |
| r23832 | r23833 | |
|---|---|---|
| 38 | 38 | //------------------------------------------------- |
| 39 | 39 | |
| 40 | 40 | at28c16_device::at28c16_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 41 | : device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock), | |
| 41 | : device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock, "at28c16", __FILE__), | |
| 42 | 42 | device_memory_interface(mconfig, *this), |
| 43 | 43 | device_nvram_interface(mconfig, *this), |
| 44 | 44 | m_a9_12v( 0 ), |
| r23832 | r23833 | |
|---|---|---|
| 112 | 112 | //------------------------------------------------- |
| 113 | 113 | |
| 114 | 114 | mc146818_device::mc146818_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 115 | : device_t(mconfig, MC146818, "NVRAM", tag, owner, clock), | |
| 115 | : device_t(mconfig, MC146818, "NVRAM", tag, owner, clock, "mc146818", __FILE__), | |
| 116 | 116 | device_rtc_interface(mconfig, *this), |
| 117 | 117 | device_nvram_interface(mconfig, *this), |
| 118 | 118 | m_write_irq(*this), |
| r23832 | r23833 | |
|---|---|---|
| 74 | 74 | const device_type S3C2440 = &device_creator<s3c2440_device>; |
| 75 | 75 | |
| 76 | 76 | s3c2440_device::s3c2440_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 77 | : device_t(mconfig, S3C2440, "Samsung S3C2440", tag, owner, clock) | |
| 77 | : device_t(mconfig, S3C2440, "Samsung S3C2440", tag, owner, clock, "s3c2440", __FILE__) | |
| 78 | 78 | { |
| 79 | 79 | m_token = global_alloc_clear(s3c24xx_t); |
| 80 | 80 | } |
| r23832 | r23833 | |
|---|---|---|
| 14 | 14 | const device_type ADC1038 = &device_creator<adc1038_device>; |
| 15 | 15 | |
| 16 | 16 | adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 17 | : device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock) | |
| 17 | : device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock, "adc1038", __FILE__) | |
| 18 | 18 | { |
| 19 | 19 | } |
| 20 | 20 |
| r23832 | r23833 | |
|---|---|---|
| 38 | 38 | //------------------------------------------------- |
| 39 | 39 | |
| 40 | 40 | aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 41 | : device_t(mconfig, AAKART, "aakart", tag, owner, clock) | |
| 41 | : device_t(mconfig, AAKART, "aakart", tag, owner, clock, "aakart", __FILE__) | |
| 42 | 42 | { |
| 43 | 43 | } |
| 44 | 44 |
| r23832 | r23833 | |
|---|---|---|
| 4 | 4 | const device_type ADDRESS_MAP_BANK = &device_creator<address_map_bank_device>; |
| 5 | 5 | |
| 6 | 6 | address_map_bank_device::address_map_bank_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 7 | : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock), | |
| 7 | : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock, "address_map_bank", __FILE__), | |
| 8 | 8 | device_memory_interface(mconfig, *this), |
| 9 | 9 | m_endianness(ENDIANNESS_NATIVE), |
| 10 | 10 | m_databus_width(0), |
| r23832 | r23833 | |
|---|---|---|
| 138 | 138 | //------------------------------------------------- |
| 139 | 139 | |
| 140 | 140 | ncr539x_device::ncr539x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 141 | : device_t(mconfig, NCR539X, "539x SCSI", tag, owner, clock) | |
| 141 | : device_t(mconfig, NCR539X, "539x SCSI", tag, owner, clock, "ncr539x", __FILE__) | |
| 142 | 142 | { |
| 143 | 143 | } |
| 144 | 144 |
| r23832 | r23833 | |
|---|---|---|
| 881 | 881 | const device_type NETLIST = &device_creator<netlist_mame_device>; |
| 882 | 882 | |
| 883 | 883 | netlist_mame_device::netlist_mame_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 884 | : device_t(mconfig, NETLIST, "netlist", tag, owner, clock), | |
| 884 | : device_t(mconfig, NETLIST, "netlist", tag, owner, clock, "netlist_mame", __FILE__), | |
| 885 | 885 | device_execute_interface(mconfig, *this) |
| 886 | 886 | { |
| 887 | 887 | } |
| r23832 | r23833 | |
|---|---|---|
| 26 | 26 | //------------------------------------------------- |
| 27 | 27 | |
| 28 | 28 | mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 29 | : device_t(mconfig, MB3773, "MB3773", tag, owner, clock) | |
| 29 | : device_t(mconfig, MB3773, "MB3773", tag, owner, clock, "mb3773", __FILE__) | |
| 30 | 30 | { |
| 31 | 31 | } |
| 32 | 32 |
| r23832 | r23833 | |
|---|---|---|
| 75 | 75 | //------------------------------------------------- |
| 76 | 76 | |
| 77 | 77 | ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 78 | : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock) | |
| 78 | : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock, "ttl74145", __FILE__) | |
| 79 | 79 | , m_number(0) |
| 80 | 80 | { |
| 81 | 81 | } |
| r23832 | r23833 | |
|---|---|---|
| 829 | 829 | const device_type MC6843 = &device_creator<mc6843_device>; |
| 830 | 830 | |
| 831 | 831 | mc6843_device::mc6843_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 832 | : device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock) | |
| 832 | : device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock, "mc6843", __FILE__) | |
| 833 | 833 | { |
| 834 | 834 | m_token = global_alloc_clear(mc6843_t); |
| 835 | 835 | } |
| r23832 | r23833 | |
|---|---|---|
| 35 | 35 | const device_type ADC12130 = &device_creator<adc12130_device>; |
| 36 | 36 | |
| 37 | 37 | adc12130_device::adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 38 | : adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock) | |
| 38 | : adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock, "adc12130", __FILE__) | |
| 39 | 39 | { |
| 40 | 40 | } |
| 41 | 41 | |
| r23832 | r23833 | |
| 43 | 43 | const device_type ADC12132 = &device_creator<adc12132_device>; |
| 44 | 44 | |
| 45 | 45 | adc12132_device::adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 46 | : adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock) | |
| 46 | : adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock, "adc12132", __FILE__) | |
| 47 | 47 | { |
| 48 | 48 | } |
| 49 | 49 | |
| r23832 | r23833 | |
| 51 | 51 | const device_type ADC12138 = &device_creator<adc12138_device>; |
| 52 | 52 | |
| 53 | 53 | adc12138_device::adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 54 | : device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock) | |
| 54 | : device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock, "adc12138", __FILE__) | |
| 55 | 55 | { |
| 56 | 56 | } |
| 57 | adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 58 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 57 | adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 58 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 59 | 59 | { |
| 60 | 60 | } |
| 61 | 61 |
| r23832 | r23833 | |
|---|---|---|
| 829 | 829 | //------------------------------------------------- |
| 830 | 830 | |
| 831 | 831 | mcf5206e_peripheral_device::mcf5206e_peripheral_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 832 | : device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock), | |
| 832 | : device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock, "mcf5206e", __FILE__), | |
| 833 | 833 | device_memory_interface(mconfig, *this), |
| 834 | 834 | m_space_config("coldfire_regs", ENDIANNESS_BIG, 32,10, 0, NULL, *ADDRESS_MAP_NAME(coldfire_regs_map)) |
| 835 | 835 |
| r23832 | r23833 | |
|---|---|---|
| 16 | 16 | const device_type MB14241 = &device_creator<mb14241_device>; |
| 17 | 17 | |
| 18 | 18 | mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 19 | : device_t(mconfig, MB14241, "MB14241", tag, owner, clock) | |
| 19 | : device_t(mconfig, MB14241, "MB14241", tag, owner, clock, "mb14241", __FILE__) | |
| 20 | 20 | { |
| 21 | 21 | } |
| 22 | 22 |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | { |
| 32 | 32 | public: |
| 33 | 33 | adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 34 | adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 34 | adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 35 | 35 | ~adc12138_device() {} |
| 36 | 36 | |
| 37 | 37 | DECLARE_WRITE8_MEMBER( di_w ); |
| r23832 | r23833 | |
|---|---|---|
| 44 | 44 | //------------------------------------------------- |
| 45 | 45 | |
| 46 | 46 | at45db041_device::at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 47 | : device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock), | |
| 47 | : device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock, "at45db041", __FILE__), | |
| 48 | 48 | device_nvram_interface(mconfig, *this) |
| 49 | 49 | { |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | |
| 53 | at45db041_device::at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 54 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 53 | at45db041_device::at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 54 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 55 | 55 | device_nvram_interface(mconfig, *this) |
| 56 | 56 | { |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | |
| 60 | 60 | at45db081_device::at45db081_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 61 | : at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock) | |
| 61 | : at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock, "at45db081", __FILE__) | |
| 62 | 62 | { |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | |
| 66 | 66 | at45db161_device::at45db161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 67 | : at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock) | |
| 67 | : at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock, "at45db161", __FILE__) | |
| 68 | 68 | { |
| 69 | 69 | } |
| 70 | 70 |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | ttl7474_device::ttl7474_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | : device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock), | |
| 57 | : device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock, "7474", __FILE__), | |
| 58 | 58 | m_output_func(*this), |
| 59 | 59 | m_comp_output_func(*this) |
| 60 | 60 | { |
| r23832 | r23833 | |
|---|---|---|
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | |
| 61 | 61 | i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, I8251, "I8251", tag, owner, clock), | |
| 62 | : device_t(mconfig, I8251, "I8251", tag, owner, clock, "i8251", __FILE__), | |
| 63 | 63 | device_serial_interface(mconfig, *this) |
| 64 | 64 | { |
| 65 | 65 | } |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | { |
| 38 | 38 | public: |
| 39 | 39 | at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 40 | at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 40 | at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 41 | 41 | |
| 42 | 42 | DECLARE_WRITE_LINE_MEMBER(cs_w); |
| 43 | 43 | DECLARE_WRITE_LINE_MEMBER(sck_w); |
| r23832 | r23833 | |
|---|---|---|
| 26 | 26 | //------------------------------------------------- |
| 27 | 27 | |
| 28 | 28 | m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 29 | : device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock), | |
| 29 | : device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock, "m6m80011ap", __FILE__), | |
| 30 | 30 | device_nvram_interface(mconfig, *this) |
| 31 | 31 | { |
| 32 | 32 | } |
| r23832 | r23833 | |
|---|---|---|
| 11 | 11 | const device_type MB89371 = &device_creator<mb89371_device>; |
| 12 | 12 | |
| 13 | 13 | mb89371_device::mb89371_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) |
| 14 | : device_t(mconfig, MB89371, "MB89371", tag, owner, clock) | |
| 14 | : device_t(mconfig, MB89371, "MB89371", tag, owner, clock, "mb89371", __FILE__) | |
| 15 | 15 | { |
| 16 | 16 | } |
| 17 | 17 |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | ds75161a_device::ds75161a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock), | |
| 31 | : device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock, "ds75161a", __FILE__), | |
| 32 | 32 | m_ren(1), |
| 33 | 33 | m_ifc(1), |
| 34 | 34 | m_ndac(1), |
| r23832 | r23833 | |
|---|---|---|
| 105 | 105 | //------------------------------------------------- |
| 106 | 106 | |
| 107 | 107 | mc6852_device::mc6852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 108 | : device_t(mconfig, MC6852, "MC6852", tag, owner, clock) | |
| 108 | : device_t(mconfig, MC6852, "MC6852", tag, owner, clock, "mc6852", __FILE__) | |
| 109 | 109 | { |
| 110 | 110 | } |
| 111 | 111 |
| r23832 | r23833 | |
|---|---|---|
| 4 | 4 | device_secure_serial_flash::device_secure_serial_flash(const machine_config &mconfig, |
| 5 | 5 | device_type type, |
| 6 | 6 | const char *name, const char *tag, |
| 7 | device_t *owner, UINT32 clock) : | |
| 8 | device_t(mconfig, type, name, tag, owner, clock), | |
| 7 | device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 8 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 9 | 9 | device_nvram_interface(mconfig, *this) |
| 10 | 10 | { |
| 11 | 11 | } |
| r23832 | r23833 | |
|---|---|---|
| 27 | 27 | virtual void sda_0() = 0; |
| 28 | 28 | virtual void sda_1() = 0; |
| 29 | 29 | |
| 30 | device_secure_serial_flash(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 30 | device_secure_serial_flash(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 31 | 31 | virtual void device_start(); |
| 32 | 32 | virtual void device_reset(); |
| 33 | 33 | }; |
| r23832 | r23833 | |
|---|---|---|
| 25 | 25 | //------------------------------------------------- |
| 26 | 26 | |
| 27 | 27 | adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 28 | : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock), | |
| 28 | : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock, "adc0808", __FILE__), | |
| 29 | 29 | m_address(0), |
| 30 | 30 | m_start(0), |
| 31 | 31 | m_eoc(0), |
| r23832 | r23833 | |
|---|---|---|
| 48 | 48 | //------------------------------------------------- |
| 49 | 49 | |
| 50 | 50 | f3853_device::f3853_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 51 | : device_t(mconfig, F3853, "F3853", tag, owner, clock) | |
| 51 | : device_t(mconfig, F3853, "F3853", tag, owner, clock, "f3853", __FILE__) | |
| 52 | 52 | { |
| 53 | 53 | } |
| 54 | 54 |
| r23832 | r23833 | |
|---|---|---|
| 23 | 23 | //------------------------------------------------- |
| 24 | 24 | |
| 25 | 25 | i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 26 | : device_t(mconfig, I8243, "I8243", tag, owner, clock), | |
| 26 | : device_t(mconfig, I8243, "I8243", tag, owner, clock, "i8243", __FILE__), | |
| 27 | 27 | m_readhandler(*this), |
| 28 | 28 | m_writehandler(*this) |
| 29 | 29 | { |
| r23832 | r23833 | |
|---|---|---|
| 489 | 489 | // DUART channel class stuff |
| 490 | 490 | |
| 491 | 491 | duart68681_channel::duart68681_channel(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 492 | : device_t(mconfig, DUART68681CHANNEL, "DUART 68681 channel", tag, owner, clock), | |
| 492 | : device_t(mconfig, DUART68681CHANNEL, "DUART 68681 channel", tag, owner, clock, "duart68681_channel", __FILE__), | |
| 493 | 493 | device_serial_interface(mconfig, *this), |
| 494 | 494 | MR1(0), |
| 495 | 495 | MR2(0), |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | const device_type X76F100 = &device_creator<x76f100_device>; |
| 32 | 32 | |
| 33 | 33 | x76f100_device::x76f100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 34 | : device_secure_serial_flash(mconfig, X76F100, "X76F100", tag, owner, clock) | |
| 34 | : device_secure_serial_flash(mconfig, X76F100, "X76F100", tag, owner, clock, "x76f100", __FILE__) | |
| 35 | 35 | { |
| 36 | 36 | } |
| 37 | 37 |
| r23832 | r23833 | |
|---|---|---|
| 76 | 76 | // legacy_mos6526_device - constructor |
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | legacy_mos6526_device::legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 80 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 79 | legacy_mos6526_device::legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 80 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 81 | 81 | { |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | legacy_mos6526r1_device::legacy_mos6526r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 85 | : legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock) { } | |
| 85 | : legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock, "legacy_mos6526r1", __FILE__) { } | |
| 86 | 86 | |
| 87 | 87 | legacy_mos6526r2_device::legacy_mos6526r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 88 | : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock) { } | |
| 88 | : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock, "legacy_mos6526r2", __FILE__) { } | |
| 89 | 89 | |
| 90 | 90 | legacy_mos8520_device::legacy_mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 91 | : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock) { } | |
| 91 | : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock, "legacy_mos8520", __FILE__) { } | |
| 92 | 92 | |
| 93 | 93 | legacy_mos5710_device::legacy_mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 94 | : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock) { } | |
| 94 | : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock, "legacy_mos5710", __FILE__) { } | |
| 95 | 95 | |
| 96 | 96 | |
| 97 | 97 | void legacy_mos6526_device::static_set_tod_clock(device_t &device, int tod_clock) |
| r23832 | r23833 | |
|---|---|---|
| 21 | 21 | //------------------------------------------------- |
| 22 | 22 | |
| 23 | 23 | k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 24 | : device_t(mconfig, K033906, "Konami 033906", tag, owner, clock) | |
| 24 | : device_t(mconfig, K033906, "Konami 033906", tag, owner, clock, "k033906", __FILE__) | |
| 25 | 25 | { |
| 26 | 26 | } |
| 27 | 27 |
| r23832 | r23833 | |
|---|---|---|
| 583 | 583 | } |
| 584 | 584 | |
| 585 | 585 | |
| 586 | smc91c9x_device::smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 587 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 586 | smc91c9x_device::smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 587 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 588 | 588 | { |
| 589 | 589 | m_token = global_alloc_clear(smc91c9x_state); |
| 590 | 590 | } |
| r23832 | r23833 | |
| 621 | 621 | const device_type SMC91C94 = &device_creator<smc91c94_device>; |
| 622 | 622 | |
| 623 | 623 | smc91c94_device::smc91c94_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 624 | : smc91c9x_device(mconfig, SMC91C94, "SMC91C94", tag, owner, clock) | |
| 624 | : smc91c9x_device(mconfig, SMC91C94, "SMC91C94", tag, owner, clock, "smc91c94", __FILE__) | |
| 625 | 625 | { |
| 626 | 626 | } |
| 627 | 627 | |
| r23832 | r23833 | |
| 629 | 629 | const device_type SMC91C96 = &device_creator<smc91c96_device>; |
| 630 | 630 | |
| 631 | 631 | smc91c96_device::smc91c96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 632 | : smc91c9x_device(mconfig, SMC91C96, "SMC91C96", tag, owner, clock) | |
| 632 | : smc91c9x_device(mconfig, SMC91C96, "SMC91C96", tag, owner, clock, "smc91c96", __FILE__) | |
| 633 | 633 | { |
| 634 | 634 | } |
| r23832 | r23833 | |
|---|---|---|
| 77 | 77 | //------------------------------------------------- |
| 78 | 78 | |
| 79 | 79 | im6402_device::im6402_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 80 | : device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock), | |
| 80 | : device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock, "im6402", __FILE__), | |
| 81 | 81 | device_serial_interface(mconfig, *this), |
| 82 | 82 | m_rrc_count(0), |
| 83 | 83 | m_trc_count(0) |
| r23832 | r23833 | |
|---|---|---|
| 102 | 102 | { |
| 103 | 103 | protected: |
| 104 | 104 | // construction/destruction |
| 105 | legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 105 | legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 106 | 106 | |
| 107 | 107 | public: |
| 108 | 108 | // inline configuration |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | class smc91c9x_device : public device_t |
| 53 | 53 | { |
| 54 | 54 | public: |
| 55 | smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 55 | smc91c9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 56 | 56 | ~smc91c9x_device() { global_free(m_token); } |
| 57 | 57 | |
| 58 | 58 | // access to legacy token |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | const device_type IDE_CONTROLLER = &device_creator<ide_controller_device>; |
| 29 | 29 | |
| 30 | 30 | ide_controller_device::ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 31 | ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock) | |
| 31 | ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock, "ide_controller", __FILE__) | |
| 32 | 32 | { |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | ide_controller_device::ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 36 | ata_interface_device(mconfig, type, name, tag, owner, clock) | |
| 35 | ide_controller_device::ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 36 | ata_interface_device(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 37 | 37 | { |
| 38 | 38 | } |
| 39 | 39 | |
| r23832 | r23833 | |
| 92 | 92 | const device_type BUS_MASTER_IDE_CONTROLLER = &device_creator<bus_master_ide_controller_device>; |
| 93 | 93 | |
| 94 | 94 | bus_master_ide_controller_device::bus_master_ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 95 | ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock), | |
| 95 | ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock, "bus_master_ide_controller", __FILE__), | |
| 96 | 96 | dma_address(0), |
| 97 | 97 | dma_bytes_left(0), |
| 98 | 98 | dma_descriptor(0), |
| r23832 | r23833 | |
|---|---|---|
| 48 | 48 | //------------------------------------------------- |
| 49 | 49 | |
| 50 | 50 | pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 51 | : device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock), | |
| 51 | : device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock, "pia6821", __FILE__), | |
| 52 | 52 | m_irq_a_state(0), |
| 53 | 53 | m_in_cb1(0), |
| 54 | 54 | m_ctl_b(0), |
| r23832 | r23833 | |
|---|---|---|
| 30 | 30 | { |
| 31 | 31 | public: |
| 32 | 32 | ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 33 | ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 34 | 34 | |
| 35 | 35 | virtual DECLARE_READ16_MEMBER(read_cs0); |
| 36 | 36 | virtual DECLARE_READ16_MEMBER(read_cs1); |
| r23832 | r23833 | |
|---|---|---|
| 298 | 298 | //------------------------------------------------- |
| 299 | 299 | |
| 300 | 300 | z80sio_device::z80sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 301 | : device_t(mconfig, Z80SIO, "Zilog Z80 SIO", tag, owner, clock), | |
| 301 | : device_t(mconfig, Z80SIO, "Zilog Z80 SIO", tag, owner, clock, "z80sio", __FILE__), | |
| 302 | 302 | device_z80daisy_interface(mconfig, *this) |
| 303 | 303 | { |
| 304 | 304 | for (int i = 0; i < 8; i++) |
| r23832 | r23833 | |
|---|---|---|
| 45 | 45 | //------------------------------------------------- |
| 46 | 46 | |
| 47 | 47 | pcf8593_device::pcf8593_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 48 | : device_t(mconfig, PCF8593, "PCF8593 RTC", tag, owner, clock), | |
| 48 | : device_t(mconfig, PCF8593, "PCF8593 RTC", tag, owner, clock, "pcf8593", __FILE__), | |
| 49 | 49 | device_rtc_interface(mconfig, *this), |
| 50 | 50 | device_nvram_interface(mconfig, *this) |
| 51 | 51 | { |
| r23832 | r23833 | |
|---|---|---|
| 33 | 33 | Constructor. |
| 34 | 34 | */ |
| 35 | 35 | at29040a_device::at29040a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 36 | : device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock), | |
| 36 | : device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock, "at29040a", __FILE__), | |
| 37 | 37 | device_nvram_interface(mconfig, *this) |
| 38 | 38 | { |
| 39 | 39 | } |
| r23832 | r23833 | |
|---|---|---|
| 36 | 36 | //------------------------------------------------- |
| 37 | 37 | |
| 38 | 38 | x2212_device::x2212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 39 | : device_t(mconfig, X2212, "X2212", tag, owner, clock), | |
| 39 | : device_t(mconfig, X2212, "X2212", tag, owner, clock, "x2212", __FILE__), | |
| 40 | 40 | device_memory_interface(mconfig, *this), |
| 41 | 41 | device_nvram_interface(mconfig, *this), |
| 42 | 42 | m_auto_save(false), |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | mos6551_device::mos6551_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 56 | : device_t(mconfig, MOS6551, "MOS6551", tag, owner, clock), | |
| 56 | : device_t(mconfig, MOS6551, "MOS6551", tag, owner, clock, "mos6551", __FILE__), | |
| 57 | 57 | device_serial_interface(mconfig, *this), |
| 58 | 58 | m_write_irq(*this), |
| 59 | 59 | m_read_rxd(*this), |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | ram_device::ram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, RAM, "RAM", tag, owner, clock) | |
| 31 | : device_t(mconfig, RAM, "RAM", tag, owner, clock, "ram", __FILE__) | |
| 32 | 32 | { |
| 33 | 33 | m_size = 0; |
| 34 | 34 | m_pointer = NULL; |
| r23832 | r23833 | |
|---|---|---|
| 23 | 23 | //------------------------------------------------- |
| 24 | 24 | |
| 25 | 25 | ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 26 | : device_t(mconfig, DS2404, "DS2404", tag, owner, clock), | |
| 26 | : device_t(mconfig, DS2404, "DS2404", tag, owner, clock, "ds2404", __FILE__), | |
| 27 | 27 | device_nvram_interface(mconfig, *this) |
| 28 | 28 | { |
| 29 | 29 | } |
| r23832 | r23833 | |
|---|---|---|
| 68 | 68 | //------------------------------------------------- |
| 69 | 69 | |
| 70 | 70 | ptm6840_device::ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 71 | : device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock) | |
| 71 | : device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock, "ptm6840", __FILE__) | |
| 72 | 72 | { |
| 73 | 73 | memset(static_cast<ptm6840_interface *>(this), 0, sizeof(ptm6840_interface)); |
| 74 | 74 | } |
| r23832 | r23833 | |
|---|---|---|
| 523 | 523 | const device_type UPD4990A_OLD = &device_creator<upd4990a_old_device>; |
| 524 | 524 | |
| 525 | 525 | upd4990a_old_device::upd4990a_old_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 526 | : device_t(mconfig, UPD4990A_OLD, "NEC uPD4990A", tag, owner, clock) | |
| 526 | : device_t(mconfig, UPD4990A_OLD, "NEC uPD4990A", tag, owner, clock, "upd4990a_old", __FILE__) | |
| 527 | 527 | { |
| 528 | 528 | m_token = global_alloc_clear(upd4990a_state); |
| 529 | 529 | } |
| r23832 | r23833 | |
|---|---|---|
| 69 | 69 | const device_type S3C2400 = &device_creator<s3c2400_device>; |
| 70 | 70 | |
| 71 | 71 | s3c2400_device::s3c2400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 72 | : device_t(mconfig, S3C2400, "Samsung S3C2400", tag, owner, clock) | |
| 72 | : device_t(mconfig, S3C2400, "Samsung S3C2400", tag, owner, clock, "s3c2400", __FILE__) | |
| 73 | 73 | { |
| 74 | 74 | m_token = global_alloc_clear(s3c24xx_t); |
| 75 | 75 | } |
| r23832 | r23833 | |
|---|---|---|
| 211 | 211 | const device_type UPD7002 = &device_creator<uPD7002_device>; |
| 212 | 212 | |
| 213 | 213 | uPD7002_device::uPD7002_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 214 | : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock) | |
| 214 | : device_t(mconfig, UPD7002, "uPD7002", tag, owner, clock, "upd7002", __FILE__) | |
| 215 | 215 | { |
| 216 | 216 | m_token = global_alloc_clear(uPD7002_t); |
| 217 | 217 | } |
| r23832 | r23833 | |
|---|---|---|
| 10 | 10 | const device_type LC89510 = &device_creator<lc89510_device>; |
| 11 | 11 | |
| 12 | 12 | lc89510_device::lc89510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 13 | : device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock) | |
| 13 | : device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock, "lc89510", __FILE__) | |
| 14 | 14 | { |
| 15 | 15 | } |
| 16 | 16 |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | // pla_device - constructor |
| 29 | 29 | //------------------------------------------------- |
| 30 | 30 | |
| 31 | pla_device::pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 input_mask) | |
| 32 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 31 | pla_device::pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 input_mask, const char *shortname, const char *source) | |
| 32 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 33 | 33 | m_inputs(inputs), |
| 34 | 34 | m_outputs(outputs), |
| 35 | 35 | m_terms(terms), |
| r23832 | r23833 | |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | pls100_device::pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 41 | : pla_device(mconfig, PLS100, "PLS100", tag, owner, clock, 16, 8, 48, 0xffff) | |
| 41 | : pla_device(mconfig, PLS100, "PLS100", tag, owner, clock, 16, 8, 48, 0xffff, "pls100", __FILE__) | |
| 42 | 42 | { |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | mos8721_device::mos8721_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 46 | : pla_device(mconfig, MOS8721, "MOS8721", tag, owner, clock, 27, 18, 379, 0x7ffffff) // TODO actual number of terms is unknown | |
| 46 | : pla_device(mconfig, MOS8721, "MOS8721", tag, owner, clock, 27, 18, 379, 0x7ffffff, "mos8721", __FILE__) // TODO actual number of terms is unknown | |
| 47 | 47 | { |
| 48 | 48 | } |
| 49 | 49 |
| r23832 | r23833 | |
|---|---|---|
| 590 | 590 | // mos6526_device - constructor |
| 591 | 591 | //------------------------------------------------- |
| 592 | 592 | |
| 593 | mos6526_device::mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 594 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 593 | mos6526_device::mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 594 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 595 | 595 | device_execute_interface(mconfig, *this), |
| 596 | 596 | m_icount(0), |
| 597 | 597 | m_variant(variant), |
| r23832 | r23833 | |
| 607 | 607 | } |
| 608 | 608 | |
| 609 | 609 | mos6526_device::mos6526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 610 | : device_t(mconfig, MOS6526, "MOS6526", tag, owner, clock), | |
| 610 | : device_t(mconfig, MOS6526, "MOS6526", tag, owner, clock, "mos6526", __FILE__), | |
| 611 | 611 | device_execute_interface(mconfig, *this), |
| 612 | 612 | m_icount(0), |
| 613 | 613 | m_variant(TYPE_6526), |
| r23832 | r23833 | |
| 622 | 622 | { } |
| 623 | 623 | |
| 624 | 624 | mos6526a_device::mos6526a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 625 | : mos6526_device(mconfig, MOS6526A, "MOS6526A", tag, owner, clock, TYPE_6526A) { } | |
| 625 | : mos6526_device(mconfig, MOS6526A, "MOS6526A", tag, owner, clock, TYPE_6526A, "mos6526a", __FILE__) { } | |
| 626 | 626 | |
| 627 | 627 | mos8520_device::mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 628 | : mos6526_device(mconfig, MOS8520, "MOS8520", tag, owner, clock, TYPE_8520) { } | |
| 628 | : mos6526_device(mconfig, MOS8520, "MOS8520", tag, owner, clock, TYPE_8520, "mos8520", __FILE__) { } | |
| 629 | 629 | |
| 630 | 630 | mos5710_device::mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 631 | : mos6526_device(mconfig, MOS5710, "MOS5710", tag, owner, clock, TYPE_5710) { } | |
| 631 | : mos6526_device(mconfig, MOS5710, "MOS5710", tag, owner, clock, TYPE_5710, "mos5710", __FILE__) { } | |
| 632 | 632 | |
| 633 | 633 | |
| 634 | 634 | //------------------------------------------------- |
| r23832 | r23833 | |
|---|---|---|
| 64 | 64 | { |
| 65 | 65 | public: |
| 66 | 66 | // construction/destruction |
| 67 | pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 output_mask); | |
| 67 | pla_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int inputs, int outputs, int terms, UINT32 output_mask, const char *shortname, const char *source); | |
| 68 | 68 | |
| 69 | 69 | UINT32 read(UINT32 input); |
| 70 | 70 |
| r23832 | r23833 | |
|---|---|---|
| 108 | 108 | { |
| 109 | 109 | public: |
| 110 | 110 | // construction/destruction |
| 111 | mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 111 | mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 112 | 112 | mos6526_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 113 | 113 | |
| 114 | 114 | template<class _irq> void set_callbacks(int tod_clock, _irq irq) { |
| r23832 | r23833 | |
|---|---|---|
| 57 | 57 | //------------------------------------------------- |
| 58 | 58 | |
| 59 | 59 | i8257_device::i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 60 | : device_t(mconfig, I8257, "DMA8257", tag, owner, clock), | |
| 60 | : device_t(mconfig, I8257, "DMA8257", tag, owner, clock, "i8257", __FILE__), | |
| 61 | 61 | m_mode(0), |
| 62 | 62 | m_rr(0), |
| 63 | 63 | m_msb(0), |
| r23832 | r23833 | |
|---|---|---|
| 124 | 124 | |
| 125 | 125 | const device_type ROC10937 = &device_creator<roc10937_t>; |
| 126 | 126 | |
| 127 | rocvfd_t::rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 128 | device_t(mconfig, type, name, tag, owner, clock) | |
| 127 | rocvfd_t::rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 128 | device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 129 | 129 | { |
| 130 | 130 | m_port_val=0; |
| 131 | 131 | m_reversed=0; |
| r23832 | r23833 | |
| 229 | 229 | |
| 230 | 230 | /////////////////////////////////////////////////////////////////////////// |
| 231 | 231 | roc10937_t::roc10937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 232 | : rocvfd_t(mconfig, ROC10937, "Rockwell 10937 VFD controller and compatible", tag, owner, clock) | |
| 232 | : rocvfd_t(mconfig, ROC10937, "Rockwell 10937 VFD controller and compatible", tag, owner, clock, "roc10937", __FILE__) | |
| 233 | 233 | { |
| 234 | 234 | m_port_val=0; |
| 235 | 235 | m_reversed=0; |
| r23832 | r23833 | |
| 238 | 238 | const device_type MSC1937 = &device_creator<msc1937_t>; |
| 239 | 239 | |
| 240 | 240 | msc1937_t::msc1937_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 241 | : rocvfd_t(mconfig, MSC1937, "OKI MSC1937 VFD controller", tag, owner, clock) | |
| 241 | : rocvfd_t(mconfig, MSC1937, "OKI MSC1937 VFD controller", tag, owner, clock, "msc1937", __FILE__) | |
| 242 | 242 | { |
| 243 | 243 | m_port_val=0; |
| 244 | 244 | m_reversed=0; |
| r23832 | r23833 | |
| 298 | 298 | const device_type ROC10957 = &device_creator<roc10957_t>; |
| 299 | 299 | |
| 300 | 300 | roc10957_t::roc10957_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 301 | : rocvfd_t(mconfig, ROC10957, "Rockwell 10957 VFD controller and compatible", tag, owner, clock) | |
| 301 | : rocvfd_t(mconfig, ROC10957, "Rockwell 10957 VFD controller and compatible", tag, owner, clock, "roc10957", __FILE__) | |
| 302 | 302 | { |
| 303 | 303 | m_port_val=0; |
| 304 | 304 | m_reversed=0; |
| r23832 | r23833 | |
|---|---|---|
| 51 | 51 | FLOPPY_FORMATS_END |
| 52 | 52 | |
| 53 | 53 | amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 54 | device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock) | |
| 54 | device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock, "amiga_fdc", __FILE__) | |
| 55 | 55 | { |
| 56 | 56 | } |
| 57 | 57 |
| r23832 | r23833 | |
|---|---|---|
| 51 | 51 | public: |
| 52 | 52 | typedef delegate<void (bool state)> line_cb; |
| 53 | 53 | |
| 54 | rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 54 | rocvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 55 | 55 | |
| 56 | 56 | // inline configuration helpers |
| 57 | 57 | static void static_set_value(device_t &device, int val); |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | rtc4543_device::rtc4543_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, RTC4543, "Epson R4543", tag, owner, clock), | |
| 31 | : device_t(mconfig, RTC4543, "Epson R4543", tag, owner, clock, "rtc4543", __FILE__), | |
| 32 | 32 | device_rtc_interface(mconfig, *this) |
| 33 | 33 | { |
| 34 | 34 | } |
| r23832 | r23833 | |
|---|---|---|
| 24 | 24 | const device_type SPEECHROM = &device_creator<speechrom_device>; |
| 25 | 25 | |
| 26 | 26 | speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 27 | : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock), | |
| 27 | : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), | |
| 28 | 28 | m_speechROMaddr(0), |
| 29 | 29 | m_load_pointer(0), |
| 30 | 30 | m_ROM_bits_count(0) |
| r23832 | r23833 | |
|---|---|---|
| 32 | 32 | //------------------------------------------------- |
| 33 | 33 | |
| 34 | 34 | v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 35 | : device_t(mconfig, v3021, "v3021", tag, owner, clock) | |
| 35 | : device_t(mconfig, v3021, "v3021", tag, owner, clock, "v3021", __FILE__) | |
| 36 | 36 | { |
| 37 | 37 | } |
| 38 | 38 |
| r23832 | r23833 | |
|---|---|---|
| 199 | 199 | //------------------------------------------------- |
| 200 | 200 | |
| 201 | 201 | i8155_device::i8155_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 202 | : device_t(mconfig, I8155, "Intel 8155", tag, owner, clock), | |
| 202 | : device_t(mconfig, I8155, "Intel 8155", tag, owner, clock, "i8155", __FILE__), | |
| 203 | 203 | device_memory_interface(mconfig, *this), |
| 204 | 204 | m_command(0), |
| 205 | 205 | m_status(0), |
| r23832 | r23833 | |
|---|---|---|
| 149 | 149 | // intelfsh_device - constructor |
| 150 | 150 | //------------------------------------------------- |
| 151 | 151 | |
| 152 | intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 153 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 152 | intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 153 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 154 | 154 | device_memory_interface(mconfig, *this), |
| 155 | 155 | device_nvram_interface(mconfig, *this), |
| 156 | 156 | m_type(variant), |
| r23832 | r23833 | |
| 314 | 314 | m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map); |
| 315 | 315 | } |
| 316 | 316 | |
| 317 | intelfsh8_device::intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 318 | : intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { } | |
| 317 | intelfsh8_device::intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 318 | : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { } | |
| 319 | 319 | |
| 320 | intelfsh16_device::intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 321 | : intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { } | |
| 320 | intelfsh16_device::intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 321 | : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { } | |
| 322 | 322 | |
| 323 | 323 | |
| 324 | 324 | intel_28f016s5_device::intel_28f016s5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 325 | : intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5) { } | |
| 325 | : intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5, "intel_28f016s5", __FILE__) { } | |
| 326 | 326 | |
| 327 | 327 | fujitsu_29f016a_device::fujitsu_29f016a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 328 | : intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A) { } | |
| 328 | : intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A, "fujitsu_29f016a", __FILE__) { } | |
| 329 | 329 | |
| 330 | 330 | fujitsu_29dl16x_device::fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 331 | : intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X) { } | |
| 331 | : intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X, "fujitsu_29dl16x", __FILE__) { } | |
| 332 | 332 | |
| 333 | 333 | sharp_lh28f016s_device::sharp_lh28f016s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 334 | : intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S) { } | |
| 334 | : intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S, "sharp_lh28f016s", __FILE__) { } | |
| 335 | 335 | |
| 336 | 336 | atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 337 | : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010) { } | |
| 337 | : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010, "atmel_29c010", __FILE__) { } | |
| 338 | 338 | |
| 339 | 339 | amd_29f010_device::amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 340 | : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010) { } | |
| 340 | : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010, "amd_29f010", __FILE__) { } | |
| 341 | 341 | |
| 342 | 342 | amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 343 | : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040) { } | |
| 343 | : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040, "amd_29f040", __FILE__) { } | |
| 344 | 344 | |
| 345 | 345 | amd_29f080_device::amd_29f080_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 346 | : intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080) { } | |
| 346 | : intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080, "amd_29f080", __FILE__) { } | |
| 347 | 347 | |
| 348 | 348 | intel_e28f008sa_device::intel_e28f008sa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 349 | : intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA) { } | |
| 349 | : intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA, "intel_e28f008sa", __FILE__) { } | |
| 350 | 350 | |
| 351 | 351 | macronix_29l001mc_device::macronix_29l001mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 352 | : intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC) { } | |
| 352 | : intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC, "macronix_29l001mc", __FILE__) { } | |
| 353 | 353 | |
| 354 | 354 | panasonic_mn63f805mnp_device::panasonic_mn63f805mnp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 355 | : intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP) { } | |
| 355 | : intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP, "panasonic_mn63f805mnp", __FILE__) { } | |
| 356 | 356 | |
| 357 | 357 | sanyo_le26fv10n1ts_device::sanyo_le26fv10n1ts_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 358 | : intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS) { } | |
| 358 | : intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS, "sanyo_le26fv10n1ts", __FILE__) { } | |
| 359 | 359 | |
| 360 | 360 | sst_28sf040_device::sst_28sf040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 361 | : intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040) { } | |
| 361 | : intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040, "sst_28sf040", __FILE__) { } | |
| 362 | 362 | |
| 363 | 363 | sst_39vf020_device::sst_39vf020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 364 | : intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020) { } | |
| 364 | : intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020, "sst_39vf020", __FILE__) { } | |
| 365 | 365 | |
| 366 | 366 | sharp_lh28f400_device::sharp_lh28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 367 | : intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400) { } | |
| 367 | : intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400, "sharp_lh28f400", __FILE__) { } | |
| 368 | 368 | |
| 369 | 369 | intel_te28f160_device::intel_te28f160_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 370 | : intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160) { } | |
| 370 | : intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160, "intel_te28f160", __FILE__) { } | |
| 371 | 371 | |
| 372 | 372 | intel_e28f400_device::intel_e28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 373 | : intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400) { } | |
| 373 | : intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400, "intel_e28f400", __FILE__) { } | |
| 374 | 374 | |
| 375 | 375 | sharp_unk128mbit_device::sharp_unk128mbit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 376 | : intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT) { } | |
| 376 | : intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT, "sharp_unk128mbit", __FILE__) { } | |
| 377 | 377 | |
| 378 | 378 | intel_28f320j3d_device::intel_28f320j3d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 379 | : intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D) { } | |
| 379 | : intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D, "intel_28f320j3d", __FILE__) { } | |
| 380 | 380 | |
| 381 | 381 | sst_39vf400a_device::sst_39vf400a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 382 | : intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A) { } | |
| 382 | : intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A, "sst_39vf400a", __FILE__) { } | |
| 383 | 383 | |
| 384 | 384 | //------------------------------------------------- |
| 385 | 385 | // device_start - device-specific startup |
| r23832 | r23833 | |
|---|---|---|
| 184 | 184 | //------------------------------------------------- |
| 185 | 185 | |
| 186 | 186 | rp5c15_device::rp5c15_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 187 | : device_t(mconfig, RP5C15, "RP5C15", tag, owner, clock), | |
| 187 | : device_t(mconfig, RP5C15, "RP5C15", tag, owner, clock, "rp5c15", __FILE__), | |
| 188 | 188 | device_rtc_interface(mconfig, *this), |
| 189 | 189 | m_alarm(1), |
| 190 | 190 | m_alarm_on(1), |
| r23832 | r23833 | |
|---|---|---|
| 113 | 113 | |
| 114 | 114 | protected: |
| 115 | 115 | // construction/destruction |
| 116 | intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 116 | intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 117 | 117 | |
| 118 | 118 | protected: |
| 119 | 119 | // device-level overrides |
| r23832 | r23833 | |
| 159 | 159 | { |
| 160 | 160 | protected: |
| 161 | 161 | // construction/destruction |
| 162 | intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 162 | intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 163 | 163 | |
| 164 | 164 | public: |
| 165 | 165 | // public interface |
| r23832 | r23833 | |
| 179 | 179 | { |
| 180 | 180 | protected: |
| 181 | 181 | // construction/destruction |
| 182 | intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 182 | intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 183 | 183 | |
| 184 | 184 | public: |
| 185 | 185 | // public interface |
| r23832 | r23833 | |
|---|---|---|
| 63 | 63 | //------------------------------------------------- |
| 64 | 64 | |
| 65 | 65 | er2055_device::er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 66 | : device_t(mconfig, ER2055, "ER2055", tag, owner, clock), | |
| 66 | : device_t(mconfig, ER2055, "ER2055", tag, owner, clock, "er2055", __FILE__), | |
| 67 | 67 | device_memory_interface(mconfig, *this), |
| 68 | 68 | device_nvram_interface(mconfig, *this), |
| 69 | 69 | m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map)), |
| r23832 | r23833 | |
|---|---|---|
| 1038 | 1038 | const device_type MC6854 = &device_creator<mc6854_device>; |
| 1039 | 1039 | |
| 1040 | 1040 | mc6854_device::mc6854_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1041 | : device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock) | |
| 1041 | : device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock, "mc6854", __FILE__) | |
| 1042 | 1042 | { |
| 1043 | 1043 | m_token = global_alloc_clear(mc6854_t); |
| 1044 | 1044 | } |
| r23832 | r23833 | |
|---|---|---|
| 26 | 26 | memset(recv_buffer, 0, sizeof(recv_buffer)); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, type, name, tag, owner, clock) | |
| 29 | jvs_host::jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 30 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 30 | 31 | { |
| 31 | 32 | first_device = 0; |
| 32 | 33 | } |
| r23832 | r23833 | |
|---|---|---|
| 95 | 95 | const device_type AY31015 = &device_creator<ay31015_device>; |
| 96 | 96 | const device_type AY51013 = &device_creator<ay51013_device>; |
| 97 | 97 | |
| 98 | ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 99 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 98 | ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 99 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 100 | 100 | { |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | ay31015_device::ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 104 | : device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock) | |
| 104 | : device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock, "ay31015", __FILE__) | |
| 105 | 105 | { |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | ay51013_device::ay51013_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 109 | : ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock) | |
| 109 | : ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock, "ay51013", __FILE__) | |
| 110 | 110 | { |
| 111 | 111 | } |
| 112 | 112 |
| r23832 | r23833 | |
|---|---|---|
| 144 | 144 | //------------------------------------------------- |
| 145 | 145 | |
| 146 | 146 | z80dma_device::z80dma_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 147 | : device_t(mconfig, Z80DMA, "Z8410", tag, owner, clock), | |
| 147 | : device_t(mconfig, Z80DMA, "Z8410", tag, owner, clock, "z80dma", __FILE__), | |
| 148 | 148 | device_z80daisy_interface(mconfig, *this) |
| 149 | 149 | { |
| 150 | 150 | } |
| r23832 | r23833 | |
|---|---|---|
| 7 | 7 | |
| 8 | 8 | class jvs_host : public device_t { |
| 9 | 9 | public: |
| 10 | jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 10 | jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 11 | 11 | |
| 12 | 12 | void add_device(jvs_device *dev); |
| 13 | 13 |
| r23832 | r23833 | |
|---|---|---|
| 71 | 71 | { |
| 72 | 72 | public: |
| 73 | 73 | ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 74 | ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 74 | ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 75 | 75 | ~ay31015_device() {} |
| 76 | 76 | |
| 77 | 77 |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | //------------------------------------------------- |
| 32 | 32 | |
| 33 | 33 | rtc9701_device::rtc9701_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 34 | : device_t(mconfig, rtc9701, "rtc9701", tag, owner, clock), | |
| 34 | : device_t(mconfig, rtc9701, "rtc9701", tag, owner, clock, "rtc9701", __FILE__), | |
| 35 | 35 | device_nvram_interface(mconfig, *this), |
| 36 | 36 | m_latch(0), |
| 37 | 37 | m_reset_line(CLEAR_LINE), |
| r23832 | r23833 | |
|---|---|---|
| 74 | 74 | //------------------------------------------------- |
| 75 | 75 | |
| 76 | 76 | ds1302_device::ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 77 | : device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock), | |
| 77 | : device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock, "ds1302", __FILE__), | |
| 78 | 78 | device_rtc_interface(mconfig, *this), |
| 79 | 79 | device_nvram_interface(mconfig, *this) |
| 80 | 80 | { |
| r23832 | r23833 | |
|---|---|---|
| 100 | 100 | //------------------------------------------------- |
| 101 | 101 | |
| 102 | 102 | mc2661_device::mc2661_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 103 | : device_t(mconfig, MC2661, "MC2661", tag, owner, clock), | |
| 103 | : device_t(mconfig, MC2661, "MC2661", tag, owner, clock, "mc2661", __FILE__), | |
| 104 | 104 | device_serial_interface(mconfig, *this) |
| 105 | 105 | { |
| 106 | 106 | } |
| r23832 | r23833 | |
|---|---|---|
| 27 | 27 | //------------------------------------------------- |
| 28 | 28 | |
| 29 | 29 | ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 30 | : device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock) | |
| 30 | : device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock, "ttl74123", __FILE__) | |
| 31 | 31 | { |
| 32 | 32 | } |
| 33 | 33 |
| r23832 | r23833 | |
|---|---|---|
| 34 | 34 | //------------------------------------------------- |
| 35 | 35 | |
| 36 | 36 | s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 37 | : device_t(mconfig, S3520CF, "s3520cf", tag, owner, clock) | |
| 37 | : device_t(mconfig, S3520CF, "s3520cf", tag, owner, clock, "s3520cf", __FILE__) | |
| 38 | 38 | { |
| 39 | 39 | } |
| 40 | 40 |
| r23832 | r23833 | |
|---|---|---|
| 637 | 637 | const device_type MC6846 = &device_creator<mc6846_device>; |
| 638 | 638 | |
| 639 | 639 | mc6846_device::mc6846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 640 | : device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock) | |
| 640 | : device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock, "mc6846", __FILE__) | |
| 641 | 641 | { |
| 642 | 642 | m_token = global_alloc_clear(mc6846_t); |
| 643 | 643 | } |
| r23832 | r23833 | |
|---|---|---|
| 216 | 216 | const device_type TTL74148 = &device_creator<ttl74148_device>; |
| 217 | 217 | |
| 218 | 218 | ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 219 | : device_t(mconfig, TTL74148, "74148", tag, owner, clock) | |
| 219 | : device_t(mconfig, TTL74148, "74148", tag, owner, clock, "74148", __FILE__) | |
| 220 | 220 | { |
| 221 | 221 | m_token = global_alloc_clear(ttl74148_state); |
| 222 | 222 | } |
| r23832 | r23833 | |
|---|---|---|
| 56 | 56 | //------------------------------------------------- |
| 57 | 57 | |
| 58 | 58 | z80pio_device::z80pio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 59 | : device_t(mconfig, Z80PIO, "Z8420", tag, owner, clock), | |
| 59 | : device_t(mconfig, Z80PIO, "Z8420", tag, owner, clock, "z80pio", __FILE__), | |
| 60 | 60 | device_z80daisy_interface(mconfig, *this) |
| 61 | 61 | { |
| 62 | 62 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock), | |
| 23 | : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock, "fifo7200", __FILE__), | |
| 24 | 24 | m_ram_size(0), |
| 25 | 25 | m_ef_handler(*this), |
| 26 | 26 | m_ff_handler(*this), |
| r23832 | r23833 | |
|---|---|---|
| 906 | 906 | const device_type DUART68681 = &device_creator<duart68681_device>; |
| 907 | 907 | |
| 908 | 908 | duart68681_device::duart68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 909 | : device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock) | |
| 909 | : device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock, "duart68681", __FILE__) | |
| 910 | 910 | { |
| 911 | 911 | m_token = global_alloc_clear(duart68681_state); |
| 912 | 912 | } |
| r23832 | r23833 | |
|---|---|---|
| 47 | 47 | //------------------------------------------------- |
| 48 | 48 | |
| 49 | 49 | com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 50 | : device_t(mconfig, COM8116, "COM8116", tag, owner, clock), | |
| 50 | : device_t(mconfig, COM8116, "COM8116", tag, owner, clock, "com8116", __FILE__), | |
| 51 | 51 | m_write_fx4(*this), |
| 52 | 52 | m_write_fr(*this), |
| 53 | 53 | m_write_ft(*this) |
| r23832 | r23833 | |
|---|---|---|
| 92 | 92 | //------------------------------------------------- |
| 93 | 93 | |
| 94 | 94 | msm58321_device::msm58321_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 95 | : device_t(mconfig, MSM58321, "MSM58321", tag, owner, clock), | |
| 95 | : device_t(mconfig, MSM58321, "MSM58321", tag, owner, clock, "msm58321", __FILE__), | |
| 96 | 96 | device_rtc_interface(mconfig, *this), |
| 97 | 97 | m_cs2(0) |
| 98 | 98 | { |
| r23832 | r23833 | |
|---|---|---|
| 72 | 72 | const device_type S3C2410 = &device_creator<s3c2410_device>; |
| 73 | 73 | |
| 74 | 74 | s3c2410_device::s3c2410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 75 | : device_t(mconfig, S3C2410, "Samsung S3C2410", tag, owner, clock) | |
| 75 | : device_t(mconfig, S3C2410, "Samsung S3C2410", tag, owner, clock, "s3c2410", __FILE__) | |
| 76 | 76 | { |
| 77 | 77 | m_token = global_alloc_clear(s3c24xx_t); |
| 78 | 78 | } |
| r23832 | r23833 | |
|---|---|---|
| 32 | 32 | //------------------------------------------------- |
| 33 | 33 | |
| 34 | 34 | i8212_device::i8212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 35 | : device_t(mconfig, I8212, "Intel 8212", tag, owner, clock), | |
| 35 | : device_t(mconfig, I8212, "Intel 8212", tag, owner, clock, "i8212", __FILE__), | |
| 36 | 36 | m_md(I8212_MODE_INPUT), |
| 37 | 37 | m_stb(0) |
| 38 | 38 | { |
| r23832 | r23833 | |
|---|---|---|
| 619 | 619 | const device_type TPI6525 = &device_creator<tpi6525_device>; |
| 620 | 620 | |
| 621 | 621 | tpi6525_device::tpi6525_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 622 | : device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock) | |
| 622 | : device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock, "tpi6525", __FILE__) | |
| 623 | 623 | { |
| 624 | 624 | m_token = global_alloc_clear(tpi6525_state); |
| 625 | 625 | } |
| r23832 | r23833 | |
|---|---|---|
| 88 | 88 | //------------------------------------------------- |
| 89 | 89 | |
| 90 | 90 | i8279_device::i8279_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 91 | : device_t(mconfig, I8279, "Intel 8279", tag, owner, clock) | |
| 91 | : device_t(mconfig, I8279, "Intel 8279", tag, owner, clock, "i8279", __FILE__) | |
| 92 | 92 | { |
| 93 | 93 | } |
| 94 | 94 |
| r23832 | r23833 | |
|---|---|---|
| 115 | 115 | //------------------------------------------------- |
| 116 | 116 | |
| 117 | 117 | mm74c922_device::mm74c922_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 118 | : device_t(mconfig, MM74C922, "MM74C922", tag, owner, clock), | |
| 118 | : device_t(mconfig, MM74C922, "MM74C922", tag, owner, clock, "mm74c922", __FILE__), | |
| 119 | 119 | m_inhibit(0), |
| 120 | 120 | m_x(0), |
| 121 | 121 | m_y(0), |
| r23832 | r23833 | |
|---|---|---|
| 58 | 58 | const device_type WD1772x = &device_creator<wd1772_t>; |
| 59 | 59 | const device_type WD1773x = &device_creator<wd1773_t>; |
| 60 | 60 | |
| 61 | wd_fdc_t::wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 62 | device_t(mconfig, type, name, tag, owner, clock) | |
| 61 | wd_fdc_t::wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 62 | device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 63 | 63 | { |
| 64 | 64 | } |
| 65 | 65 | |
| r23832 | r23833 | |
| 1928 | 1928 | return 60000; |
| 1929 | 1929 | } |
| 1930 | 1930 | |
| 1931 | wd_fdc_analog_t::wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 1932 | wd_fdc_t(mconfig, type, name, tag, owner, clock) | |
| 1931 | wd_fdc_analog_t::wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 1932 | wd_fdc_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 1933 | 1933 | { |
| 1934 | 1934 | clock_ratio = 1; |
| 1935 | 1935 | } |
| r23832 | r23833 | |
| 1975 | 1975 | return cur_pll.write_next_bit(bit, tm, floppy, limit); |
| 1976 | 1976 | } |
| 1977 | 1977 | |
| 1978 | wd_fdc_digital_t::wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 1979 | wd_fdc_t(mconfig, type, name, tag, owner, clock) | |
| 1978 | wd_fdc_digital_t::wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 1979 | wd_fdc_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 1980 | 1980 | { |
| 1981 | 1981 | clock_ratio = 4; |
| 1982 | 1982 | } |
| r23832 | r23833 | |
| 2179 | 2179 | write_position = 0; |
| 2180 | 2180 | } |
| 2181 | 2181 | |
| 2182 | fd1771_t::fd1771_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1771x, "FD1771", tag, owner, clock) | |
| 2182 | fd1771_t::fd1771_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1771x, "FD1771", tag, owner, clock, "fd1771", __FILE__) | |
| 2183 | 2183 | { |
| 2184 | 2184 | const static int fd1771_step_times[4] = { 12000, 12000, 20000, 40000 }; |
| 2185 | 2185 | |
| r23832 | r23833 | |
| 2203 | 2203 | return size ? size << 4 : 4096; |
| 2204 | 2204 | } |
| 2205 | 2205 | |
| 2206 | fd1781_t::fd1781_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1781x, "FD1781", tag, owner, clock) | |
| 2206 | fd1781_t::fd1781_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1781x, "FD1781", tag, owner, clock, "fd1781", __FILE__) | |
| 2207 | 2207 | { |
| 2208 | 2208 | const static int fd1781_step_times[4] = { 6000, 12000, 20000, 40000 }; |
| 2209 | 2209 | |
| r23832 | r23833 | |
| 2230 | 2230 | const int wd_fdc_t::fd179x_step_times[4] = { 6000, 12000, 20000, 30000 }; |
| 2231 | 2231 | const int wd_fdc_t::fd176x_step_times[4] = { 12000, 24000, 40000, 60000 }; |
| 2232 | 2232 | |
| 2233 | fd1791_t::fd1791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1791x, "FD1791", tag, owner, clock) | |
| 2233 | fd1791_t::fd1791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1791x, "FD1791", tag, owner, clock, "fd1791", __FILE__) | |
| 2234 | 2234 | { |
| 2235 | 2235 | step_times = fd179x_step_times; |
| 2236 | 2236 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2244 | 2244 | ready_hooked = true; |
| 2245 | 2245 | } |
| 2246 | 2246 | |
| 2247 | fd1792_t::fd1792_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1792x, "FD1792", tag, owner, clock) | |
| 2247 | fd1792_t::fd1792_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1792x, "FD1792", tag, owner, clock, "fd1792", __FILE__) | |
| 2248 | 2248 | { |
| 2249 | 2249 | step_times = fd179x_step_times; |
| 2250 | 2250 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2258 | 2258 | ready_hooked = true; |
| 2259 | 2259 | } |
| 2260 | 2260 | |
| 2261 | fd1793_t::fd1793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1793x, "FD1793", tag, owner, clock) | |
| 2261 | fd1793_t::fd1793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1793x, "FD1793", tag, owner, clock, "fd1793", __FILE__) | |
| 2262 | 2262 | { |
| 2263 | 2263 | step_times = fd179x_step_times; |
| 2264 | 2264 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2272 | 2272 | ready_hooked = true; |
| 2273 | 2273 | } |
| 2274 | 2274 | |
| 2275 | fd1794_t::fd1794_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1794x, "FD1794", tag, owner, clock) | |
| 2275 | fd1794_t::fd1794_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1794x, "FD1794", tag, owner, clock, "fd1794", __FILE__) | |
| 2276 | 2276 | { |
| 2277 | 2277 | step_times = fd179x_step_times; |
| 2278 | 2278 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2286 | 2286 | ready_hooked = true; |
| 2287 | 2287 | } |
| 2288 | 2288 | |
| 2289 | fd1795_t::fd1795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1795x, "FD1795", tag, owner, clock) | |
| 2289 | fd1795_t::fd1795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1795x, "FD1795", tag, owner, clock, "fd1795", __FILE__) | |
| 2290 | 2290 | { |
| 2291 | 2291 | step_times = fd179x_step_times; |
| 2292 | 2292 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2308 | 2308 | return 128 << ((size + 1) & 3); |
| 2309 | 2309 | } |
| 2310 | 2310 | |
| 2311 | fd1797_t::fd1797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1797x, "FD1797", tag, owner, clock) | |
| 2311 | fd1797_t::fd1797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1797x, "FD1797", tag, owner, clock, "fd1797", __FILE__) | |
| 2312 | 2312 | { |
| 2313 | 2313 | step_times = fd179x_step_times; |
| 2314 | 2314 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2330 | 2330 | return 128 << ((size + 1) & 3); |
| 2331 | 2331 | } |
| 2332 | 2332 | |
| 2333 | mb8866_t::mb8866_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8866x, "MB8866", tag, owner, clock) | |
| 2333 | mb8866_t::mb8866_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8866x, "MB8866", tag, owner, clock, "mb8866", __FILE__) | |
| 2334 | 2334 | { |
| 2335 | 2335 | step_times = fd179x_step_times; |
| 2336 | 2336 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2344 | 2344 | ready_hooked = true; |
| 2345 | 2345 | } |
| 2346 | 2346 | |
| 2347 | mb8876_t::mb8876_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8876x, "MB8876", tag, owner, clock) | |
| 2347 | mb8876_t::mb8876_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8876x, "MB8876", tag, owner, clock, "mb8876", __FILE__) | |
| 2348 | 2348 | { |
| 2349 | 2349 | step_times = fd179x_step_times; |
| 2350 | 2350 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2358 | 2358 | ready_hooked = true; |
| 2359 | 2359 | } |
| 2360 | 2360 | |
| 2361 | mb8877_t::mb8877_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8877x, "MB8877", tag, owner, clock) | |
| 2361 | mb8877_t::mb8877_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, MB8877x, "MB8877", tag, owner, clock, "mb8877", __FILE__) | |
| 2362 | 2362 | { |
| 2363 | 2363 | step_times = fd179x_step_times; |
| 2364 | 2364 | delay_register_commit = 4; |
| r23832 | r23833 | |
| 2372 | 2372 | ready_hooked = true; |
| 2373 | 2373 | } |
| 2374 | 2374 | |
| 2375 | fd1761_t::fd1761_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1761x, "FD1761", tag, owner, clock) | |
| 2375 | fd1761_t::fd1761_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1761x, "FD1761", tag, owner, clock, "fd1761", __FILE__) | |
| 2376 | 2376 | { |
| 2377 | 2377 | step_times = fd176x_step_times; |
| 2378 | 2378 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2386 | 2386 | ready_hooked = true; |
| 2387 | 2387 | } |
| 2388 | 2388 | |
| 2389 | fd1763_t::fd1763_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1763x, "FD1763", tag, owner, clock) | |
| 2389 | fd1763_t::fd1763_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1763x, "FD1763", tag, owner, clock, "fd1763", __FILE__) | |
| 2390 | 2390 | { |
| 2391 | 2391 | step_times = fd176x_step_times; |
| 2392 | 2392 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2400 | 2400 | ready_hooked = true; |
| 2401 | 2401 | } |
| 2402 | 2402 | |
| 2403 | fd1765_t::fd1765_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1765x, "FD1765", tag, owner, clock) | |
| 2403 | fd1765_t::fd1765_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1765x, "FD1765", tag, owner, clock, "fd1765", __FILE__) | |
| 2404 | 2404 | { |
| 2405 | 2405 | step_times = fd176x_step_times; |
| 2406 | 2406 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2422 | 2422 | return 128 << ((size + 1) & 3); |
| 2423 | 2423 | } |
| 2424 | 2424 | |
| 2425 | fd1767_t::fd1767_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1767x, "FD1767", tag, owner, clock) | |
| 2425 | fd1767_t::fd1767_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, FD1767x, "FD1767", tag, owner, clock, "fd1767", __FILE__) | |
| 2426 | 2426 | { |
| 2427 | 2427 | step_times = fd179x_step_times; |
| 2428 | 2428 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2444 | 2444 | return 128 << ((size + 1) & 3); |
| 2445 | 2445 | } |
| 2446 | 2446 | |
| 2447 | wd2791_t::wd2791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2791x, "WD2791", tag, owner, clock) | |
| 2447 | wd2791_t::wd2791_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2791x, "WD2791", tag, owner, clock, "wd2791", __FILE__) | |
| 2448 | 2448 | { |
| 2449 | 2449 | step_times = fd179x_step_times; |
| 2450 | 2450 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2458 | 2458 | ready_hooked = true; |
| 2459 | 2459 | } |
| 2460 | 2460 | |
| 2461 | wd2793_t::wd2793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2793x, "WD2793", tag, owner, clock) | |
| 2461 | wd2793_t::wd2793_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2793x, "WD2793", tag, owner, clock, "wd2793", __FILE__) | |
| 2462 | 2462 | { |
| 2463 | 2463 | step_times = fd179x_step_times; |
| 2464 | 2464 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2472 | 2472 | ready_hooked = true; |
| 2473 | 2473 | } |
| 2474 | 2474 | |
| 2475 | wd2795_t::wd2795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2795x, "WD2795", tag, owner, clock) | |
| 2475 | wd2795_t::wd2795_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2795x, "WD2795", tag, owner, clock, "wd2795", __FILE__) | |
| 2476 | 2476 | { |
| 2477 | 2477 | step_times = fd179x_step_times; |
| 2478 | 2478 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2494 | 2494 | return 128 << ((size + 1) & 3); |
| 2495 | 2495 | } |
| 2496 | 2496 | |
| 2497 | wd2797_t::wd2797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2797x, "WD2797", tag, owner, clock) | |
| 2497 | wd2797_t::wd2797_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_analog_t(mconfig, WD2797x, "WD2797", tag, owner, clock, "wd2797", __FILE__) | |
| 2498 | 2498 | { |
| 2499 | 2499 | step_times = fd179x_step_times; |
| 2500 | 2500 | delay_register_commit = 16; |
| r23832 | r23833 | |
| 2516 | 2516 | return 128 << ((size + 1) & 3); |
| 2517 | 2517 | } |
| 2518 | 2518 | |
| 2519 | wd1770_t::wd1770_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1770x, "WD1770", tag, owner, clock) | |
| 2519 | wd1770_t::wd1770_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1770x, "WD1770", tag, owner, clock, "wd1770", __FILE__) | |
| 2520 | 2520 | { |
| 2521 | 2521 | step_times = wd_digital_step_times; |
| 2522 | 2522 | delay_register_commit = 32; |
| r23832 | r23833 | |
| 2530 | 2530 | ready_hooked = false; |
| 2531 | 2531 | } |
| 2532 | 2532 | |
| 2533 | wd1772_t::wd1772_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1772x, "WD1772", tag, owner, clock) | |
| 2533 | wd1772_t::wd1772_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1772x, "WD1772", tag, owner, clock, "wd1772", __FILE__) | |
| 2534 | 2534 | { |
| 2535 | 2535 | const static int wd1772_step_times[4] = { 12000, 24000, 4000, 6000 }; |
| 2536 | 2536 | |
| r23832 | r23833 | |
| 2551 | 2551 | return 30000; |
| 2552 | 2552 | } |
| 2553 | 2553 | |
| 2554 | wd1773_t::wd1773_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1773x, "WD1773", tag, owner, clock) | |
| 2554 | wd1773_t::wd1773_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : wd_fdc_digital_t(mconfig, WD1773x, "WD1773", tag, owner, clock, "wd1773", __FILE__) | |
| 2555 | 2555 | { |
| 2556 | 2556 | step_times = wd_digital_step_times; |
| 2557 | 2557 | delay_register_commit = 32; |
| r23832 | r23833 | |
|---|---|---|
| 112 | 112 | public: |
| 113 | 113 | typedef delegate<void (bool state)> line_cb; |
| 114 | 114 | |
| 115 | wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 115 | wd_fdc_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 116 | 116 | |
| 117 | 117 | void dden_w(bool dden); |
| 118 | 118 | void set_floppy(floppy_image_device *floppy); |
| r23832 | r23833 | |
| 414 | 414 | |
| 415 | 415 | class wd_fdc_analog_t : public wd_fdc_t { |
| 416 | 416 | public: |
| 417 | wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 417 | wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 418 | 418 | |
| 419 | 419 | protected: |
| 420 | 420 | virtual void pll_reset(bool fm, attotime when); |
| r23832 | r23833 | |
| 432 | 432 | |
| 433 | 433 | class wd_fdc_digital_t : public wd_fdc_t { |
| 434 | 434 | public: |
| 435 | wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 435 | wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 436 | 436 | |
| 437 | 437 | protected: |
| 438 | 438 | static const int wd_digital_step_times[4]; |
| r23832 | r23833 | |
|---|---|---|
| 671 | 671 | //------------------------------------------------- |
| 672 | 672 | |
| 673 | 673 | rtc65271_device::rtc65271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 674 | : device_t(mconfig, RTC65271, "RTC65271", tag, owner, clock), | |
| 674 | : device_t(mconfig, RTC65271, "RTC65271", tag, owner, clock, "rtc65271", __FILE__), | |
| 675 | 675 | device_nvram_interface(mconfig, *this) |
| 676 | 676 | { |
| 677 | 677 | } |
| r23832 | r23833 | |
|---|---|---|
| 1016 | 1016 | //------------------------------------------------- |
| 1017 | 1017 | |
| 1018 | 1018 | z8536_device::z8536_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1019 | : device_t(mconfig, Z8536, "Zilog Z8536", tag, owner, clock), | |
| 1019 | : device_t(mconfig, Z8536, "Zilog Z8536", tag, owner, clock, "z8536", __FILE__), | |
| 1020 | 1020 | device_z80daisy_interface(mconfig, *this), |
| 1021 | 1021 | m_int(CLEAR_LINE) |
| 1022 | 1022 | { |
| r23832 | r23833 | |
|---|---|---|
| 84 | 84 | //------------------------------------------------- |
| 85 | 85 | |
| 86 | 86 | z80sti_device::z80sti_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 87 | : device_t(mconfig, Z80STI, "Mostek MK3801", tag, owner, clock), | |
| 87 | : device_t(mconfig, Z80STI, "Mostek MK3801", tag, owner, clock, "z80sti", __FILE__), | |
| 88 | 88 | device_serial_interface(mconfig, *this), |
| 89 | 89 | device_z80daisy_interface(mconfig, *this), |
| 90 | 90 | m_gpip(0), |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | const device_type VT83C461 = &device_creator<vt83c461_device>; |
| 18 | 18 | |
| 19 | 19 | vt83c461_device::vt83c461_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 20 | ide_controller_device(mconfig, VT83C461, "VIA VT83C461", tag, owner, clock), | |
| 20 | ide_controller_device(mconfig, VT83C461, "VIA VT83C461", tag, owner, clock, "vt83c461", __FILE__), | |
| 21 | 21 | m_config_unknown(0), |
| 22 | 22 | m_config_register_num(0) |
| 23 | 23 | { |
| r23832 | r23833 | |
|---|---|---|
| 46 | 46 | // upd1990a_device - constructor |
| 47 | 47 | //------------------------------------------------- |
| 48 | 48 | |
| 49 | upd1990a_device::upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 50 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 49 | upd1990a_device::upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 50 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 51 | 51 | device_rtc_interface(mconfig, *this), |
| 52 | 52 | m_write_data(*this), |
| 53 | 53 | m_write_tp(*this), |
| r23832 | r23833 | |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | upd1990a_device::upd1990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, UPD1990A, "uPD1990A", tag, owner, clock), | |
| 62 | : device_t(mconfig, UPD1990A, "uPD1990A", tag, owner, clock, "upd1990a", __FILE__), | |
| 63 | 63 | device_rtc_interface(mconfig, *this), |
| 64 | 64 | m_write_data(*this), |
| 65 | 65 | m_write_tp(*this), |
| r23832 | r23833 | |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | upd4990a_device::upd4990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 74 | : upd1990a_device(mconfig, UPD4990A, "uPD4990A", tag, owner, clock, TYPE_4990A) { } | |
| 74 | : upd1990a_device(mconfig, UPD4990A, "uPD4990A", tag, owner, clock, TYPE_4990A, "upd4990a", __FILE__) { } | |
| 75 | 75 | |
| 76 | 76 | |
| 77 | 77 | //------------------------------------------------- |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | { |
| 54 | 54 | public: |
| 55 | 55 | // construction/destruction |
| 56 | upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 56 | upd1990a_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 57 | 57 | upd1990a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 58 | 58 | |
| 59 | 59 | template<class _data> void set_data_callback(_data data) { m_write_data.set_callback(data); } |
| r23832 | r23833 | |
|---|---|---|
| 619 | 619 | } |
| 620 | 620 | |
| 621 | 621 | lsi53c810_device::lsi53c810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 622 | : device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock) | |
| 622 | : device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock, "lsi53c810", __FILE__) | |
| 623 | 623 | { |
| 624 | 624 | } |
| 625 | 625 |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | nvram_device::nvram_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | : device_t(mconfig, NVRAM, "NVRAM", tag, owner, clock), | |
| 57 | : device_t(mconfig, NVRAM, "NVRAM", tag, owner, clock, "nvram", __FILE__), | |
| 58 | 58 | device_nvram_interface(mconfig, *this), |
| 59 | 59 | m_default_value(DEFAULT_ALL_1), |
| 60 | 60 | m_base(NULL), |
| r23832 | r23833 | |
|---|---|---|
| 65 | 65 | //------------------------------------------------- |
| 66 | 66 | |
| 67 | 67 | cdp1852_device::cdp1852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 68 | : device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock) | |
| 68 | : device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock, "cdp1852", __FILE__) | |
| 69 | 69 | { |
| 70 | 70 | } |
| 71 | 71 |
| r23832 | r23833 | |
|---|---|---|
| 4 | 4 | const device_type NSCSI_CONNECTOR = &device_creator<nscsi_connector>; |
| 5 | 5 | |
| 6 | 6 | nscsi_bus_device::nscsi_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 7 | device_t(mconfig, NSCSI_BUS, "SCSI Bus", tag, owner, clock) | |
| 7 | device_t(mconfig, NSCSI_BUS, "SCSI Bus", tag, owner, clock, "nscsi_bus", __FILE__) | |
| 8 | 8 | { |
| 9 | 9 | devcnt = 0; |
| 10 | 10 | memset(dev, 0, sizeof(dev)); |
| r23832 | r23833 | |
| 124 | 124 | |
| 125 | 125 | |
| 126 | 126 | nscsi_connector::nscsi_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 127 | device_t(mconfig, NSCSI_CONNECTOR, "NSCSI device connector abstraction", tag, owner, clock), | |
| 127 | device_t(mconfig, NSCSI_CONNECTOR, "NSCSI device connector abstraction", tag, owner, clock, "nscsi_connector", __FILE__), | |
| 128 | 128 | device_slot_interface(mconfig, *this) |
| 129 | 129 | { |
| 130 | 130 | } |
| r23832 | r23833 | |
|---|---|---|
| 397 | 397 | //------------------------------------------------- |
| 398 | 398 | |
| 399 | 399 | riot6532_device::riot6532_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 400 | : device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock), | |
| 400 | : device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock, "riot6532", __FILE__), | |
| 401 | 401 | m_irq(CLEAR_LINE) |
| 402 | 402 | { |
| 403 | 403 | } |
| r23832 | r23833 | |
|---|---|---|
| 67 | 67 | //------------------------------------------------- |
| 68 | 68 | |
| 69 | 69 | seibu_cop_device::seibu_cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 70 | : device_t(mconfig, SEIBU_COP, "seibu_cop", tag, owner, clock), | |
| 70 | : device_t(mconfig, SEIBU_COP, "seibu_cop", tag, owner, clock, "seibu_cop", __FILE__), | |
| 71 | 71 | device_memory_interface(mconfig, *this), |
| 72 | 72 | m_space_config("io", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(seibu_cop_io)) |
| 73 | 73 | { |
| r23832 | r23833 | |
|---|---|---|
| 88 | 88 | // pci_bus_legacy_device - constructor |
| 89 | 89 | //------------------------------------------------- |
| 90 | 90 | pci_bus_legacy_device::pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 91 | device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock), | |
| 91 | device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock, "pci_bus_legacy", __FILE__), | |
| 92 | 92 | m_father(NULL) |
| 93 | 93 | { |
| 94 | 94 | for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++) { |
| r23832 | r23833 | |
| 305 | 305 | // pci_bus_device - constructor |
| 306 | 306 | //------------------------------------------------- |
| 307 | 307 | pci_bus_device::pci_bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 308 | device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock), | |
| 308 | device_t(mconfig, PCI_BUS, "PCI Bus", tag, owner, clock, "pci_bus", __FILE__), | |
| 309 | 309 | m_father(NULL) |
| 310 | 310 | { |
| 311 | 311 | for (int i = 0; i < ARRAY_LENGTH(m_devtag); i++) { |
| r23832 | r23833 | |
| 530 | 530 | |
| 531 | 531 | |
| 532 | 532 | pci_connector::pci_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 533 | device_t(mconfig, PCI_CONNECTOR, "PCI device connector abstraction", tag, owner, clock), | |
| 533 | device_t(mconfig, PCI_CONNECTOR, "PCI device connector abstraction", tag, owner, clock, "pci_connector", __FILE__), | |
| 534 | 534 | device_slot_interface(mconfig, *this) |
| 535 | 535 | { |
| 536 | 536 | } |
| r23832 | r23833 | |
|---|---|---|
| 59 | 59 | const device_type K053252 = &device_creator<k053252_device>; |
| 60 | 60 | |
| 61 | 61 | k053252_device::k053252_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, K053252, "Konami 053252", tag, owner, clock) | |
| 62 | : device_t(mconfig, K053252, "Konami 053252", tag, owner, clock, "k053252", __FILE__) | |
| 63 | 63 | { |
| 64 | 64 | } |
| 65 | 65 |
| r23832 | r23833 | |
|---|---|---|
| 260 | 260 | //------------------------------------------------- |
| 261 | 261 | |
| 262 | 262 | i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 263 | : device_t(mconfig, I8255, "I8255", tag, owner, clock) | |
| 263 | : device_t(mconfig, I8255, "I8255", tag, owner, clock, "i8279", __FILE__) | |
| 264 | 264 | { |
| 265 | 265 | m_intr[PORT_A] = m_intr[PORT_B] = 0; |
| 266 | 266 | m_control = 0; |
| r23832 | r23833 | |
|---|---|---|
| 268 | 268 | const device_type MB87078 = &device_creator<mb87078_device>; |
| 269 | 269 | |
| 270 | 270 | mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 271 | : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock) | |
| 271 | : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock, "mb87078", __FILE__) | |
| 272 | 272 | { |
| 273 | 273 | m_token = global_alloc_clear(mb87078_state); |
| 274 | 274 | } |
| r23832 | r23833 | |
|---|---|---|
| 140 | 140 | //------------------------------------------------- |
| 141 | 141 | |
| 142 | 142 | wd2010_device::wd2010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 143 | : device_t(mconfig, WD2010, "Western Digital WD2010", tag, owner, clock), | |
| 143 | : device_t(mconfig, WD2010, "Western Digital WD2010", tag, owner, clock, "wd2010", __FILE__), | |
| 144 | 144 | m_status(0), |
| 145 | 145 | m_error(0) |
| 146 | 146 | { |
| r23832 | r23833 | |
|---|---|---|
| 42 | 42 | |
| 43 | 43 | |
| 44 | 44 | pit8253_device::pit8253_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 45 | : device_t(mconfig, PIT8253, "Intel PIT8253", tag, owner, clock) | |
| 45 | : device_t(mconfig, PIT8253, "Intel PIT8253", tag, owner, clock, "pit8253", __FILE__) | |
| 46 | 46 | { |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | pit8253_device::pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 50 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 49 | pit8253_device::pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 50 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 51 | 51 | { |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | pit8254_device::pit8254_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 55 | : pit8253_device(mconfig, PIT8254, "Intel PIT8254", tag, owner, clock) | |
| 55 | : pit8253_device(mconfig, PIT8254, "Intel PIT8254", tag, owner, clock, "pit8254", __FILE__) | |
| 56 | 56 | { |
| 57 | 57 | } |
| 58 | 58 |
| r23832 | r23833 | |
|---|---|---|
| 84 | 84 | { |
| 85 | 85 | public: |
| 86 | 86 | pit8253_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 87 | pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 87 | pit8253_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 88 | 88 | ~pit8253_device() {} |
| 89 | 89 | |
| 90 | 90 |
| r23832 | r23833 | |
|---|---|---|
| 19 | 19 | //------------------------------------------------- |
| 20 | 20 | |
| 21 | 21 | centronics_device::centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 22 | : device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock), | |
| 22 | : device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock, "centronics", __FILE__), | |
| 23 | 23 | device_slot_interface(mconfig, *this), |
| 24 | 24 | m_dev(NULL) |
| 25 | 25 | { |
| r23832 | r23833 | |
|---|---|---|
| 372 | 372 | //------------------------------------------------- |
| 373 | 373 | |
| 374 | 374 | am9517a_device::am9517a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 375 | : device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock), | |
| 375 | : device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock, "am9517a", __FILE__), | |
| 376 | 376 | device_execute_interface(mconfig, *this), |
| 377 | 377 | m_icount(0), |
| 378 | 378 | m_hack(0), |
| r23832 | r23833 | |
|---|---|---|
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | am53cf96_device::am53cf96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 161 | device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock), | |
| 161 | device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock, "am53cf96", __FILE__), | |
| 162 | 162 | m_irq_handler(*this) |
| 163 | 163 | { |
| 164 | 164 | } |
| r23832 | r23833 | |
|---|---|---|
| 2099 | 2099 | const device_type FD1771 = &device_creator<fd1771_device>; |
| 2100 | 2100 | |
| 2101 | 2101 | fd1771_device::fd1771_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2102 | : wd1770_device(mconfig, FD1771, "FD1771", tag, owner, clock) | |
| 2102 | : wd1770_device(mconfig, FD1771, "FD1771", tag, owner, clock, "fd1771", __FILE__) | |
| 2103 | 2103 | { |
| 2104 | 2104 | } |
| 2105 | 2105 | |
| r23832 | r23833 | |
| 2107 | 2107 | const device_type FD1781 = &device_creator<fd1781_device>; |
| 2108 | 2108 | |
| 2109 | 2109 | fd1781_device::fd1781_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2110 | : wd1770_device(mconfig, FD1781, "FD1781", tag, owner, clock) | |
| 2110 | : wd1770_device(mconfig, FD1781, "FD1781", tag, owner, clock, "fd1781", __FILE__) | |
| 2111 | 2111 | { |
| 2112 | 2112 | } |
| 2113 | 2113 | |
| r23832 | r23833 | |
| 2115 | 2115 | const device_type FD1791 = &device_creator<fd1791_device>; |
| 2116 | 2116 | |
| 2117 | 2117 | fd1791_device::fd1791_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2118 | : wd1770_device(mconfig, FD1791, "FD1791", tag, owner, clock) | |
| 2118 | : wd1770_device(mconfig, FD1791, "FD1791", tag, owner, clock, "fd1791", __FILE__) | |
| 2119 | 2119 | { |
| 2120 | 2120 | } |
| 2121 | 2121 | |
| r23832 | r23833 | |
| 2123 | 2123 | const device_type FD1792 = &device_creator<fd1792_device>; |
| 2124 | 2124 | |
| 2125 | 2125 | fd1792_device::fd1792_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2126 | : wd1770_device(mconfig, FD1792, "FD1792", tag, owner, clock) | |
| 2126 | : wd1770_device(mconfig, FD1792, "FD1792", tag, owner, clock, "fd1792", __FILE__) | |
| 2127 | 2127 | { |
| 2128 | 2128 | } |
| 2129 | 2129 | |
| r23832 | r23833 | |
| 2131 | 2131 | const device_type FD1793 = &device_creator<fd1793_device>; |
| 2132 | 2132 | |
| 2133 | 2133 | fd1793_device::fd1793_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2134 | : wd1770_device(mconfig, FD1793, "FD1793", tag, owner, clock) | |
| 2134 | : wd1770_device(mconfig, FD1793, "FD1793", tag, owner, clock, "fd1793", __FILE__) | |
| 2135 | 2135 | { |
| 2136 | 2136 | } |
| 2137 | 2137 | |
| r23832 | r23833 | |
| 2139 | 2139 | const device_type FD1794 = &device_creator<fd1794_device>; |
| 2140 | 2140 | |
| 2141 | 2141 | fd1794_device::fd1794_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2142 | : wd1770_device(mconfig, FD1794, "FD1794", tag, owner, clock) | |
| 2142 | : wd1770_device(mconfig, FD1794, "FD1794", tag, owner, clock, "fd1794", __FILE__) | |
| 2143 | 2143 | { |
| 2144 | 2144 | } |
| 2145 | 2145 | |
| r23832 | r23833 | |
| 2147 | 2147 | const device_type FD1795 = &device_creator<fd1795_device>; |
| 2148 | 2148 | |
| 2149 | 2149 | fd1795_device::fd1795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2150 | : wd1770_device(mconfig, FD1795, "FD1795", tag, owner, clock) | |
| 2150 | : wd1770_device(mconfig, FD1795, "FD1795", tag, owner, clock, "fd1795", __FILE__) | |
| 2151 | 2151 | { |
| 2152 | 2152 | } |
| 2153 | 2153 | |
| r23832 | r23833 | |
| 2155 | 2155 | const device_type FD1797 = &device_creator<fd1797_device>; |
| 2156 | 2156 | |
| 2157 | 2157 | fd1797_device::fd1797_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2158 | : wd1770_device(mconfig, FD1797, "FD1797", tag, owner, clock) | |
| 2158 | : wd1770_device(mconfig, FD1797, "FD1797", tag, owner, clock, "fd1797", __FILE__) | |
| 2159 | 2159 | { |
| 2160 | 2160 | } |
| 2161 | 2161 | |
| r23832 | r23833 | |
| 2163 | 2163 | const device_type FD1761 = &device_creator<fd1761_device>; |
| 2164 | 2164 | |
| 2165 | 2165 | fd1761_device::fd1761_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2166 | : wd1770_device(mconfig, FD1761, "FD1761", tag, owner, clock) | |
| 2166 | : wd1770_device(mconfig, FD1761, "FD1761", tag, owner, clock, "fd1761", __FILE__) | |
| 2167 | 2167 | { |
| 2168 | 2168 | } |
| 2169 | 2169 | |
| r23832 | r23833 | |
| 2171 | 2171 | const device_type FD1762 = &device_creator<fd1762_device>; |
| 2172 | 2172 | |
| 2173 | 2173 | fd1762_device::fd1762_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2174 | : wd1770_device(mconfig, FD1762, "FD1762", tag, owner, clock) | |
| 2174 | : wd1770_device(mconfig, FD1762, "FD1762", tag, owner, clock, "fd1762", __FILE__) | |
| 2175 | 2175 | { |
| 2176 | 2176 | } |
| 2177 | 2177 | |
| r23832 | r23833 | |
| 2179 | 2179 | const device_type FD1763 = &device_creator<fd1763_device>; |
| 2180 | 2180 | |
| 2181 | 2181 | fd1763_device::fd1763_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2182 | : wd1770_device(mconfig, FD1763, "FD1763", tag, owner, clock) | |
| 2182 | : wd1770_device(mconfig, FD1763, "FD1763", tag, owner, clock, "fd1763", __FILE__) | |
| 2183 | 2183 | { |
| 2184 | 2184 | } |
| 2185 | 2185 | |
| r23832 | r23833 | |
| 2187 | 2187 | const device_type FD1764 = &device_creator<fd1764_device>; |
| 2188 | 2188 | |
| 2189 | 2189 | fd1764_device::fd1764_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2190 | : wd1770_device(mconfig, FD1764, "FD1764", tag, owner, clock) | |
| 2190 | : wd1770_device(mconfig, FD1764, "FD1764", tag, owner, clock, "fd1764", __FILE__) | |
| 2191 | 2191 | { |
| 2192 | 2192 | } |
| 2193 | 2193 | |
| r23832 | r23833 | |
| 2195 | 2195 | const device_type FD1765 = &device_creator<fd1765_device>; |
| 2196 | 2196 | |
| 2197 | 2197 | fd1765_device::fd1765_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2198 | : wd1770_device(mconfig, FD1765, "FD1765", tag, owner, clock) | |
| 2198 | : wd1770_device(mconfig, FD1765, "FD1765", tag, owner, clock, "fd1765", __FILE__) | |
| 2199 | 2199 | { |
| 2200 | 2200 | } |
| 2201 | 2201 | |
| r23832 | r23833 | |
| 2203 | 2203 | const device_type FD1767 = &device_creator<fd1767_device>; |
| 2204 | 2204 | |
| 2205 | 2205 | fd1767_device::fd1767_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2206 | : wd1770_device(mconfig, FD1767, "FD1767", tag, owner, clock) | |
| 2206 | : wd1770_device(mconfig, FD1767, "FD1767", tag, owner, clock, "fd1767", __FILE__) | |
| 2207 | 2207 | { |
| 2208 | 2208 | } |
| 2209 | 2209 | |
| r23832 | r23833 | |
| 2211 | 2211 | const device_type WD2791 = &device_creator<wd2791_device>; |
| 2212 | 2212 | |
| 2213 | 2213 | wd2791_device::wd2791_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2214 | : wd1770_device(mconfig, WD2791, "WD2791", tag, owner, clock) | |
| 2214 | : wd1770_device(mconfig, WD2791, "WD2791", tag, owner, clock, "wd2791", __FILE__) | |
| 2215 | 2215 | { |
| 2216 | 2216 | } |
| 2217 | 2217 | |
| r23832 | r23833 | |
| 2219 | 2219 | const device_type WD2793 = &device_creator<wd2793_device>; |
| 2220 | 2220 | |
| 2221 | 2221 | wd2793_device::wd2793_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2222 | : wd1770_device(mconfig, WD2793, "WD2793", tag, owner, clock) | |
| 2222 | : wd1770_device(mconfig, WD2793, "WD2793", tag, owner, clock, "wd2793", __FILE__) | |
| 2223 | 2223 | { |
| 2224 | 2224 | } |
| 2225 | 2225 | |
| r23832 | r23833 | |
| 2227 | 2227 | const device_type WD2795 = &device_creator<wd2795_device>; |
| 2228 | 2228 | |
| 2229 | 2229 | wd2795_device::wd2795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2230 | : wd1770_device(mconfig, WD2795, "WD2795", tag, owner, clock) | |
| 2230 | : wd1770_device(mconfig, WD2795, "WD2795", tag, owner, clock, "wd2795", __FILE__) | |
| 2231 | 2231 | { |
| 2232 | 2232 | } |
| 2233 | 2233 | |
| r23832 | r23833 | |
| 2235 | 2235 | const device_type WD2797 = &device_creator<wd2797_device>; |
| 2236 | 2236 | |
| 2237 | 2237 | wd2797_device::wd2797_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2238 | : wd1770_device(mconfig, WD2797, "WD2797", tag, owner, clock) | |
| 2238 | : wd1770_device(mconfig, WD2797, "WD2797", tag, owner, clock, "wd2797", __FILE__) | |
| 2239 | 2239 | { |
| 2240 | 2240 | } |
| 2241 | 2241 | |
| r23832 | r23833 | |
| 2243 | 2243 | const device_type WD1770 = &device_creator<wd1770_device>; |
| 2244 | 2244 | |
| 2245 | 2245 | wd1770_device::wd1770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2246 | : device_t(mconfig, WD1770, "WD1770", tag, owner, clock) | |
| 2246 | : device_t(mconfig, WD1770, "WD1770", tag, owner, clock, "wd1770", __FILE__) | |
| 2247 | 2247 | { |
| 2248 | 2248 | m_token = global_alloc_clear(wd1770_state); |
| 2249 | 2249 | } |
| 2250 | wd1770_device::wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 2251 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 2250 | wd1770_device::wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 2251 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 2252 | 2252 | { |
| 2253 | 2253 | m_token = global_alloc_clear(wd1770_state); |
| 2254 | 2254 | } |
| r23832 | r23833 | |
| 2285 | 2285 | const device_type WD1772 = &device_creator<wd1772_device>; |
| 2286 | 2286 | |
| 2287 | 2287 | wd1772_device::wd1772_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2288 | : wd1770_device(mconfig, WD1772, "WD1772", tag, owner, clock) | |
| 2288 | : wd1770_device(mconfig, WD1772, "WD1772", tag, owner, clock, "wd1772", __FILE__) | |
| 2289 | 2289 | { |
| 2290 | 2290 | } |
| 2291 | 2291 | |
| r23832 | r23833 | |
| 2302 | 2302 | const device_type WD1773 = &device_creator<wd1773_device>; |
| 2303 | 2303 | |
| 2304 | 2304 | wd1773_device::wd1773_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2305 | : wd1770_device(mconfig, WD1773, "WD1773", tag, owner, clock) | |
| 2305 | : wd1770_device(mconfig, WD1773, "WD1773", tag, owner, clock, "wd1773", __FILE__) | |
| 2306 | 2306 | { |
| 2307 | 2307 | } |
| 2308 | 2308 | |
| r23832 | r23833 | |
| 2310 | 2310 | const device_type MB8866 = &device_creator<mb8866_device>; |
| 2311 | 2311 | |
| 2312 | 2312 | mb8866_device::mb8866_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2313 | : wd1770_device(mconfig, MB8866, "MB8866", tag, owner, clock) | |
| 2313 | : wd1770_device(mconfig, MB8866, "MB8866", tag, owner, clock, "mb8866", __FILE__) | |
| 2314 | 2314 | { |
| 2315 | 2315 | } |
| 2316 | 2316 | |
| r23832 | r23833 | |
| 2318 | 2318 | const device_type MB8876 = &device_creator<mb8876_device>; |
| 2319 | 2319 | |
| 2320 | 2320 | mb8876_device::mb8876_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2321 | : wd1770_device(mconfig, MB8876, "MB8876", tag, owner, clock) | |
| 2321 | : wd1770_device(mconfig, MB8876, "MB8876", tag, owner, clock, "mb8876", __FILE__) | |
| 2322 | 2322 | { |
| 2323 | 2323 | } |
| 2324 | 2324 | |
| r23832 | r23833 | |
| 2326 | 2326 | const device_type MB8877 = &device_creator<mb8877_device>; |
| 2327 | 2327 | |
| 2328 | 2328 | mb8877_device::mb8877_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2329 | : wd1770_device(mconfig, MB8877, "MB8877", tag, owner, clock) | |
| 2329 | : wd1770_device(mconfig, MB8877, "MB8877", tag, owner, clock, "mb8877", __FILE__) | |
| 2330 | 2330 | { |
| 2331 | 2331 | } |
| r23832 | r23833 | |
|---|---|---|
| 21 | 21 | { |
| 22 | 22 | public: |
| 23 | 23 | wd1770_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 24 | wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 24 | wd1770_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 25 | 25 | ~wd1770_device() { global_free(m_token); } |
| 26 | 26 | |
| 27 | 27 | // access to legacy token |
| r23832 | r23833 | |
|---|---|---|
| 651 | 651 | //------------------------------------------------- |
| 652 | 652 | |
| 653 | 653 | mc68901_device::mc68901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 654 | : device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock), | |
| 654 | : device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock, "mc68901", __FILE__), | |
| 655 | 655 | device_serial_interface(mconfig, *this), |
| 656 | 656 | m_gpip(0), |
| 657 | 657 | m_tsr(TSR_BUFFER_EMPTY) |
| r23832 | r23833 | |
|---|---|---|
| 173 | 173 | //------------------------------------------------- |
| 174 | 174 | |
| 175 | 175 | rp5c01_device::rp5c01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 176 | : device_t(mconfig, RP5C01, "RP5C01", tag, owner, clock), | |
| 176 | : device_t(mconfig, RP5C01, "RP5C01", tag, owner, clock, "rp5c01", __FILE__), | |
| 177 | 177 | device_rtc_interface(mconfig, *this), |
| 178 | 178 | device_nvram_interface(mconfig, *this), |
| 179 | 179 | m_mode(0), |
| r23832 | r23833 | |
|---|---|---|
| 117 | 117 | // timekeeper_device_config - constructor |
| 118 | 118 | //------------------------------------------------- |
| 119 | 119 | |
| 120 | timekeeper_device::timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 121 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 120 | timekeeper_device::timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 121 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 122 | 122 | device_nvram_interface(mconfig, *this) |
| 123 | 123 | { |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 127 | : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock) | |
| 127 | : timekeeper_device(mconfig, M48T02, "M48T02", tag, owner, clock, "m48t02", __FILE__) | |
| 128 | 128 | { |
| 129 | 129 | m_offset_control = 0x7f8; |
| 130 | 130 | m_offset_seconds = 0x7f9; |
| r23832 | r23833 | |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | m48t35_device::m48t35_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 143 | : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock) | |
| 143 | : timekeeper_device(mconfig, M48T35, "M48T35", tag, owner, clock, "m48t35", __FILE__) | |
| 144 | 144 | { |
| 145 | 145 | m_offset_control = 0x7ff8; |
| 146 | 146 | m_offset_seconds = 0x7ff9; |
| r23832 | r23833 | |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | m48t37_device::m48t37_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 159 | : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock) | |
| 159 | : timekeeper_device(mconfig, M48T37, "M48T37", tag, owner, clock, "m48t37", __FILE__) | |
| 160 | 160 | { |
| 161 | 161 | m_offset_control = 0x7ff8; |
| 162 | 162 | m_offset_seconds = 0x7ff9; |
| r23832 | r23833 | |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | m48t58_device::m48t58_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 175 | : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock) | |
| 175 | : timekeeper_device(mconfig, M48T58, "M48T58", tag, owner, clock, "m48t58", __FILE__) | |
| 176 | 176 | { |
| 177 | 177 | m_offset_control = 0x1ff8; |
| 178 | 178 | m_offset_seconds = 0x1ff9; |
| r23832 | r23833 | |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | mk48t08_device::mk48t08_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 191 | : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock) | |
| 191 | : timekeeper_device(mconfig, MK48T08, "MK48T08", tag, owner, clock, "m48t08", __FILE__) | |
| 192 | 192 | { |
| 193 | 193 | m_offset_control = 0x1ff8; |
| 194 | 194 | m_offset_seconds = 0x1ff9; |
| r23832 | r23833 | |
|---|---|---|
| 61 | 61 | { |
| 62 | 62 | protected: |
| 63 | 63 | // construction/destruction |
| 64 | timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 64 | timekeeper_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 65 | 65 | |
| 66 | 66 | public: |
| 67 | 67 | DECLARE_WRITE8_MEMBER( write ); |
| r23832 | r23833 | |
|---|---|---|
| 234 | 234 | const device_type LATCH8 = &device_creator<latch8_device>; |
| 235 | 235 | |
| 236 | 236 | latch8_device::latch8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 237 | : device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock) | |
| 237 | : device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock, "latch8", __FILE__) | |
| 238 | 238 | { |
| 239 | 239 | m_token = global_alloc_clear(latch8_t); |
| 240 | 240 | memset((void*)&m_inline_config,0,sizeof(m_inline_config)); |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | mos6529_device::mos6529_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, MOS6529, "MOS6529", tag, owner, clock), | |
| 40 | : device_t(mconfig, MOS6529, "MOS6529", tag, owner, clock, "mos6529", __FILE__), | |
| 41 | 41 | m_read_port(*this), |
| 42 | 42 | m_write_port(*this) |
| 43 | 43 | { |
| r23832 | r23833 | |
|---|---|---|
| 155 | 155 | SLOT_INTERFACE("hdd", IDE_HARDDISK) |
| 156 | 156 | SLOT_INTERFACE_END |
| 157 | 157 | |
| 158 | ata_interface_device::ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 159 | device_t(mconfig, type, name, tag, owner, clock), | |
| 158 | ata_interface_device::ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 159 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 160 | 160 | m_irq_handler(*this), |
| 161 | 161 | m_dmarq_handler(*this) |
| 162 | 162 | { |
| r23832 | r23833 | |
| 166 | 166 | const device_type ATA_INTERFACE = &device_creator<ata_interface_device>; |
| 167 | 167 | |
| 168 | 168 | ata_interface_device::ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 169 | device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock), | |
| 169 | device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock, "ata_interface", __FILE__), | |
| 170 | 170 | m_irq_handler(*this), |
| 171 | 171 | m_dmarq_handler(*this) |
| 172 | 172 | { |
| r23832 | r23833 | |
| 233 | 233 | //------------------------------------------------- |
| 234 | 234 | |
| 235 | 235 | ata_slot_device::ata_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 236 | : device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock), | |
| 236 | : device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock, "ata_slot", __FILE__), | |
| 237 | 237 | device_slot_interface(mconfig, *this), |
| 238 | 238 | m_dev(NULL) |
| 239 | 239 | { |
| r23832 | r23833 | |
|---|---|---|
| 93 | 93 | //------------------------------------------------- |
| 94 | 94 | |
| 95 | 95 | eeprom_device::eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 96 | : device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock), | |
| 96 | : device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock, "eeprom", __FILE__), | |
| 97 | 97 | device_memory_interface(mconfig, *this), |
| 98 | 98 | device_nvram_interface(mconfig, *this), |
| 99 | 99 | m_default_data_size(0), |
| r23832 | r23833 | |
|---|---|---|
| 77 | 77 | { |
| 78 | 78 | public: |
| 79 | 79 | ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 80 | ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 80 | ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 81 | 81 | |
| 82 | 82 | // static configuration helpers |
| 83 | 83 | template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ata_interface_device &>(device).m_irq_handler.set_callback(object); } |
| r23832 | r23833 | |
|---|---|---|
| 163 | 163 | ADDRESS_MAP_END |
| 164 | 164 | |
| 165 | 165 | tc0091lvc_device::tc0091lvc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 166 | : device_t(mconfig, TC0091LVC, "TC0091LVC", tag, owner, clock), | |
| 166 | : device_t(mconfig, TC0091LVC, "TC0091LVC", tag, owner, clock, "tc0091lvc", __FILE__), | |
| 167 | 167 | device_memory_interface(mconfig, *this), |
| 168 | 168 | m_space_config("tc0091lvc", ENDIANNESS_LITTLE, 8,20, 0, NULL, *ADDRESS_MAP_NAME(tc0091lvc_map8)) |
| 169 | 169 | { |
| r23832 | r23833 | |
|---|---|---|
| 147 | 147 | //------------------------------------------------- |
| 148 | 148 | |
| 149 | 149 | via6522_device::via6522_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 150 | : device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock), | |
| 150 | : device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock, "via6522", __FILE__), | |
| 151 | 151 | m_irq(CLEAR_LINE) |
| 152 | 152 | { |
| 153 | 153 | } |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | //------------------------------------------------- |
| 41 | 41 | |
| 42 | 42 | e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 43 | : device_t(mconfig, E0516, "E05-16", tag, owner, clock), | |
| 43 | : device_t(mconfig, E0516, "E05-16", tag, owner, clock, "e0516", __FILE__), | |
| 44 | 44 | device_rtc_interface(mconfig, *this) |
| 45 | 45 | { |
| 46 | 46 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | serflash_device::serflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, SERFLASH, "SERFLASH", tag, owner, clock), | |
| 23 | : device_t(mconfig, SERFLASH, "SERFLASH", tag, owner, clock, "serflash", __FILE__), | |
| 24 | 24 | device_nvram_interface(mconfig, *this), |
| 25 | 25 | m_length(0) |
| 26 | 26 | { |
| r23832 | r23833 | |
|---|---|---|
| 90 | 90 | //------------------------------------------------- |
| 91 | 91 | |
| 92 | 92 | i8214_device::i8214_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 93 | : device_t(mconfig, I8214, "I8214", tag, owner, clock) | |
| 93 | : device_t(mconfig, I8214, "I8214", tag, owner, clock, "i8214", __FILE__) | |
| 94 | 94 | { |
| 95 | 95 | } |
| 96 | 96 |
| r23832 | r23833 | |
|---|---|---|
| 80 | 80 | //------------------------------------------------- |
| 81 | 81 | |
| 82 | 82 | z80ctc_device::z80ctc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 83 | : device_t(mconfig, Z80CTC, "Zilog Z80 CTC", tag, owner, clock), | |
| 83 | : device_t(mconfig, Z80CTC, "Zilog Z80 CTC", tag, owner, clock, "z80ctc", __FILE__), | |
| 84 | 84 | device_z80daisy_interface(mconfig, *this) |
| 85 | 85 | { |
| 86 | 86 | } |
| r23832 | r23833 | |
|---|---|---|
| 435 | 435 | const device_type MOS6530 = &device_creator<mos6530_device>; |
| 436 | 436 | |
| 437 | 437 | mos6530_device::mos6530_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 438 | : device_t(mconfig, MOS6530, "MOS6530", tag, owner, clock) | |
| 438 | : device_t(mconfig, MOS6530, "MOS6530", tag, owner, clock, "mos6530", __FILE__) | |
| 439 | 439 | { |
| 440 | 440 | m_token = global_alloc_clear(mos6530_state); |
| 441 | 441 | } |
| r23832 | r23833 | |
|---|---|---|
| 449 | 449 | //------------------------------------------------- |
| 450 | 450 | |
| 451 | 451 | serial_source_device::serial_source_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 452 | : device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock), | |
| 452 | : device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock, "serial_source", __FILE__), | |
| 453 | 453 | device_serial_interface(mconfig, *this) |
| 454 | 454 | { |
| 455 | 455 | } |
| r23832 | r23833 | |
|---|---|---|
| 18 | 18 | //------------------------------------------------- |
| 19 | 19 | |
| 20 | 20 | serial_image_device::serial_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 21 | : device_t(mconfig, SERIAL, "Serial", tag, owner, clock), | |
| 21 | : device_t(mconfig, SERIAL, "Serial", tag, owner, clock, "serial_image", __FILE__), | |
| 22 | 22 | device_serial_interface(mconfig, *this), |
| 23 | 23 | device_image_interface(mconfig, *this) |
| 24 | 24 | { |
| r23832 | r23833 | |
|---|---|---|
| 18 | 18 | //------------------------------------------------- |
| 19 | 19 | |
| 20 | 20 | printer_image_device::printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 21 | : device_t(mconfig, PRINTER, "Printer", tag, owner, clock), | |
| 21 | : device_t(mconfig, PRINTER, "Printer", tag, owner, clock, "printer_image", __FILE__), | |
| 22 | 22 | device_image_interface(mconfig, *this) |
| 23 | 23 | { |
| 24 | 24 | } |
| r23832 | r23833 | |
|---|---|---|
| 22 | 22 | -------------------------------------------------*/ |
| 23 | 23 | |
| 24 | 24 | bitbanger_device::bitbanger_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 25 | : device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock), | |
| 25 | : device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock, "bitbanger", __FILE__), | |
| 26 | 26 | device_image_interface(mconfig, *this) |
| 27 | 27 | { |
| 28 | 28 | m_output_timer = NULL; |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | //------------------------------------------------- |
| 18 | 18 | |
| 19 | 19 | snapshot_image_device::snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 20 | : device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock), | |
| 20 | : device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock, "snapshot_image", __FILE__), | |
| 21 | 21 | device_image_interface(mconfig, *this), |
| 22 | 22 | m_interface(NULL), |
| 23 | 23 | m_delay_attoseconds(0) |
| r23832 | r23833 | |
|---|---|---|
| 19 | 19 | //------------------------------------------------- |
| 20 | 20 | |
| 21 | 21 | cartslot_image_device::cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 22 | : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock), | |
| 22 | : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock, "cartslot_image", __FILE__), | |
| 23 | 23 | device_image_interface(mconfig, *this), |
| 24 | 24 | m_extensions("bin"), |
| 25 | 25 | m_interface(NULL), |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | harddisk_image_device::harddisk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock), | |
| 40 | : device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock, "harddisk_image", __FILE__), | |
| 41 | 41 | device_image_interface(mconfig, *this), |
| 42 | 42 | m_chd(NULL), |
| 43 | 43 | m_hard_disk_handle(NULL) |
| r23832 | r23833 | |
|---|---|---|
| 25 | 25 | //------------------------------------------------- |
| 26 | 26 | |
| 27 | 27 | cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 28 | : device_t(mconfig, CDROM, "Cdrom", tag, owner, clock), | |
| 28 | : device_t(mconfig, CDROM, "Cdrom", tag, owner, clock, "cdrom_image", __FILE__), | |
| 29 | 29 | device_image_interface(mconfig, *this) |
| 30 | 30 | { |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | cdrom_image_device::cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) |
| 34 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 34 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 35 | 35 | device_image_interface(mconfig, *this) |
| 36 | 36 | { |
| 37 | 37 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | -------------------------------------------------*/ |
| 21 | 21 | |
| 22 | 22 | midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock), | |
| 23 | : device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock, "midiin", __FILE__), | |
| 24 | 24 | device_image_interface(mconfig, *this), |
| 25 | 25 | device_serial_interface(mconfig, *this) |
| 26 | 26 | { |
| r23832 | r23833 | |
|---|---|---|
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | 47 | floppy_connector::floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 48 | device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock), | |
| 48 | device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock, "floppy_connector", __FILE__), | |
| 49 | 49 | device_slot_interface(mconfig, *this) |
| 50 | 50 | { |
| 51 | 51 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | -------------------------------------------------*/ |
| 21 | 21 | |
| 22 | 22 | midiout_device::midiout_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock), | |
| 23 | : device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock, "midiout", __FILE__), | |
| 24 | 24 | device_image_interface(mconfig, *this), |
| 25 | 25 | device_serial_interface(mconfig, *this) |
| 26 | 26 | { |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock), | |
| 40 | : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock, "cassette_image", __FILE__), | |
| 41 | 41 | device_image_interface(mconfig, *this) |
| 42 | 42 | { |
| 43 | 43 | } |
| r23832 | r23833 | |
|---|---|---|
| 848 | 848 | //------------------------------------------------- |
| 849 | 849 | |
| 850 | 850 | legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 851 | : device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock), | |
| 851 | : device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock, "legacy_floppy_image", __FILE__), | |
| 852 | 852 | device_image_interface(mconfig, *this), |
| 853 | 853 | m_token(NULL) |
| 854 | 854 | { |
| r23832 | r23833 | |
|---|---|---|
| 62 | 62 | //------------------------------------------------- |
| 63 | 63 | |
| 64 | 64 | timer_device::timer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 65 | : device_t(mconfig, TIMER, "Timer", tag, owner, clock), | |
| 65 | : device_t(mconfig, TIMER, "Timer", tag, owner, clock, "timer", __FILE__), | |
| 66 | 66 | m_type(TIMER_TYPE_GENERIC), |
| 67 | 67 | m_callback(timer_device_expired_delegate()), |
| 68 | 68 | m_ptr(NULL), |
| r23832 | r23833 | |
|---|---|---|
| 145 | 145 | |
| 146 | 146 | protected: |
| 147 | 147 | // construction/destruction |
| 148 | device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname | |
| 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); | |
| 149 | 149 | virtual ~device_t(); |
| 150 | 150 | |
| 151 | 151 | public: |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | //------------------------------------------------- |
| 74 | 74 | |
| 75 | 75 | screen_device::screen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 76 | : device_t(mconfig, SCREEN, "Video Screen", tag, owner, clock), | |
| 76 | : device_t(mconfig, SCREEN, "Video Screen", tag, owner, clock, "screen", __FILE__), | |
| 77 | 77 | m_type(SCREEN_TYPE_RASTER), |
| 78 | 78 | m_oldstyle_vblank_supplied(false), |
| 79 | 79 | m_refresh(0), |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | //------------------------------------------------- |
| 74 | 74 | |
| 75 | 75 | speaker_device::speaker_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 76 | : device_t(mconfig, SPEAKER, "Speaker", tag, owner, clock), | |
| 76 | : device_t(mconfig, SPEAKER, "Speaker", tag, owner, clock, "speaker", __FILE__), | |
| 77 | 77 | device_mixer_interface(mconfig, *this), |
| 78 | 78 | m_x(0.0), |
| 79 | 79 | m_y(0.0), |
| r23832 | r23833 | |
|---|---|---|
| 465 | 465 | const device_type TM990_189_RS232 = &device_creator<tm990_189_rs232_image_device>; |
| 466 | 466 | |
| 467 | 467 | tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 468 | : device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock), | |
| 468 | : device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock, "tm990_189_rs232_image", __FILE__), | |
| 469 | 469 | device_image_interface(mconfig, *this) |
| 470 | 470 | { |
| 471 | 471 | } |
| r23832 | r23833 | |
|---|---|---|
| 93 | 93 | const device_type APEXC_CYLINDER = &device_creator<apexc_cylinder_image_device>; |
| 94 | 94 | |
| 95 | 95 | apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 96 | : device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock), | |
| 96 | : device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock, "apexc_cylinder_image", __FILE__), | |
| 97 | 97 | device_image_interface(mconfig, *this) |
| 98 | 98 | { |
| 99 | 99 | } |
| r23832 | r23833 | |
| 223 | 223 | const device_type APEXC_TAPE_PUNCHER = &device_creator<apexc_tape_puncher_image_device>; |
| 224 | 224 | |
| 225 | 225 | apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 226 | : device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock), | |
| 226 | : device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock, "apexc_tape_puncher_image", __FILE__), | |
| 227 | 227 | device_image_interface(mconfig, *this) |
| 228 | 228 | { |
| 229 | 229 | } |
| r23832 | r23833 | |
| 257 | 257 | const device_type APEXC_TAPE_READER = &device_creator<apexc_tape_reader_image_device>; |
| 258 | 258 | |
| 259 | 259 | apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 260 | : device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock), | |
| 260 | : device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock, "apexc_tape_reader_image", __FILE__), | |
| 261 | 261 | device_image_interface(mconfig, *this) |
| 262 | 262 | { |
| 263 | 263 | } |
| r23832 | r23833 | |
|---|---|---|
| 425 | 425 | const device_type TX0_READTAPE = &device_creator<tx0_readtape_image_device>; |
| 426 | 426 | |
| 427 | 427 | tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 428 | : device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock), | |
| 428 | : device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock, "tx0_readtape_image", __FILE__), | |
| 429 | 429 | device_image_interface(mconfig, *this) |
| 430 | 430 | { |
| 431 | 431 | } |
| r23832 | r23833 | |
| 460 | 460 | const device_type TX0_PUNCHTAPE = &device_creator<tx0_punchtape_image_device>; |
| 461 | 461 | |
| 462 | 462 | tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 463 | : device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock), | |
| 463 | : device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock, "tx0_punchtape_image", __FILE__), | |
| 464 | 464 | device_image_interface(mconfig, *this) |
| 465 | 465 | { |
| 466 | 466 | } |
| r23832 | r23833 | |
| 496 | 496 | const device_type TX0_PRINTER = &device_creator<tx0_printer_image_device>; |
| 497 | 497 | |
| 498 | 498 | tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 499 | : device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock), | |
| 499 | : device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock, "tx0_printer_image", __FILE__), | |
| 500 | 500 | device_image_interface(mconfig, *this) |
| 501 | 501 | { |
| 502 | 502 | } |
| r23832 | r23833 | |
| 531 | 531 | const device_type TX0_MAGTAPE = &device_creator<tx0_magtape_image_device>; |
| 532 | 532 | |
| 533 | 533 | tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 534 | : device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock), | |
| 534 | : device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock, "tx0_magtape_image", __FILE__), | |
| 535 | 535 | device_image_interface(mconfig, *this) |
| 536 | 536 | { |
| 537 | 537 | } |
| r23832 | r23833 | |
|---|---|---|
| 692 | 692 | const device_type PDP1_READTAPE = &device_creator<pdp1_readtape_image_device>; |
| 693 | 693 | |
| 694 | 694 | pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 695 | : device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock), | |
| 695 | : device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock, "pdp1_readtape_image", __FILE__), | |
| 696 | 696 | device_image_interface(mconfig, *this) |
| 697 | 697 | { |
| 698 | 698 | } |
| r23832 | r23833 | |
| 727 | 727 | const device_type PDP1_PUNCHTAPE = &device_creator<pdp1_punchtape_image_device>; |
| 728 | 728 | |
| 729 | 729 | pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 730 | : device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock), | |
| 730 | : device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock, "pdp1_punchtape_image", __FILE__), | |
| 731 | 731 | device_image_interface(mconfig, *this) |
| 732 | 732 | { |
| 733 | 733 | } |
| r23832 | r23833 | |
| 763 | 763 | const device_type PDP1_PRINTER = &device_creator<pdp1_printer_image_device>; |
| 764 | 764 | |
| 765 | 765 | pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 766 | : device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock), | |
| 766 | : device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock, "pdp1_printer_image", __FILE__), | |
| 767 | 767 | device_image_interface(mconfig, *this) |
| 768 | 768 | { |
| 769 | 769 | } |
| r23832 | r23833 | |
| 798 | 798 | const device_type PDP1_CYLINDER = &device_creator<pdp1_cylinder_image_device>; |
| 799 | 799 | |
| 800 | 800 | pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 801 | : device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock), | |
| 801 | : device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock, "pdp1_cylinder_image", __FILE__), | |
| 802 | 802 | device_image_interface(mconfig, *this) |
| 803 | 803 | { |
| 804 | 804 | } |
| r23832 | r23833 | |
|---|---|---|
| 44 | 44 | const device_type PV1000 = &device_creator<pv1000_sound_device>; |
| 45 | 45 | |
| 46 | 46 | pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 47 | : device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock), | |
| 47 | : device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock, "pv1000_sound", __FILE__), | |
| 48 | 48 | device_sound_interface(mconfig, *this) |
| 49 | 49 | { |
| 50 | 50 | } |
| r23832 | r23833 | |
|---|---|---|
| 204 | 204 | const device_type ESQ_5505_5510_PUMP = &device_creator<esq_5505_5510_pump>; |
| 205 | 205 | |
| 206 | 206 | esq_5505_5510_pump::esq_5505_5510_pump(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 207 | : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock), | |
| 207 | : device_t(mconfig, ESQ_5505_5510_PUMP, "ESQ_5505_5510_PUMP", tag, owner, clock, "esq_5505_5510_pump", __FILE__), | |
| 208 | 208 | device_sound_interface(mconfig, *this), |
| 209 | 209 | m_esp_halted(true) |
| 210 | 210 | { |
| r23832 | r23833 | |
|---|---|---|
| 11 | 11 | const device_type VC4000 = &device_creator<vc4000_sound_device>; |
| 12 | 12 | |
| 13 | 13 | vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 14 | : device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock), | |
| 14 | : device_t(mconfig, VC4000, "VC 4000 Custom", tag, owner, clock, "vc4000_sound", __FILE__), | |
| 15 | 15 | device_sound_interface(mconfig, *this), |
| 16 | 16 | m_channel(NULL), |
| 17 | 17 | m_size(0), |
| r23832 | r23833 | |
|---|---|---|
| 7 | 7 | const device_type CHANNELF_SOUND = &device_creator<channelf_sound_device>; |
| 8 | 8 | |
| 9 | 9 | channelf_sound_device::channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 10 | : device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock), | |
| 10 | : device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock, "channelf_sound", __FILE__), | |
| 11 | 11 | device_sound_interface(mconfig, *this), |
| 12 | 12 | m_channel(NULL), |
| 13 | 13 | m_sound_mode(0), |
| r23832 | r23833 | |
|---|---|---|
| 194 | 194 | //------------------------------------------------- |
| 195 | 195 | |
| 196 | 196 | vboysnd_device::vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 197 | : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock), | |
| 197 | : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock, "vboysnd", __FILE__), | |
| 198 | 198 | device_sound_interface(mconfig, *this) |
| 199 | 199 | { |
| 200 | 200 | } |
| r23832 | r23833 | |
|---|---|---|
| 23 | 23 | //------------------------------------------------- |
| 24 | 24 | |
| 25 | 25 | specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 26 | : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock), | |
| 26 | : device_t(mconfig, SPECIMX, "Specialist MX Custom", tag, owner, clock, "specimx_sound", __FILE__), | |
| 27 | 27 | device_sound_interface(mconfig, *this), |
| 28 | 28 | m_mixer_channel(NULL) |
| 29 | 29 | { |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | vrc6snd_device::vrc6snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 31 | : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock), | |
| 31 | : device_t(mconfig, VRC6, "VRC6 sound", tag, owner, clock, "vrc6snd", __FILE__), | |
| 32 | 32 | device_sound_interface(mconfig, *this) |
| 33 | 33 | { |
| 34 | 34 | } |
| r23832 | r23833 | |
|---|---|---|
| 33 | 33 | //------------------------------------------------- |
| 34 | 34 | |
| 35 | 35 | alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 36 | : device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock), | |
| 36 | : device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock, "alesis_dm3ag", __FILE__), | |
| 37 | 37 | m_dac(*this, "dac") |
| 38 | 38 | { |
| 39 | 39 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | socrates_snd_device::socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock), | |
| 23 | : device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock, "socrates_snd", __FILE__), | |
| 24 | 24 | device_sound_interface(mconfig, *this) |
| 25 | 25 | { |
| 26 | 26 | } |
| r23832 | r23833 | |
|---|---|---|
| 46 | 46 | //------------------------------------------------- |
| 47 | 47 | |
| 48 | 48 | arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 49 | : device_t(mconfig, ARCADIA_SOUND, "Arcadia Custom Sound", tag, owner, clock), | |
| 49 | : device_t(mconfig, ARCADIA_SOUND, "Arcadia Custom Sound", tag, owner, clock, "arcadia_sound", __FILE__), | |
| 50 | 50 | device_sound_interface(mconfig, *this) |
| 51 | 51 | { |
| 52 | 52 | } |
| r23832 | r23833 | |
|---|---|---|
| 104 | 104 | //------------------------------------------------- |
| 105 | 105 | |
| 106 | 106 | gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 107 | : device_t(mconfig, GAMEBOY, "LR35902", tag, owner, clock), | |
| 107 | : device_t(mconfig, GAMEBOY, "LR35902", tag, owner, clock, "gameboy_sound", __FILE__), | |
| 108 | 108 | device_sound_interface(mconfig, *this) |
| 109 | 109 | { |
| 110 | 110 | } |
| r23832 | r23833 | |
|---|---|---|
| 21 | 21 | //------------------------------------------------- |
| 22 | 22 | |
| 23 | 23 | svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 24 | : device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock), | |
| 24 | : device_t(mconfig, SVISION, "Super Vision Custom", tag, owner, clock, "svision_sound", __FILE__), | |
| 25 | 25 | device_sound_interface(mconfig, *this), |
| 26 | 26 | m_mixer_channel(NULL) |
| 27 | 27 | { |
| r23832 | r23833 | |
|---|---|---|
| 15 | 15 | //------------------------------------------------- |
| 16 | 16 | |
| 17 | 17 | tvc_sound_device::tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 18 | : device_t(mconfig, TVC_SOUND, "TVC 64 Custom Sound", tag, owner, clock), | |
| 18 | : device_t(mconfig, TVC_SOUND, "TVC 64 Custom Sound", tag, owner, clock, "tvc_sound", __FILE__), | |
| 19 | 19 | device_sound_interface(mconfig, *this) |
| 20 | 20 | { |
| 21 | 21 | } |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | dai_sound_device::dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, DAI_SOUND, "DAI Custom Sound", tag, owner, clock), | |
| 23 | : device_t(mconfig, DAI_SOUND, "DAI Custom Sound", tag, owner, clock, "dai_sound", __FILE__), | |
| 24 | 24 | device_sound_interface(mconfig, *this) |
| 25 | 25 | { |
| 26 | 26 | } |
| r23832 | r23833 | |
|---|---|---|
| 24 | 24 | //------------------------------------------------- |
| 25 | 25 | |
| 26 | 26 | wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 27 | : device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock), | |
| 27 | : device_t(mconfig, WSWAN, "WonderSwan Custom", tag, owner, clock, "wswan_sound", __FILE__), | |
| 28 | 28 | device_sound_interface(mconfig, *this), |
| 29 | 29 | m_channel(NULL), |
| 30 | 30 | m_sweep_step(0), |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | const device_type MAC_SOUND = &device_creator<mac_sound_device>; |
| 32 | 32 | |
| 33 | 33 | mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 34 | : device_t(mconfig, MAC_SOUND, "Mac Custom", tag, owner, clock), | |
| 34 | : device_t(mconfig, MAC_SOUND, "Mac Custom", tag, owner, clock, "mac_sound", __FILE__), | |
| 35 | 35 | device_sound_interface(mconfig, *this), |
| 36 | 36 | m_sample_enable(0), |
| 37 | 37 | m_mac_snd_buf_ptr(NULL), |
| r23832 | r23833 | |
|---|---|---|
| 222 | 222 | |
| 223 | 223 | |
| 224 | 224 | upd1771c_device::upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 225 | : device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock), | |
| 225 | : device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock, "upd1771c", __FILE__), | |
| 226 | 226 | device_sound_interface(mconfig, *this) |
| 227 | 227 | { |
| 228 | 228 | } |
| r23832 | r23833 | |
|---|---|---|
| 113 | 113 | |
| 114 | 114 | |
| 115 | 115 | mea8000_device::mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 116 | : device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock) | |
| 116 | : device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock, "mea8000", __FILE__) | |
| 117 | 117 | { |
| 118 | 118 | } |
| 119 | 119 |
| r23832 | r23833 | |
|---|---|---|
| 28 | 28 | //------------------------------------------------- |
| 29 | 29 | |
| 30 | 30 | ecbbus_slot_device::ecbbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 31 | device_t(mconfig, ECBBUS_SLOT, "ECB bus slot", tag, owner, clock), | |
| 31 | device_t(mconfig, ECBBUS_SLOT, "ECB bus slot", tag, owner, clock, "ecbbus_slot", __FILE__), | |
| 32 | 32 | device_slot_interface(mconfig, *this) |
| 33 | 33 | { |
| 34 | 34 | } |
| r23832 | r23833 | |
| 132 | 132 | //------------------------------------------------- |
| 133 | 133 | |
| 134 | 134 | ecbbus_device::ecbbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 135 | device_t(mconfig, ECBBUS, "ECB bus", tag, owner, clock) | |
| 135 | device_t(mconfig, ECBBUS, "ECB bus", tag, owner, clock, "ecbbus", __FILE__) | |
| 136 | 136 | { |
| 137 | 137 | for (int i = 0; i < MAX_ECBBUS_SLOTS; i++) |
| 138 | 138 | m_ecbbus_device[i] = NULL; |
| r23832 | r23833 | |
|---|---|---|
| 69 | 69 | //------------------------------------------------- |
| 70 | 70 | |
| 71 | 71 | sam6883_device::sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 72 | : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock), | |
| 72 | : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock, "sam6883", __FILE__), | |
| 73 | 73 | m_space_0000(*this), |
| 74 | 74 | m_space_8000(*this), |
| 75 | 75 | m_space_A000(*this), |
| r23832 | r23833 | |
|---|---|---|
| 99 | 99 | //------------------------------------------------- |
| 100 | 100 | |
| 101 | 101 | videobrain_expansion_slot_device::videobrain_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 102 | device_t(mconfig, VIDEOBRAIN_EXPANSION_SLOT, "VideoBrain expansion port", tag, owner, clock), | |
| 102 | device_t(mconfig, VIDEOBRAIN_EXPANSION_SLOT, "VideoBrain expansion port", tag, owner, clock, "videobrain_expansion_slot", __FILE__), | |
| 103 | 103 | device_slot_interface(mconfig, *this), |
| 104 | 104 | device_image_interface(mconfig, *this) |
| 105 | 105 | { |
| r23832 | r23833 | |
|---|---|---|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | generic_terminal_device::generic_terminal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 147 | : device_t(mconfig, GENERIC_TERMINAL, "Generic Terminal", tag, owner, clock), | |
| 147 | : device_t(mconfig, GENERIC_TERMINAL, "Generic Terminal", tag, owner, clock, "generic_terminal", __FILE__), | |
| 148 | 148 | m_io_term_frame(*this, "TERM_FRAME"), |
| 149 | 149 | m_io_term_conf(*this, "TERM_CONF") |
| 150 | 150 | { |
| r23832 | r23833 | |
|---|---|---|
| 110 | 110 | //------------------------------------------------- |
| 111 | 111 | |
| 112 | 112 | mos8722_device::mos8722_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 113 | : device_t(mconfig, MOS8722, "MOS8722", tag, owner, clock) | |
| 113 | : device_t(mconfig, MOS8722, "MOS8722", tag, owner, clock, "mos8722", __FILE__) | |
| 114 | 114 | { |
| 115 | 115 | } |
| 116 | 116 |
| r23832 | r23833 | |
|---|---|---|
| 508 | 508 | // z80ctc_device - constructor |
| 509 | 509 | //------------------------------------------------- |
| 510 | 510 | osborne1_daisy_device::osborne1_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 511 | : device_t(mconfig, OSBORNE1_DAISY, "Osborne 1 daisy", tag, owner, clock), | |
| 511 | : device_t(mconfig, OSBORNE1_DAISY, "Osborne 1 daisy", tag, owner, clock, "osborne1_daisy", __FILE__), | |
| 512 | 512 | device_z80daisy_interface(mconfig, *this) |
| 513 | 513 | { |
| 514 | 514 | } |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | ADDRESS_MAP_END |
| 18 | 18 | |
| 19 | 19 | nextmo_device::nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 20 | : device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock) | |
| 20 | : device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock, "nextmo", __FILE__) | |
| 21 | 21 | , r4(0) |
| 22 | 22 | { |
| 23 | 23 | } |
| r23832 | r23833 | |
|---|---|---|
| 797 | 797 | // nes_cart_slot_device - constructor |
| 798 | 798 | //------------------------------------------------- |
| 799 | 799 | nes_cart_slot_device::nes_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 800 | device_t(mconfig, NES_CART_SLOT, "NES Cartridge Slot", tag, owner, clock), | |
| 800 | device_t(mconfig, NES_CART_SLOT, "NES Cartridge Slot", tag, owner, clock, "nes_cart_slot", __FILE__), | |
| 801 | 801 | device_image_interface(mconfig, *this), |
| 802 | 802 | device_slot_interface(mconfig, *this), |
| 803 | 803 | m_crc_hack(0), |
| r23832 | r23833 | |
|---|---|---|
| 544 | 544 | //------------------------------------------------- |
| 545 | 545 | |
| 546 | 546 | ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 547 | : device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock), | |
| 547 | : device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock, "ibm5160_mb", __FILE__), | |
| 548 | 548 | m_maincpu(*owner, "maincpu"), |
| 549 | 549 | m_pic8259(*this, "pic8259"), |
| 550 | 550 | m_dma8237(*this, "dma8237"), |
| r23832 | r23833 | |
|---|---|---|
| 44 | 44 | //------------------------------------------------- |
| 45 | 45 | |
| 46 | 46 | abcbus_slot_device::abcbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 47 | device_t(mconfig, ABCBUS_SLOT, "ABC bus slot", tag, owner, clock), | |
| 47 | device_t(mconfig, ABCBUS_SLOT, "ABC bus slot", tag, owner, clock, "abcbus_slot", __FILE__), | |
| 48 | 48 | device_slot_interface(mconfig, *this), |
| 49 | 49 | m_write_int(*this), |
| 50 | 50 | m_write_nmi(*this), |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | Constructor |
| 74 | 74 | */ |
| 75 | 75 | ti99_datamux_device::ti99_datamux_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 76 | : device_t(mconfig, DATAMUX, "Databus multiplexer", tag, owner, clock) | |
| 76 | : device_t(mconfig, DATAMUX, "Databus multiplexer", tag, owner, clock, "ti99_datamux", __FILE__) | |
| 77 | 77 | { |
| 78 | 78 | } |
| 79 | 79 |
| r23832 | r23833 | |
|---|---|---|
| 124 | 124 | /* Ports */ |
| 125 | 125 | |
| 126 | 126 | ti_rs232_attached_device::ti_rs232_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 127 | : device_t(mconfig, TI99_RS232_DEV, "Serial attached device", tag, owner, clock), | |
| 127 | : device_t(mconfig, TI99_RS232_DEV, "Serial attached device", tag, owner, clock, "ti_rs232_attached", __FILE__), | |
| 128 | 128 | device_image_interface(mconfig, *this) |
| 129 | 129 | { |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | ti_pio_attached_device::ti_pio_attached_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 133 | : device_t(mconfig, TI99_PIO_DEV, "Parallel attached device", tag, owner, clock), | |
| 133 | : device_t(mconfig, TI99_PIO_DEV, "Parallel attached device", tag, owner, clock, "ti_pio_attached", __FILE__), | |
| 134 | 134 | device_image_interface(mconfig, *this) |
| 135 | 135 | { |
| 136 | 136 | } |
| r23832 | r23833 | |
|---|---|---|
| 227 | 227 | for (int i=2; i <= 8; i++) m_slot[i] = NULL; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | peribox_device::peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 231 | : bus8z_device(mconfig, PERIBOX, "Peripheral expansion box", tag, owner, clock, shortname, source) | |
| 232 | { | |
| 233 | for (int i=2; i <= 8; i++) m_slot[i] = NULL; | |
| 234 | } | |
| 235 | ||
| 230 | 236 | READ8Z_MEMBER(peribox_device::readz) |
| 231 | 237 | { |
| 232 | 238 | for (int i=2; i <= 8; i++) |
| r23832 | r23833 | |
| 430 | 436 | *****************************************************************************/ |
| 431 | 437 | |
| 432 | 438 | peribox_gen_device::peribox_gen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 433 | : peribox_device(mconfig, tag, owner, clock) | |
| 439 | : peribox_device(mconfig, tag, owner, clock, "peribox_gen", __FILE__) | |
| 434 | 440 | { |
| 435 | 441 | }; |
| 436 | 442 | |
| r23832 | r23833 | |
| 467 | 473 | *****************************************************************************/ |
| 468 | 474 | |
| 469 | 475 | peribox_sg_device::peribox_sg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 470 | : peribox_device(mconfig, tag, owner, clock) | |
| 476 | : peribox_device(mconfig, tag, owner, clock, "peribox_sg", __FILE__) | |
| 471 | 477 | { |
| 472 | 478 | }; |
| 473 | 479 | |
| r23832 | r23833 | |
| 511 | 517 | *****************************************************************************/ |
| 512 | 518 | |
| 513 | 519 | peribox_ev_device::peribox_ev_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 514 | : peribox_device(mconfig, tag, owner, clock) | |
| 520 | : peribox_device(mconfig, tag, owner, clock, "peribox_ev", __FILE__) | |
| 515 | 521 | { |
| 516 | 522 | }; |
| 517 | 523 |
| r23832 | r23833 | |
|---|---|---|
| 47 | 47 | friend class peribox_slot_device; |
| 48 | 48 | public: |
| 49 | 49 | peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 50 | peribox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 50 | 51 | |
| 51 | 52 | // Next six methods are called from the console |
| 52 | 53 | DECLARE_READ8Z_MEMBER(readz); |
| r23832 | r23833 | |
|---|---|---|
| 38 | 38 | #include "mecmouse.h" |
| 39 | 39 | |
| 40 | 40 | joyport_device::joyport_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 41 | : device_t(mconfig, JOYPORT, "Joystick port", tag, owner, clock), | |
| 41 | : device_t(mconfig, JOYPORT, "Joystick port", tag, owner, clock, "ti99_joyport", __FILE__), | |
| 42 | 42 | device_slot_interface(mconfig, *this) |
| 43 | 43 | { |
| 44 | 44 | } |
| r23832 | r23833 | |
|---|---|---|
| 32 | 32 | #define SYNC 13 |
| 33 | 33 | |
| 34 | 34 | mfm_harddisk_device::mfm_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 35 | : device_t(mconfig, TI99_MFMHD, "MFM Harddisk", tag, owner, clock) | |
| 35 | : device_t(mconfig, TI99_MFMHD, "MFM Harddisk", tag, owner, clock, "mfm_harddisk", __FILE__) | |
| 36 | 36 | { |
| 37 | 37 | } |
| 38 | 38 |
| r23832 | r23833 | |
|---|---|---|
| 146 | 146 | #define LOG logerror |
| 147 | 147 | |
| 148 | 148 | geneve_mapper_device::geneve_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 149 | : device_t(mconfig, GENEVE_MAPPER, "Geneve Gate Array", tag, owner, clock) | |
| 149 | : device_t(mconfig, GENEVE_MAPPER, "Geneve Gate Array", tag, owner, clock, "geneve_mapper", __FILE__) | |
| 150 | 150 | { |
| 151 | 151 | m_eprom = NULL; |
| 152 | 152 | } |
| r23832 | r23833 | |
| 958 | 958 | }; |
| 959 | 959 | |
| 960 | 960 | geneve_keyboard_device::geneve_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 961 | : device_t(mconfig, GENEVE_KEYBOARD, "Geneve XT-style keyboard", tag, owner, clock) | |
| 961 | : device_t(mconfig, GENEVE_KEYBOARD, "Geneve XT-style keyboard", tag, owner, clock, "geneve_keyboard", __FILE__) | |
| 962 | 962 | { |
| 963 | 963 | } |
| 964 | 964 | |
| r23832 | r23833 | |
| 1415 | 1415 | ****************************************************************************/ |
| 1416 | 1416 | |
| 1417 | 1417 | geneve_mouse_device::geneve_mouse_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1418 | : device_t(mconfig, GENEVE_MOUSE, "Geneve mouse", tag, owner, clock) | |
| 1418 | : device_t(mconfig, GENEVE_MOUSE, "Geneve mouse", tag, owner, clock, "geneve_mouse", __FILE__) | |
| 1419 | 1419 | { |
| 1420 | 1420 | } |
| 1421 | 1421 |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | vic20_user_port_device::vic20_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, VIC20_USER_PORT, "VIC-20 user port", tag, owner, clock), | |
| 56 | device_t(mconfig, VIC20_USER_PORT, "VIC-20 user port", tag, owner, clock, "vic20_user_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this) |
| 58 | 58 | { |
| 59 | 59 | } |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | mos8706_device::mos8706_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, MOS8706, "MOS8706", tag, owner, clock) | |
| 40 | : device_t(mconfig, MOS8706, "MOS8706", tag, owner, clock, "mos8706", __FILE__) | |
| 41 | 41 | { |
| 42 | 42 | } |
| 43 | 43 |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | pet_datassette_port_device::pet_datassette_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, PET_DATASSETTE_PORT, "Datassette Port", tag, owner, clock), | |
| 56 | device_t(mconfig, PET_DATASSETTE_PORT, "Datassette Port", tag, owner, clock, "pet_datassette_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this), |
| 58 | 58 | m_read_handler(*this) |
| 59 | 59 | { |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | c64_user_port_device::c64_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, C64_USER_PORT, "C64 user port", tag, owner, clock), | |
| 56 | device_t(mconfig, C64_USER_PORT, "C64 user port", tag, owner, clock, "c64_user_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this), |
| 58 | 58 | m_write_cnt1(*this), |
| 59 | 59 | m_write_sp1(*this), |
| r23832 | r23833 | |
|---|---|---|
| 7 | 7 | const device_type PSX_CONTROLLER_PORT = &device_creator<psx_controller_port_device>; |
| 8 | 8 | |
| 9 | 9 | psx_controller_port_device::psx_controller_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 10 | device_t(mconfig, PSX_CONTROLLER_PORT, "Playstation Controller Port", tag, owner, clock), | |
| 10 | device_t(mconfig, PSX_CONTROLLER_PORT, "Playstation Controller Port", tag, owner, clock, "psx_controller_port", __FILE__), | |
| 11 | 11 | device_slot_interface(mconfig, *this), |
| 12 | 12 | m_card(*this, "card") |
| 13 | 13 | { |
| r23832 | r23833 | |
|---|---|---|
| 44 | 44 | //------------------------------------------------- |
| 45 | 45 | |
| 46 | 46 | vip_byteio_port_device::vip_byteio_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 47 | device_t(mconfig, VIP_BYTEIO_PORT, "VIP byte I/O port", tag, owner, clock), | |
| 47 | device_t(mconfig, VIP_BYTEIO_PORT, "VIP byte I/O port", tag, owner, clock, "vip_byteio_port", __FILE__), | |
| 48 | 48 | device_slot_interface(mconfig, *this), |
| 49 | 49 | m_write_inst(*this) |
| 50 | 50 | { |
| r23832 | r23833 | |
|---|---|---|
| 29 | 29 | //------------------------------------------------- |
| 30 | 30 | |
| 31 | 31 | wangpcbus_slot_device::wangpcbus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 32 | device_t(mconfig, WANGPC_BUS_SLOT, "Wang PC bus slot", tag, owner, clock), | |
| 32 | device_t(mconfig, WANGPC_BUS_SLOT, "Wang PC bus slot", tag, owner, clock, "wangpcbus_slot", __FILE__), | |
| 33 | 33 | device_slot_interface(mconfig, *this) |
| 34 | 34 | { |
| 35 | 35 | } |
| r23832 | r23833 | |
| 103 | 103 | //------------------------------------------------- |
| 104 | 104 | |
| 105 | 105 | wangpcbus_device::wangpcbus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 106 | device_t(mconfig, WANGPC_BUS, "Wang PC bus", tag, owner, clock) | |
| 106 | device_t(mconfig, WANGPC_BUS, "Wang PC bus", tag, owner, clock, "wangpcbus", __FILE__) | |
| 107 | 107 | { |
| 108 | 108 | } |
| 109 | 109 |
| r23832 | r23833 | |
|---|---|---|
| 47 | 47 | const device_type NES_NTB_SLOT = &device_creator<nes_ntb_slot_device>; |
| 48 | 48 | |
| 49 | 49 | nes_ntb_slot_device::nes_ntb_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 50 | device_t(mconfig, NES_NTB_SLOT, "NES NTB Cartridge Slot", tag, owner, clock), | |
| 50 | device_t(mconfig, NES_NTB_SLOT, "NES NTB Cartridge Slot", tag, owner, clock, "nes_ntb_slot", __FILE__), | |
| 51 | 51 | device_image_interface(mconfig, *this), |
| 52 | 52 | device_slot_interface(mconfig, *this) |
| 53 | 53 | { |
| r23832 | r23833 | |
|---|---|---|
| 1570 | 1570 | const device_type I8271 = &device_creator<i8271_device>; |
| 1571 | 1571 | |
| 1572 | 1572 | i8271_device::i8271_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1573 | : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock) | |
| 1573 | : device_t(mconfig, I8271, "Intel 8271", tag, owner, clock, "i8271", __FILE__) | |
| 1574 | 1574 | { |
| 1575 | 1575 | m_token = global_alloc_clear(i8271_t); |
| 1576 | 1576 | } |
| r23832 | r23833 | |
|---|---|---|
| 42 | 42 | //------------------------------------------------- |
| 43 | 43 | |
| 44 | 44 | mos8726_device::mos8726_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 45 | : device_t(mconfig, MOS8726, "MOS8726", tag, owner, clock), | |
| 45 | : device_t(mconfig, MOS8726, "MOS8726", tag, owner, clock, "mos8726", __FILE__), | |
| 46 | 46 | device_execute_interface(mconfig, *this), |
| 47 | 47 | m_icount(0), |
| 48 | 48 | m_bs(1) |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | const device_type MESSIMG_DISK = &device_creator<messimg_disk_image_device>; |
| 55 | 55 | |
| 56 | 56 | messimg_disk_image_device::messimg_disk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | : device_t(mconfig, MESSIMG_DISK, "Mac image", tag, owner, clock), | |
| 57 | : device_t(mconfig, MESSIMG_DISK, "Mac image", tag, owner, clock, "messimg_disk_image", __FILE__), | |
| 58 | 58 | device_image_interface(mconfig, *this) |
| 59 | 59 | { |
| 60 | 60 | } |
| r23832 | r23833 | |
|---|---|---|
| 815 | 815 | const device_type ATARI_FDC = &device_creator<atari_fdc_device>; |
| 816 | 816 | |
| 817 | 817 | atari_fdc_device::atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 818 | : device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock) | |
| 818 | : device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock, "atari_fdc", __FILE__) | |
| 819 | 819 | { |
| 820 | 820 | m_token = global_alloc_clear(atari_fdc_t); |
| 821 | 821 | } |
| r23832 | r23833 | |
|---|---|---|
| 34 | 34 | // cococart_slot_device - constructor |
| 35 | 35 | //------------------------------------------------- |
| 36 | 36 | cococart_slot_device::cococart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 37 | device_t(mconfig, COCOCART_SLOT, "CoCo Cartridge Slot", tag, owner, clock), | |
| 37 | device_t(mconfig, COCOCART_SLOT, "CoCo Cartridge Slot", tag, owner, clock, "cococart_slot", __FILE__), | |
| 38 | 38 | device_slot_interface(mconfig, *this), |
| 39 | 39 | device_image_interface(mconfig, *this) |
| 40 | 40 | { |
| r23832 | r23833 | |
|---|---|---|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | generic_keyboard_device::generic_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 52 | : device_t(mconfig, GENERIC_KEYBOARD, "Generic Keyboard", tag, owner, clock) | |
| 52 | : device_t(mconfig, GENERIC_KEYBOARD, "Generic Keyboard", tag, owner, clock, "generic_keyboard", __FILE__) | |
| 53 | 53 | , m_io_kbd0(*this, "TERM_LINE0") |
| 54 | 54 | , m_io_kbd1(*this, "TERM_LINE1") |
| 55 | 55 | , m_io_kbd2(*this, "TERM_LINE2") |
| r23832 | r23833 | |
|---|---|---|
| 188 | 188 | #define LOG logerror |
| 189 | 189 | |
| 190 | 190 | smc92x4_device::smc92x4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 191 | : device_t(mconfig, SMC92X4, "SMC 9224/9234 Hard/Floppy Disk Controller", tag, owner, clock) | |
| 191 | : device_t(mconfig, SMC92X4, "SMC 9224/9234 Hard/Floppy Disk Controller", tag, owner, clock, "smc92x4", __FILE__) | |
| 192 | 192 | { |
| 193 | 193 | } |
| 194 | 194 |
| r23832 | r23833 | |
|---|---|---|
| 57 | 57 | //------------------------------------------------- |
| 58 | 58 | |
| 59 | 59 | cs8221_device::cs8221_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 60 | : device_t(mconfig, CS8221, "CS8221", tag, owner, clock), | |
| 60 | : device_t(mconfig, CS8221, "CS8221", tag, owner, clock, "cs8221", __FILE__), | |
| 61 | 61 | m_address(0), |
| 62 | 62 | m_address_valid(false) |
| 63 | 63 | { |
| r23832 | r23833 | |
|---|---|---|
| 55 | 55 | // z88cart_slot_device - constructor |
| 56 | 56 | //------------------------------------------------- |
| 57 | 57 | z88cart_slot_device::z88cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 58 | device_t(mconfig, Z88CART_SLOT, "Z88 Cartridge Slot", tag, owner, clock), | |
| 58 | device_t(mconfig, Z88CART_SLOT, "Z88 Cartridge Slot", tag, owner, clock, "z88cart_slot", __FILE__), | |
| 59 | 59 | device_image_interface(mconfig, *this), |
| 60 | 60 | device_slot_interface(mconfig, *this) |
| 61 | 61 | { |
| r23832 | r23833 | |
|---|---|---|
| 75 | 75 | //------------------------------------------------- |
| 76 | 76 | |
| 77 | 77 | ay3600_device::ay3600_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 78 | : device_t(mconfig, AY3600, "AY-5-3600", tag, owner, clock) | |
| 78 | : device_t(mconfig, AY3600, "AY-5-3600", tag, owner, clock, "ay3600", __FILE__) | |
| 79 | 79 | { |
| 80 | 80 | } |
| 81 | 81 |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | lh5810_device::lh5810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 56 | : device_t(mconfig, LH5810, "LH5810", tag, owner, clock) | |
| 56 | : device_t(mconfig, LH5810, "LH5810", tag, owner, clock, "lh5810", __FILE__) | |
| 57 | 57 | { |
| 58 | 58 | } |
| 59 | 59 |
| r23832 | r23833 | |
|---|---|---|
| 70 | 70 | //------------------------------------------------- |
| 71 | 71 | |
| 72 | 72 | coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 73 | : device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock), | |
| 73 | : device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock, "coco_vhd_image", __FILE__), | |
| 74 | 74 | device_image_interface(mconfig, *this) |
| 75 | 75 | { |
| 76 | 76 | } |
| r23832 | r23833 | |
|---|---|---|
| 75 | 75 | const device_type NAND = &device_creator<nand_device>; |
| 76 | 76 | |
| 77 | 77 | nand_device::nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 78 | : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock) | |
| 78 | : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock, "nand", __FILE__) | |
| 79 | 79 | { |
| 80 | 80 | } |
| 81 | 81 | nand_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) |
| r23832 | r23833 | |
|---|---|---|
| 255 | 255 | //------------------------------------------------- |
| 256 | 256 | |
| 257 | 257 | cbm_iec_slot_device::cbm_iec_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 258 | device_t(mconfig, CBM_IEC_SLOT, "CBM IEC slot", tag, owner, clock), | |
| 258 | device_t(mconfig, CBM_IEC_SLOT, "CBM IEC slot", tag, owner, clock, "cbm_iec_slot", __FILE__), | |
| 259 | 259 | device_slot_interface(mconfig, *this) |
| 260 | 260 | { |
| 261 | 261 | } |
| r23832 | r23833 | |
| 411 | 411 | //------------------------------------------------- |
| 412 | 412 | |
| 413 | 413 | cbm_iec_device::cbm_iec_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 414 | : device_t(mconfig, CBM_IEC, "CBM IEC bus", tag, owner, clock), | |
| 414 | : device_t(mconfig, CBM_IEC, "CBM IEC bus", tag, owner, clock, "cbm_iec", __FILE__), | |
| 415 | 415 | m_write_srq(*this), |
| 416 | 416 | m_write_atn(*this), |
| 417 | 417 | m_write_clk(*this), |
| r23832 | r23833 | |
|---|---|---|
| 84 | 84 | const device_type UPD71071 = &device_creator<upd71071_device>; |
| 85 | 85 | |
| 86 | 86 | upd71071_device::upd71071_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 87 | : device_t(mconfig, UPD71071, "NEC uPD71071", tag, owner, clock) | |
| 87 | : device_t(mconfig, UPD71071, "NEC uPD71071", tag, owner, clock, "upd71071", __FILE__) | |
| 88 | 88 | { |
| 89 | 89 | } |
| 90 | 90 |
| r23832 | r23833 | |
|---|---|---|
| 44 | 44 | //------------------------------------------------- |
| 45 | 45 | |
| 46 | 46 | ep64_expansion_bus_slot_device::ep64_expansion_bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 47 | device_t(mconfig, EP64_EXPANSION_BUS_SLOT, "Enterprise Sixty Four expansion bus slot", tag, owner, clock), | |
| 47 | device_t(mconfig, EP64_EXPANSION_BUS_SLOT, "Enterprise Sixty Four expansion bus slot", tag, owner, clock, "ep64_expansion_bus_slot", __FILE__), | |
| 48 | 48 | device_slot_interface(mconfig, *this), |
| 49 | 49 | m_write_irq(*this), |
| 50 | 50 | m_write_nmi(*this), |
| r23832 | r23833 | |
|---|---|---|
| 34 | 34 | //------------------------------------------------- |
| 35 | 35 | |
| 36 | 36 | pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 37 | : device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock) | |
| 37 | : device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock, "pc9801_kbd_", __FILE__) | |
| 38 | 38 | { |
| 39 | 39 | } |
| 40 | 40 |
| r23832 | r23833 | |
|---|---|---|
| 157 | 157 | //------------------------------------------------- |
| 158 | 158 | |
| 159 | 159 | vic20_expansion_slot_device::vic20_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 160 | device_t(mconfig, VIC20_EXPANSION_SLOT, "VIC-20 expansion port", tag, owner, clock), | |
| 160 | device_t(mconfig, VIC20_EXPANSION_SLOT, "VIC-20 expansion port", tag, owner, clock, "vic20_expansion_slot", __FILE__), | |
| 161 | 161 | device_slot_interface(mconfig, *this), |
| 162 | 162 | device_image_interface(mconfig, *this), |
| 163 | 163 | m_write_irq(*this), |
| r23832 | r23833 | |
|---|---|---|
| 18 | 18 | //------------------------------------------------- |
| 19 | 19 | |
| 20 | 20 | einstein_keyboard_daisy_device::einstein_keyboard_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 21 | : device_t(mconfig, EINSTEIN_KEYBOARD_DAISY, "Einstein keyboard daisy chain", tag, owner, clock), | |
| 21 | : device_t(mconfig, EINSTEIN_KEYBOARD_DAISY, "Einstein keyboard daisy chain", tag, owner, clock, "einstein_keyboard", __FILE__), | |
| 22 | 22 | device_z80daisy_interface(mconfig, *this) |
| 23 | 23 | { |
| 24 | 24 | } |
| r23832 | r23833 | |
| 81 | 81 | //------------------------------------------------- |
| 82 | 82 | |
| 83 | 83 | einstein_adc_daisy_device::einstein_adc_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 84 | : device_t(mconfig, EINSTEIN_ADC_DAISY, "Einstein ADC daisy chain", tag, owner, clock), | |
| 84 | : device_t(mconfig, EINSTEIN_ADC_DAISY, "Einstein ADC daisy chain", tag, owner, clock, "einstein_adc_daisy", __FILE__), | |
| 85 | 85 | device_z80daisy_interface(mconfig, *this) |
| 86 | 86 | { |
| 87 | 87 | } |
| r23832 | r23833 | |
| 146 | 146 | //------------------------------------------------- |
| 147 | 147 | |
| 148 | 148 | einstein_fire_daisy_device::einstein_fire_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 149 | : device_t(mconfig, EINSTEIN_FIRE_DAISY, "Einstein fire button daisy chain", tag, owner, clock), | |
| 149 | : device_t(mconfig, EINSTEIN_FIRE_DAISY, "Einstein fire button daisy chain", tag, owner, clock, "einstein_fire_daisy", __FILE__), | |
| 150 | 150 | device_z80daisy_interface(mconfig, *this) |
| 151 | 151 | { |
| 152 | 152 | } |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | */ |
| 38 | 38 | |
| 39 | 39 | fmscsi_device::fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock), | |
| 40 | : device_t(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock, "fmscsi", __FILE__), | |
| 41 | 41 | m_irq_handler(*this), |
| 42 | 42 | m_drq_handler(*this) |
| 43 | 43 | { |
| r23832 | r23833 | |
|---|---|---|
| 48 | 48 | //------------------------------------------------- |
| 49 | 49 | |
| 50 | 50 | abc_keyboard_port_device::abc_keyboard_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 51 | device_t(mconfig, ABC_KEYBOARD_PORT, "Luxor ABC keyboard port", tag, owner, clock), | |
| 51 | device_t(mconfig, ABC_KEYBOARD_PORT, "Luxor ABC keyboard port", tag, owner, clock, "abc_keyboard_port", __FILE__), | |
| 52 | 52 | device_slot_interface(mconfig, *this), |
| 53 | 53 | m_write_trxc(*this), |
| 54 | 54 | m_write_keydown(*this) |
| r23832 | r23833 | |
|---|---|---|
| 73 | 73 | //------------------------------------------------- |
| 74 | 74 | |
| 75 | 75 | apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 76 | : device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock) | |
| 76 | : device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock, "apollo_kbd", __FILE__) | |
| 77 | 77 | { |
| 78 | 78 | memset(static_cast<apollo_kbd_interface *>(this), 0, sizeof(apollo_kbd_interface)); |
| 79 | 79 | } |
| r23832 | r23833 | |
|---|---|---|
| 218 | 218 | const device_type E05A03 = &device_creator<e05a03_device>; |
| 219 | 219 | |
| 220 | 220 | e05a03_device::e05a03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 221 | : device_t(mconfig, E05A03, "E05A03", tag, owner, clock) | |
| 221 | : device_t(mconfig, E05A03, "E05A03", tag, owner, clock, "e05a03", __FILE__) | |
| 222 | 222 | { |
| 223 | 223 | m_token = global_alloc_clear(e05a03_state); |
| 224 | 224 | } |
| r23832 | r23833 | |
|---|---|---|
| 187 | 187 | //------------------------------------------------- |
| 188 | 188 | |
| 189 | 189 | cs4031_device::cs4031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 190 | device_t(mconfig, CS4031, "CS4031", tag, owner, clock), | |
| 190 | device_t(mconfig, CS4031, "CS4031", tag, owner, clock, "cs4031", __FILE__), | |
| 191 | 191 | m_read_ior(*this), |
| 192 | 192 | m_write_iow(*this), |
| 193 | 193 | m_write_tc(*this), |
| r23832 | r23833 | |
|---|---|---|
| 13 | 13 | //------------------------------------------------- |
| 14 | 14 | |
| 15 | 15 | x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 16 | : device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock), | |
| 16 | : device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock, "x1_keyboard", __FILE__), | |
| 17 | 17 | device_z80daisy_interface(mconfig, *this) |
| 18 | 18 | { |
| 19 | 19 | } |
| r23832 | r23833 | |
|---|---|---|
| 397 | 397 | //------------------------------------------------- |
| 398 | 398 | |
| 399 | 399 | c64h156_device::c64h156_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 400 | : device_t(mconfig, C64H156, "64H156", tag, owner, clock), | |
| 400 | : device_t(mconfig, C64H156, "64H156", tag, owner, clock, "c64h156", __FILE__), | |
| 401 | 401 | device_execute_interface(mconfig, *this), |
| 402 | 402 | m_icount(0), |
| 403 | 403 | m_floppy(NULL), |
| r23832 | r23833 | |
|---|---|---|
| 30 | 30 | // pc_kbdc_slot_device - constructor |
| 31 | 31 | //------------------------------------------------- |
| 32 | 32 | pc_kbdc_slot_device::pc_kbdc_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 33 | device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock), | |
| 33 | device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock, "pc_kbdc_slot", __FILE__), | |
| 34 | 34 | device_slot_interface(mconfig, *this) |
| 35 | 35 | { |
| 36 | 36 | } |
| r23832 | r23833 | |
| 68 | 68 | // pc_kbdc_device - constructor |
| 69 | 69 | //------------------------------------------------- |
| 70 | 70 | pc_kbdc_device::pc_kbdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 71 | device_t(mconfig, PC_KBDC, "PC_KBDC", tag, owner, clock), | |
| 71 | device_t(mconfig, PC_KBDC, "PC_KBDC", tag, owner, clock, "pc_kbdc", __FILE__), | |
| 72 | 72 | m_clock_state(-1), |
| 73 | 73 | m_data_state(-1), |
| 74 | 74 | m_kb_clock_state(1), |
| r23832 | r23833 | |
|---|---|---|
| 972 | 972 | const device_type TI990_TAPE = &device_creator<ti990_tape_image_device>; |
| 973 | 973 | |
| 974 | 974 | ti990_tape_image_device::ti990_tape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 975 | : device_t(mconfig, TI990_TAPE, "TI990 Magnetic Tape", tag, owner, clock), | |
| 975 | : device_t(mconfig, TI990_TAPE, "TI990 Magnetic Tape", tag, owner, clock, "ti990_tape_image", __FILE__), | |
| 976 | 976 | device_image_interface(mconfig, *this) |
| 977 | 977 | { |
| 978 | 978 | } |
| r23832 | r23833 | |
| 1067 | 1067 | const device_type TI990_TAPE_CTRL = &device_creator<tap_990_device>; |
| 1068 | 1068 | |
| 1069 | 1069 | tap_990_device::tap_990_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1070 | : device_t(mconfig, TI990_TAPE_CTRL, "Generic TI990 Tape Controller", tag, owner, clock) | |
| 1070 | : device_t(mconfig, TI990_TAPE_CTRL, "Generic TI990 Tape Controller", tag, owner, clock, "tap_990", __FILE__) | |
| 1071 | 1071 | { |
| 1072 | 1072 | m_token = global_alloc_clear(tap_990_t); |
| 1073 | 1073 | } |
| r23832 | r23833 | |
|---|---|---|
| 379 | 379 | const device_type MICROPOLIS = &device_creator<micropolis_device>; |
| 380 | 380 | |
| 381 | 381 | micropolis_device::micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 382 | : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock) | |
| 382 | : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock, "micropolis", __FILE__) | |
| 383 | 383 | { |
| 384 | 384 | m_token = global_alloc_clear(micropolis_state); |
| 385 | 385 | } |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | const device_type S3C44B0 = &device_creator<s3c44b0_device>; |
| 32 | 32 | |
| 33 | 33 | s3c44b0_device::s3c44b0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 34 | : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock) | |
| 34 | : device_t(mconfig, S3C44B0, "Samsung S3C44B0", tag, owner, clock, "s3c44b0", __FILE__) | |
| 35 | 35 | { |
| 36 | 36 | memset(&m_irq, 0, sizeof(s3c44b0_irq_t)); |
| 37 | 37 | memset(m_zdma, 0, sizeof(s3c44b0_dma_t)*2); |
| r23832 | r23833 | |
|---|---|---|
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 | mc68328_device::mc68328_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 34 | : device_t(mconfig, MC68328, "Motorola MC68328 (DragonBall) Integrated Processor", tag, owner, clock) | |
| 34 | : device_t(mconfig, MC68328, "Motorola MC68328 (DragonBall) Integrated Processor", tag, owner, clock, "mc68328", __FILE__) | |
| 35 | 35 | { |
| 36 | 36 | } |
| 37 | 37 |
| r23832 | r23833 | |
|---|---|---|
| 81 | 81 | //------------------------------------------------- |
| 82 | 82 | |
| 83 | 83 | rom_image_device::rom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 84 | : device_t(mconfig, ROMSLOT, "ROM image", tag, owner, clock), | |
| 84 | : device_t(mconfig, ROMSLOT, "ROM image", tag, owner, clock, "rom_image", __FILE__), | |
| 85 | 85 | device_image_interface(mconfig, *this) |
| 86 | 86 | { |
| 87 | 87 | } |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | comx_expansion_slot_device::comx_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 57 | device_t(mconfig, COMX_EXPANSION_SLOT, "COMX-35 expansion slot", tag, owner, clock), | |
| 57 | device_t(mconfig, COMX_EXPANSION_SLOT, "COMX-35 expansion slot", tag, owner, clock, "comx_expansion_slot", __FILE__), | |
| 58 | 58 | device_slot_interface(mconfig, *this) |
| 59 | 59 | { |
| 60 | 60 | } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | pet_user_port_device::pet_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, PET_USER_PORT, "PET user port", tag, owner, clock), | |
| 56 | device_t(mconfig, PET_USER_PORT, "PET user port", tag, owner, clock, "pet_user_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this) |
| 58 | 58 | { |
| 59 | 59 | } |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | // iq151cart_slot_device - constructor |
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | iq151cart_slot_device::iq151cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 55 | device_t(mconfig, IQ151CART_SLOT, "IQ151 cartridge slot", tag, owner, clock), | |
| 55 | device_t(mconfig, IQ151CART_SLOT, "IQ151 cartridge slot", tag, owner, clock, "iq151cart_slot", __FILE__), | |
| 56 | 56 | device_slot_interface(mconfig, *this), |
| 57 | 57 | device_image_interface(mconfig, *this) |
| 58 | 58 | { |
| r23832 | r23833 | |
|---|---|---|
| 465 | 465 | const device_type HD63450 = &device_creator<hd63450_device>; |
| 466 | 466 | |
| 467 | 467 | hd63450_device::hd63450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 468 | : device_t(mconfig, HD63450, "Hitachi HD63450", tag, owner, clock) | |
| 468 | : device_t(mconfig, HD63450, "Hitachi HD63450", tag, owner, clock, "hd63450", __FILE__) | |
| 469 | 469 | { |
| 470 | 470 | m_token = global_alloc_clear(hd63450_t); |
| 471 | 471 | } |
| r23832 | r23833 | |
|---|---|---|
| 149 | 149 | //------------------------------------------------- |
| 150 | 150 | |
| 151 | 151 | hd64610_device::hd64610_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 152 | : device_t(mconfig, HD64610, "HD64610", tag, owner, clock), | |
| 152 | : device_t(mconfig, HD64610, "HD64610", tag, owner, clock, "hd64610", __FILE__), | |
| 153 | 153 | device_rtc_interface(mconfig, *this), |
| 154 | 154 | device_nvram_interface(mconfig, *this), |
| 155 | 155 | m_hline_state(1), |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | }; |
| 41 | 41 | |
| 42 | 42 | psxcard_device::psxcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 43 | : device_t(mconfig, PSXCARD, "Sony PSX Memory Card", tag, owner, clock), | |
| 43 | : device_t(mconfig, PSXCARD, "Sony PSX Memory Card", tag, owner, clock, "psxcard", __FILE__), | |
| 44 | 44 | device_image_interface(mconfig, *this) |
| 45 | 45 | { |
| 46 | 46 | } |
| r23832 | r23833 | |
|---|---|---|
| 99 | 99 | //------------------------------------------------- |
| 100 | 100 | |
| 101 | 101 | adam_expansion_slot_device::adam_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 102 | device_t(mconfig, ADAM_EXPANSION_SLOT, "ADAM expansion slot", tag, owner, clock), | |
| 102 | device_t(mconfig, ADAM_EXPANSION_SLOT, "ADAM expansion slot", tag, owner, clock, "adam_expansion_slot", __FILE__), | |
| 103 | 103 | device_slot_interface(mconfig, *this), |
| 104 | 104 | device_image_interface(mconfig, *this) |
| 105 | 105 | { |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | ADDRESS_MAP_END |
| 18 | 18 | |
| 19 | 19 | mb8795_device::mb8795_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 20 | : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock), | |
| 20 | : device_t(mconfig, MB8795, "Fujitsu MB8795", tag, owner, clock, "mb8795", __FILE__), | |
| 21 | 21 | device_network_interface(mconfig, *this, 10) |
| 22 | 22 | { |
| 23 | 23 | } |
| r23832 | r23833 | |
|---|---|---|
| 377 | 377 | const device_type KR2376 = &device_creator<kr2376_device>; |
| 378 | 378 | |
| 379 | 379 | kr2376_device::kr2376_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 380 | : device_t(mconfig, KR2376, "SMC KR2376", tag, owner, clock) | |
| 380 | : device_t(mconfig, KR2376, "SMC KR2376", tag, owner, clock, "kr2376", __FILE__) | |
| 381 | 381 | { |
| 382 | 382 | m_token = global_alloc_clear(kr2376_t); |
| 383 | 383 | } |
| r23832 | r23833 | |
|---|---|---|
| 27 | 27 | IMPLEMENTATION |
| 28 | 28 | ***************************************************************************/ |
| 29 | 29 | |
| 30 | mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock) | |
| 30 | mpcc68561_t::mpcc68561_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MPCC68561, "Rockwell 68561 MPCC", tag, owner, clock, "mpcc68561", __FILE__) | |
| 31 | 31 | { |
| 32 | 32 | } |
| 33 | 33 |
| r23832 | r23833 | |
|---|---|---|
| 670 | 670 | //------------------------------------------------- |
| 671 | 671 | |
| 672 | 672 | to7_io_line_device::to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 673 | : device_t(mconfig, TO7_IO_LINE, "Serial source", tag, owner, clock), | |
| 673 | : device_t(mconfig, TO7_IO_LINE, "Serial source", tag, owner, clock, "to7_io_line", __FILE__), | |
| 674 | 674 | device_serial_interface(mconfig, *this) |
| 675 | 675 | { |
| 676 | 676 | } |
| r23832 | r23833 | |
|---|---|---|
| 129 | 129 | */ |
| 130 | 130 | |
| 131 | 131 | mb89352_device::mb89352_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 132 | : device_t(mconfig, MB89352A, "MB89352A", tag, owner, clock) | |
| 132 | : device_t(mconfig, MB89352A, "MB89352A", tag, owner, clock, "mb89352", __FILE__) | |
| 133 | 133 | { |
| 134 | 134 | } |
| 135 | 135 |
| r23832 | r23833 | |
|---|---|---|
| 1059 | 1059 | } |
| 1060 | 1060 | |
| 1061 | 1061 | hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1062 | : device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock), | |
| 1062 | : device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock, "hp48_port_image", __FILE__), | |
| 1063 | 1063 | device_image_interface(mconfig, *this) |
| 1064 | 1064 | { |
| 1065 | 1065 | } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | bw2_expansion_slot_device::bw2_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, BW2_EXPANSION_SLOT, "Bondwell 2 expansion port", tag, owner, clock), | |
| 56 | device_t(mconfig, BW2_EXPANSION_SLOT, "Bondwell 2 expansion port", tag, owner, clock, "bw2_expansion_slot", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this) |
| 58 | 58 | { |
| 59 | 59 | } |
| r23832 | r23833 | |
|---|---|---|
| 125 | 125 | // pce_cart_slot_device - constructor |
| 126 | 126 | //------------------------------------------------- |
| 127 | 127 | pce_cart_slot_device::pce_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 128 | device_t(mconfig, PCE_CART_SLOT, "PCE & TG16 Cartridge Slot", tag, owner, clock), | |
| 128 | device_t(mconfig, PCE_CART_SLOT, "PCE & TG16 Cartridge Slot", tag, owner, clock, "pce_cart_slot", __FILE__), | |
| 129 | 129 | device_image_interface(mconfig, *this), |
| 130 | 130 | device_slot_interface(mconfig, *this), |
| 131 | 131 | m_interface("pce_cart"), |
| r23832 | r23833 | |
|---|---|---|
| 36 | 36 | //------------------------------------------------- |
| 37 | 37 | |
| 38 | 38 | pet_expansion_slot_device::pet_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 39 | device_t(mconfig, PET_EXPANSION_SLOT, "PET memory expansion port", tag, owner, clock), | |
| 39 | device_t(mconfig, PET_EXPANSION_SLOT, "PET memory expansion port", tag, owner, clock, "pet_expansion_slot", __FILE__), | |
| 40 | 40 | device_slot_interface(mconfig, *this), |
| 41 | 41 | m_read_dma(*this), |
| 42 | 42 | m_write_dma(*this) |
| r23832 | r23833 | |
|---|---|---|
| 64 | 64 | //------------------------------------------------- |
| 65 | 65 | |
| 66 | 66 | econet_slot_device::econet_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 67 | device_t(mconfig, ECONET_SLOT, "Econet station", tag, owner, clock), | |
| 67 | device_t(mconfig, ECONET_SLOT, "Econet station", tag, owner, clock, "econet_slot", __FILE__), | |
| 68 | 68 | device_slot_interface(mconfig, *this) |
| 69 | 69 | { |
| 70 | 70 | } |
| r23832 | r23833 | |
| 231 | 231 | //------------------------------------------------- |
| 232 | 232 | |
| 233 | 233 | econet_device::econet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 234 | : device_t(mconfig, ECONET, "Econet", tag, owner, clock) | |
| 234 | : device_t(mconfig, ECONET, "Econet", tag, owner, clock, "econet", __FILE__) | |
| 235 | 235 | { |
| 236 | 236 | for (int i = 0; i < SIGNAL_COUNT; i++) |
| 237 | 237 | { |
| r23832 | r23833 | |
|---|---|---|
| 59 | 59 | //------------------------------------------------- |
| 60 | 60 | |
| 61 | 61 | datapack_device::datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 62 | : device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock), | |
| 62 | : device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock, "datapack", __FILE__), | |
| 63 | 63 | device_image_interface(mconfig, *this) |
| 64 | 64 | { |
| 65 | 65 | } |
| r23832 | r23833 | |
|---|---|---|
| 331 | 331 | //------------------------------------------------- |
| 332 | 332 | |
| 333 | 333 | gf1_device::gf1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 334 | : device_t(mconfig, GGF1, "Gravis GF1", tag, owner, clock), | |
| 334 | : device_t(mconfig, GGF1, "Gravis GF1", tag, owner, clock, "gf1", __FILE__), | |
| 335 | 335 | device_sound_interface( mconfig, *this ) |
| 336 | 336 | { |
| 337 | 337 | } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | sms_control_port_device::sms_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, SMS_CONTROL_PORT, "Sega SMS control port", tag, owner, clock), | |
| 56 | device_t(mconfig, SMS_CONTROL_PORT, "Sega SMS control port", tag, owner, clock, "sms_control_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this), |
| 58 | 58 | m_th_pin_handler(*this), |
| 59 | 59 | m_pixel_handler(*this) |
| r23832 | r23833 | |
|---|---|---|
| 132 | 132 | //------------------------------------------------- |
| 133 | 133 | |
| 134 | 134 | c64_expansion_slot_device::c64_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 135 | device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock), | |
| 135 | device_t(mconfig, C64_EXPANSION_SLOT, "C64 expansion port", tag, owner, clock, "c64_expansion_slot", __FILE__), | |
| 136 | 136 | device_slot_interface(mconfig, *this), |
| 137 | 137 | device_image_interface(mconfig, *this), |
| 138 | 138 | m_read_dma_cd(*this), |
| r23832 | r23833 | |
|---|---|---|
| 106 | 106 | //------------------------------------------------- |
| 107 | 107 | |
| 108 | 108 | vic10_expansion_slot_device::vic10_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 109 | device_t(mconfig, VIC10_EXPANSION_SLOT, "VIC-10 expansion port", tag, owner, clock), | |
| 109 | device_t(mconfig, VIC10_EXPANSION_SLOT, "VIC-10 expansion port", tag, owner, clock, "vic10_expansion_slot", __FILE__), | |
| 110 | 110 | device_slot_interface(mconfig, *this), |
| 111 | 111 | device_image_interface(mconfig, *this), |
| 112 | 112 | m_write_irq(*this), |
| r23832 | r23833 | |
|---|---|---|
| 1157 | 1157 | const device_type OMTI_DISK = &device_creator<omti_disk_image_device>; |
| 1158 | 1158 | |
| 1159 | 1159 | omti_disk_image_device::omti_disk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1160 | : device_t(mconfig, OMTI_DISK, "Winchester", tag, owner, clock), | |
| 1160 | : device_t(mconfig, OMTI_DISK, "Winchester", tag, owner, clock, "omti_disk_image", __FILE__), | |
| 1161 | 1161 | device_image_interface(mconfig, *this) |
| 1162 | 1162 | { |
| 1163 | 1163 | } |
| r23832 | r23833 | |
| 1332 | 1332 | const device_type OMTI8621 = &device_creator<omti8621_device>; |
| 1333 | 1333 | |
| 1334 | 1334 | omti8621_device::omti8621_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1335 | : device_t(mconfig, OMTI8621, "OMTI 8621", tag, owner, clock) | |
| 1335 | : device_t(mconfig, OMTI8621, "OMTI 8621", tag, owner, clock, "omti8621", __FILE__) | |
| 1336 | 1336 | { |
| 1337 | 1337 | m_token = global_alloc_clear(omti8621_state); |
| 1338 | 1338 | } |
| r23832 | r23833 | |
|---|---|---|
| 112 | 112 | // sega8_cart_slot_device - constructor |
| 113 | 113 | //------------------------------------------------- |
| 114 | 114 | |
| 115 | sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card) : | |
| 116 | device_t(mconfig, type, name, tag, owner, clock), | |
| 115 | sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card, const char *shortname, const char *source) : | |
| 116 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 117 | 117 | device_image_interface(mconfig, *this), |
| 118 | 118 | device_slot_interface(mconfig, *this), |
| 119 | 119 | m_type(SEGA8_BASE_ROM), |
| r23832 | r23833 | |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | sega8_cart_slot_device::sega8_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 128 | device_t(mconfig, SEGA8_CART_SLOT, "Sega Master System / Game Gear / SG1000 Cartridge Slot", tag, owner, clock), | |
| 128 | device_t(mconfig, SEGA8_CART_SLOT, "Sega Master System / Game Gear / SG1000 Cartridge Slot", tag, owner, clock, "sega8_cart_slot", __FILE__), | |
| 129 | 129 | device_image_interface(mconfig, *this), |
| 130 | 130 | device_slot_interface(mconfig, *this), |
| 131 | 131 | m_type(SEGA8_BASE_ROM), |
| r23832 | r23833 | |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | sega8_card_slot_device::sega8_card_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 140 | sega8_cart_slot_device(mconfig, SEGA8_CARD_SLOT, "Sega Master System / Game Gear / SG1000 Card Slot", tag, owner, clock, TRUE) | |
| 140 | sega8_cart_slot_device(mconfig, SEGA8_CARD_SLOT, "Sega Master System / Game Gear / SG1000 Card Slot", tag, owner, clock, TRUE, "sega8_card_slot", __FILE__) | |
| 141 | 141 | { |
| 142 | 142 | } |
| 143 | 143 |
| r23832 | r23833 | |
|---|---|---|
| 23 | 23 | // isa8_slot_device - constructor |
| 24 | 24 | //------------------------------------------------- |
| 25 | 25 | isa8_slot_device::isa8_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 26 | device_t(mconfig, ISA8_SLOT, "ISA8_SLOT", tag, owner, clock), | |
| 26 | device_t(mconfig, ISA8_SLOT, "ISA8_SLOT", tag, owner, clock, "isa8_slot", __FILE__), | |
| 27 | 27 | device_slot_interface(mconfig, *this) |
| 28 | 28 | { |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | isa8_slot_device::isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 32 | device_t(mconfig, type, name, tag, owner, clock), | |
| 31 | isa8_slot_device::isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 32 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 33 | 33 | device_slot_interface(mconfig, *this) |
| 34 | 34 | { |
| 35 | 35 | } |
| r23832 | r23833 | |
| 71 | 71 | // isa16_slot_device - constructor |
| 72 | 72 | //------------------------------------------------- |
| 73 | 73 | isa16_slot_device::isa16_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 74 | isa8_slot_device(mconfig, ISA16_SLOT, "ISA16_SLOT", tag, owner, clock) | |
| 74 | isa8_slot_device(mconfig, ISA16_SLOT, "ISA16_SLOT", tag, owner, clock, "isa16_slot", __FILE__) | |
| 75 | 75 | { |
| 76 | 76 | } |
| 77 | 77 | |
| r23832 | r23833 | |
| 145 | 145 | //------------------------------------------------- |
| 146 | 146 | |
| 147 | 147 | isa8_device::isa8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 148 | device_t(mconfig, ISA8, "ISA8", tag, owner, clock), | |
| 148 | device_t(mconfig, ISA8, "ISA8", tag, owner, clock, "isa8", __FILE__), | |
| 149 | 149 | m_write_iochck(*this) |
| 150 | 150 | { |
| 151 | 151 | for(int i=0;i<8;i++) |
| r23832 | r23833 | |
| 156 | 156 | m_nmi_enabled = false; |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | isa8_device::isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 160 | device_t(mconfig, type, name, tag, owner, clock), | |
| 159 | isa8_device::isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 160 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 161 | 161 | m_write_iochck(*this) |
| 162 | 162 | { |
| 163 | 163 | for(int i=0;i<8;i++) |
| r23832 | r23833 | |
| 469 | 469 | //------------------------------------------------- |
| 470 | 470 | |
| 471 | 471 | isa16_device::isa16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 472 | isa8_device(mconfig, ISA16, "ISA16", tag, owner, clock) | |
| 472 | isa8_device(mconfig, ISA16, "ISA16", tag, owner, clock, "isa16", __FILE__) | |
| 473 | 473 | { |
| 474 | 474 | } |
| 475 | 475 |
| r23832 | r23833 | |
|---|---|---|
| 99 | 99 | { |
| 100 | 100 | public: |
| 101 | 101 | // construction/destruction |
| 102 | sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card); | |
| 102 | sega8_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_card, const char *shortname, const char *source); | |
| 103 | 103 | sega8_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 104 | 104 | virtual ~sega8_cart_slot_device(); |
| 105 | 105 |
| r23832 | r23833 | |
|---|---|---|
| 171 | 171 | //------------------------------------------------- |
| 172 | 172 | |
| 173 | 173 | zx8302_device::zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 174 | : device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock), | |
| 174 | : device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock, "zx8302", __FILE__), | |
| 175 | 175 | device_serial_interface(mconfig, *this), |
| 176 | 176 | m_idr(1), |
| 177 | 177 | m_irq(0), |
| r23832 | r23833 | |
|---|---|---|
| 78 | 78 | //------------------------------------------------- |
| 79 | 79 | |
| 80 | 80 | tms5501_device::tms5501_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 81 | : device_t(mconfig, TMS5501, "TMS5501", tag, owner, clock) | |
| 81 | : device_t(mconfig, TMS5501, "TMS5501", tag, owner, clock, "tms5501", __FILE__) | |
| 82 | 82 | { |
| 83 | 83 | } |
| 84 | 84 |
| r23832 | r23833 | |
|---|---|---|
| 104 | 104 | public: |
| 105 | 105 | // construction/destruction |
| 106 | 106 | isa8_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 107 | isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 107 | isa8_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 108 | 108 | |
| 109 | 109 | // device-level overrides |
| 110 | 110 | virtual void device_start(); |
| r23832 | r23833 | |
| 143 | 143 | public: |
| 144 | 144 | // construction/destruction |
| 145 | 145 | isa8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 146 | isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 146 | isa8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 147 | 147 | // inline configuration |
| 148 | 148 | static void static_set_cputag(device_t &device, const char *tag); |
| 149 | 149 | template<class _iochck> void set_iochck_callback(_iochck iochck) { m_write_iochck.set_callback(iochck); } |
| r23832 | r23833 | |
|---|---|---|
| 65 | 65 | // gba_cart_slot_device - constructor |
| 66 | 66 | //------------------------------------------------- |
| 67 | 67 | gba_cart_slot_device::gba_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 68 | device_t(mconfig, GBA_CART_SLOT, "Game Boy Advance Cartridge Slot", tag, owner, clock), | |
| 68 | device_t(mconfig, GBA_CART_SLOT, "Game Boy Advance Cartridge Slot", tag, owner, clock, "gba_cart_slot", __FILE__), | |
| 69 | 69 | device_image_interface(mconfig, *this), |
| 70 | 70 | device_slot_interface(mconfig, *this), |
| 71 | 71 | m_type(GBA_STD) |
| r23832 | r23833 | |
|---|---|---|
| 176 | 176 | //------------------------------------------------- |
| 177 | 177 | |
| 178 | 178 | plus4_expansion_slot_device::plus4_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 179 | device_t(mconfig, PLUS4_EXPANSION_SLOT, "Expansion Port", tag, owner, clock), | |
| 179 | device_t(mconfig, PLUS4_EXPANSION_SLOT, "Expansion Port", tag, owner, clock, "plus4_expansion_slot", __FILE__), | |
| 180 | 180 | device_slot_interface(mconfig, *this), |
| 181 | 181 | device_image_interface(mconfig, *this), |
| 182 | 182 | m_write_irq(*this), |
| r23832 | r23833 | |
|---|---|---|
| 102 | 102 | const device_type STRATAFLASH = &device_creator<strataflash_device>; |
| 103 | 103 | |
| 104 | 104 | strataflash_device::strataflash_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 105 | : device_t(mconfig, STRATAFLASH, "Intel 28F640J5", tag, owner, clock) | |
| 105 | : device_t(mconfig, STRATAFLASH, "Intel 28F640J5", tag, owner, clock, "strataflash", __FILE__) | |
| 106 | 106 | { |
| 107 | 107 | m_token = global_alloc_clear(strata_t); |
| 108 | 108 | } |
| r23832 | r23833 | |
|---|---|---|
| 39 | 39 | //------------------------------------------------- |
| 40 | 40 | |
| 41 | 41 | rtc3430042_device::rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 42 | : device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock), | |
| 42 | : device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock, "rtc3430042", __FILE__), | |
| 43 | 43 | device_rtc_interface(mconfig, *this), |
| 44 | 44 | device_nvram_interface(mconfig, *this) |
| 45 | 45 | { |
| r23832 | r23833 | |
|---|---|---|
| 51 | 51 | // tvcexp_slot_device - constructor |
| 52 | 52 | //------------------------------------------------- |
| 53 | 53 | tvcexp_slot_device::tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 54 | device_t(mconfig, TVCEXP_SLOT, "TVC64 Expansion Slot", tag, owner, clock), | |
| 54 | device_t(mconfig, TVCEXP_SLOT, "TVC64 Expansion Slot", tag, owner, clock, "tvcexp_slot", __FILE__), | |
| 55 | 55 | device_slot_interface(mconfig, *this) |
| 56 | 56 | { |
| 57 | 57 | } |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | // adamnet_slot_device - constructor |
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | adamnet_slot_device::adamnet_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 55 | device_t(mconfig, ADAMNET_SLOT, "ADAMnet slot", tag, owner, clock), | |
| 55 | device_t(mconfig, ADAMNET_SLOT, "ADAMnet slot", tag, owner, clock, "adamnet_slot", __FILE__), | |
| 56 | 56 | device_slot_interface(mconfig, *this) |
| 57 | 57 | { |
| 58 | 58 | } |
| r23832 | r23833 | |
| 80 | 80 | //------------------------------------------------- |
| 81 | 81 | |
| 82 | 82 | adamnet_device::adamnet_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 83 | device_t(mconfig, ADAMNET, "ADAMnet bus", tag, owner, clock), | |
| 83 | device_t(mconfig, ADAMNET, "ADAMnet bus", tag, owner, clock, "adamnet", __FILE__), | |
| 84 | 84 | m_txd(1), |
| 85 | 85 | m_reset(CLEAR_LINE) |
| 86 | 86 | { |
| r23832 | r23833 | |
|---|---|---|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | serial_port_device::serial_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 18 | : device_t(mconfig, SERIAL_PORT, "Serial Port", tag, owner, clock), | |
| 18 | : device_t(mconfig, SERIAL_PORT, "Serial Port", tag, owner, clock, "serial_port", __FILE__), | |
| 19 | 19 | device_slot_interface(mconfig, *this), |
| 20 | 20 | m_dev(NULL) |
| 21 | 21 | { |
| r23832 | r23833 | |
|---|---|---|
| 112 | 112 | 0x0000, // 0000 0000 0000 0000 (DEL) |
| 113 | 113 | }; |
| 114 | 114 | |
| 115 | esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 116 | device_t(mconfig, type, name, tag, owner, clock) | |
| 115 | esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 116 | device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 117 | 117 | { |
| 118 | 118 | } |
| 119 | 119 | |
| r23832 | r23833 | |
| 265 | 265 | update_display(); |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock) | |
| 268 | esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__) | |
| 269 | 269 | { |
| 270 | 270 | m_rows = 2; |
| 271 | 271 | m_cols = 40; |
| r23832 | r23833 | |
| 318 | 318 | update_display(); |
| 319 | 319 | } |
| 320 | 320 | |
| 321 | esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock) | |
| 321 | esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__) | |
| 322 | 322 | { |
| 323 | 323 | m_rows = 1; |
| 324 | 324 | m_cols = 22; |
| r23832 | r23833 | |
| 382 | 382 | } |
| 383 | 383 | } |
| 384 | 384 | |
| 385 | esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock) | |
| 385 | esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__) | |
| 386 | 386 | { |
| 387 | 387 | m_rows = 2; |
| 388 | 388 | m_cols = 40; |
| r23832 | r23833 | |
|---|---|---|
| 25 | 25 | public: |
| 26 | 26 | typedef delegate<void (bool state)> line_cb; |
| 27 | 27 | |
| 28 | esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 28 | esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 29 | 29 | |
| 30 | 30 | DECLARE_WRITE8_MEMBER( write ) { write_char(data); } |
| 31 | 31 |
| r23832 | r23833 | |
|---|---|---|
| 20 | 20 | //------------------------------------------------- |
| 21 | 21 | |
| 22 | 22 | amigakbd_device::amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 23 | : device_t(mconfig, AMIGAKBD, "Amiga Keyboard", tag, owner, clock) | |
| 23 | : device_t(mconfig, AMIGAKBD, "Amiga Keyboard", tag, owner, clock, "amigakbd", __FILE__) | |
| 24 | 24 | { |
| 25 | 25 | } |
| 26 | 26 |
| r23832 | r23833 | |
|---|---|---|
| 33 | 33 | //************************************************************************** |
| 34 | 34 | |
| 35 | 35 | x68k_expansion_slot_device::x68k_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 36 | device_t(mconfig, X68K_EXPANSION_SLOT, "Sharp X680x0 expansion slot", tag, owner, clock), | |
| 36 | device_t(mconfig, X68K_EXPANSION_SLOT, "Sharp X680x0 expansion slot", tag, owner, clock, "x68k_expansion_slot", __FILE__), | |
| 37 | 37 | device_slot_interface(mconfig, *this) |
| 38 | 38 | { |
| 39 | 39 | } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | cbm2_user_port_device::cbm2_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, CBM2_USER_PORT, "CBM2 user port", tag, owner, clock), | |
| 56 | device_t(mconfig, CBM2_USER_PORT, "CBM2 user port", tag, owner, clock, "cbm2_user_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this) |
| 58 | 58 | { |
| 59 | 59 | } |
| r23832 | r23833 | |
|---|---|---|
| 194 | 194 | //------------------------------------------------- |
| 195 | 195 | |
| 196 | 196 | upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 197 | : device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock) | |
| 197 | : device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock, "upd65031", __FILE__) | |
| 198 | 198 | { |
| 199 | 199 | } |
| 200 | 200 |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | epson_sio_device::epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 57 | device_t(mconfig, EPSON_SIO, "EPSON SIO port", tag, owner, clock), | |
| 57 | device_t(mconfig, EPSON_SIO, "EPSON SIO port", tag, owner, clock, "epson_sio", __FILE__), | |
| 58 | 58 | device_slot_interface(mconfig, *this) |
| 59 | 59 | { |
| 60 | 60 | } |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | plus4_user_port_device::plus4_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, PLUS4_USER_PORT, "User Port", tag, owner, clock), | |
| 56 | device_t(mconfig, PLUS4_USER_PORT, "User Port", tag, owner, clock, "plus4_user_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this) |
| 58 | 58 | { |
| 59 | 59 | } |
| r23832 | r23833 | |
|---|---|---|
| 22 | 22 | const device_type X68KHDC = &device_creator<x68k_hdc_image_device>; |
| 23 | 23 | |
| 24 | 24 | x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 25 | : device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock), | |
| 25 | : device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock, "x68k_hdc_image", __FILE__), | |
| 26 | 26 | device_image_interface(mconfig, *this) |
| 27 | 27 | { |
| 28 | 28 | } |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | //************************************************************************** |
| 41 | 41 | |
| 42 | 42 | cpc_expansion_slot_device::cpc_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 43 | device_t(mconfig, CPC_EXPANSION_SLOT, "Amstrad CPC expansion port", tag, owner, clock), | |
| 43 | device_t(mconfig, CPC_EXPANSION_SLOT, "Amstrad CPC expansion port", tag, owner, clock, "cpc_expansion_slot", __FILE__), | |
| 44 | 44 | device_slot_interface(mconfig, *this) |
| 45 | 45 | { |
| 46 | 46 | } |
| r23832 | r23833 | |
|---|---|---|
| 42 | 42 | //------------------------------------------------- |
| 43 | 43 | |
| 44 | 44 | microdrive_image_device::microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 45 | : device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock), | |
| 45 | : device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock, "microdrive_image", __FILE__), | |
| 46 | 46 | device_image_interface(mconfig, *this) |
| 47 | 47 | { |
| 48 | 48 | } |
| r23832 | r23833 | |
|---|---|---|
| 79 | 79 | // sat_cart_slot_device - constructor |
| 80 | 80 | //------------------------------------------------- |
| 81 | 81 | sat_cart_slot_device::sat_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 82 | device_t(mconfig, SATURN_CART_SLOT, "Saturn Cartridge Slot", tag, owner, clock), | |
| 82 | device_t(mconfig, SATURN_CART_SLOT, "Saturn Cartridge Slot", tag, owner, clock, "sat_cart_slot", __FILE__), | |
| 83 | 83 | device_image_interface(mconfig, *this), |
| 84 | 84 | device_slot_interface(mconfig, *this) |
| 85 | 85 | { |
| r23832 | r23833 | |
|---|---|---|
| 434 | 434 | // kc_keyboard_device - constructor |
| 435 | 435 | //------------------------------------------------- |
| 436 | 436 | kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 437 | device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock) | |
| 437 | device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock, "kc_keyboard", __FILE__) | |
| 438 | 438 | { |
| 439 | 439 | } |
| 440 | 440 |
| r23832 | r23833 | |
|---|---|---|
| 39 | 39 | //------------------------------------------------- |
| 40 | 40 | |
| 41 | 41 | concept_exp_port_device::concept_exp_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 42 | device_t(mconfig, CONCEPT_EXP_PORT, "Corvus Concept expansion port", tag, owner, clock), | |
| 42 | device_t(mconfig, CONCEPT_EXP_PORT, "Corvus Concept expansion port", tag, owner, clock, "concept_exp_port", __FILE__), | |
| 43 | 43 | device_slot_interface(mconfig, *this) |
| 44 | 44 | { |
| 45 | 45 | } |
| r23832 | r23833 | |
|---|---|---|
| 25 | 25 | // a2eauxslot_slot_device - constructor |
| 26 | 26 | //------------------------------------------------- |
| 27 | 27 | a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 28 | device_t(mconfig, A2EAUXSLOT_SLOT, "Apple II Slot", tag, owner, clock), | |
| 28 | device_t(mconfig, A2EAUXSLOT_SLOT, "Apple II Slot", tag, owner, clock, "a2eauxslot_slot", __FILE__), | |
| 29 | 29 | device_slot_interface(mconfig, *this) |
| 30 | 30 | { |
| 31 | 31 | } |
| r23832 | r23833 | |
| 98 | 98 | //------------------------------------------------- |
| 99 | 99 | |
| 100 | 100 | a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 101 | device_t(mconfig, A2EAUXSLOT, "Apple II Bus", tag, owner, clock) | |
| 101 | device_t(mconfig, A2EAUXSLOT, "Apple II Bus", tag, owner, clock, "a2eauxslot", __FILE__) | |
| 102 | 102 | { |
| 103 | 103 | } |
| 104 | 104 |
| r23832 | r23833 | |
|---|---|---|
| 9 | 9 | AM_RANGE(0x8, 0xb) AM_READWRITE(data_r, data_w) |
| 10 | 10 | ADDRESS_MAP_END |
| 11 | 11 | |
| 12 | nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock) | |
| 12 | nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock, "nextkbd", __FILE__) | |
| 13 | 13 | { |
| 14 | 14 | } |
| 15 | 15 |
| r23832 | r23833 | |
|---|---|---|
| 190 | 190 | //------------------------------------------------- |
| 191 | 191 | // base_sns_cart_slot_device - constructor |
| 192 | 192 | //------------------------------------------------- |
| 193 | base_sns_cart_slot_device::base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 194 | device_t(mconfig, type, name, tag, owner, clock), | |
| 193 | base_sns_cart_slot_device::base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 194 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 195 | 195 | device_image_interface(mconfig, *this), |
| 196 | 196 | device_slot_interface(mconfig, *this), |
| 197 | 197 | m_addon(ADDON_NONE), |
| r23832 | r23833 | |
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | sns_cart_slot_device::sns_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 203 | base_sns_cart_slot_device(mconfig, SNS_CART_SLOT, "SNES Cartridge Slot", tag, owner, clock) | |
| 203 | base_sns_cart_slot_device(mconfig, SNS_CART_SLOT, "SNES Cartridge Slot", tag, owner, clock, "sns_cart_slot", __FILE__) | |
| 204 | 204 | { |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | sns_sufami_cart_slot_device::sns_sufami_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 208 | base_sns_cart_slot_device(mconfig, SNS_SUFAMI_CART_SLOT, "SNES Sufami Turbo Cartridge Slot", tag, owner, clock) | |
| 208 | base_sns_cart_slot_device(mconfig, SNS_SUFAMI_CART_SLOT, "SNES Sufami Turbo Cartridge Slot", tag, owner, clock, "sns_sufami_cart_slot", __FILE__) | |
| 209 | 209 | { |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | sns_bsx_cart_slot_device::sns_bsx_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 213 | base_sns_cart_slot_device(mconfig, SNS_BSX_CART_SLOT, "SNES BS-X Cartridge Slot", tag, owner, clock) | |
| 213 | base_sns_cart_slot_device(mconfig, SNS_BSX_CART_SLOT, "SNES BS-X Cartridge Slot", tag, owner, clock, "sns_bsx_cart_slot", __FILE__) | |
| 214 | 214 | { |
| 215 | 215 | } |
| 216 | 216 |
| r23832 | r23833 | |
|---|---|---|
| 156 | 156 | { |
| 157 | 157 | public: |
| 158 | 158 | // construction/destruction |
| 159 | base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 159 | base_sns_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 160 | 160 | virtual ~base_sns_cart_slot_device(); |
| 161 | 161 | |
| 162 | 162 | // device-level overrides |
| r23832 | r23833 | |
|---|---|---|
| 151 | 151 | const device_type APOLLO_CONF = &device_creator<apollo_config_device>; |
| 152 | 152 | |
| 153 | 153 | apollo_config_device::apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 154 | : device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock) | |
| 154 | : device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock, "apollo_config", __FILE__) | |
| 155 | 155 | { |
| 156 | 156 | } |
| 157 | 157 |
| r23832 | r23833 | |
|---|---|---|
| 54 | 54 | //------------------------------------------------- |
| 55 | 55 | |
| 56 | 56 | rx01_device::rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 57 | : device_t(mconfig, RX01, "RX01", tag, owner, clock) | |
| 57 | : device_t(mconfig, RX01, "RX01", tag, owner, clock, "rx01", __FILE__) | |
| 58 | 58 | { |
| 59 | 59 | } |
| 60 | 60 |
| r23832 | r23833 | |
|---|---|---|
| 50 | 50 | //------------------------------------------------- |
| 51 | 51 | |
| 52 | 52 | pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 53 | device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock), | |
| 53 | device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock, "pc9801_slot", __FILE__), | |
| 54 | 54 | device_slot_interface(mconfig, *this) |
| 55 | 55 | { |
| 56 | 56 | } |
| r23832 | r23833 | |
|---|---|---|
| 165 | 165 | //------------------------------------------------- |
| 166 | 166 | // base_md_cart_slot_device - constructor |
| 167 | 167 | //------------------------------------------------- |
| 168 | base_md_cart_slot_device::base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 169 | device_t(mconfig, type, name, tag, owner, clock), | |
| 168 | base_md_cart_slot_device::base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 169 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 170 | 170 | device_image_interface(mconfig, *this), |
| 171 | 171 | device_slot_interface(mconfig, *this), |
| 172 | 172 | m_type(SEGA_STD), |
| r23832 | r23833 | |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | md_cart_slot_device::md_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 178 | base_md_cart_slot_device(mconfig, MD_CART_SLOT, "MD Cartridge Slot", tag, owner, clock) | |
| 178 | base_md_cart_slot_device(mconfig, MD_CART_SLOT, "MD Cartridge Slot", tag, owner, clock, "md_cart_slot", __FILE__) | |
| 179 | 179 | { |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | pico_cart_slot_device::pico_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 183 | base_md_cart_slot_device(mconfig, PICO_CART_SLOT, "Pico Cartridge Slot", tag, owner, clock) | |
| 183 | base_md_cart_slot_device(mconfig, PICO_CART_SLOT, "Pico Cartridge Slot", tag, owner, clock, "pico_cart_slot", __FILE__) | |
| 184 | 184 | { |
| 185 | 185 | } |
| 186 | 186 |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | //------------------------------------------------- |
| 53 | 53 | |
| 54 | 54 | abc1600bus_slot_device::abc1600bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 55 | device_t(mconfig, ABC1600BUS_SLOT, "ABC 1600 bus slot", tag, owner, clock), | |
| 55 | device_t(mconfig, ABC1600BUS_SLOT, "ABC 1600 bus slot", tag, owner, clock, "abc1600bus_slot", __FILE__), | |
| 56 | 56 | device_slot_interface(mconfig, *this), |
| 57 | 57 | m_int(CLEAR_LINE), |
| 58 | 58 | m_pren(1), |
| r23832 | r23833 | |
|---|---|---|
| 145 | 145 | { |
| 146 | 146 | public: |
| 147 | 147 | // construction/destruction |
| 148 | base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 148 | base_md_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 149 | 149 | virtual ~base_md_cart_slot_device(); |
| 150 | 150 | |
| 151 | 151 | // device-level overrides |
| r23832 | r23833 | |
|---|---|---|
| 15 | 15 | const device_type DS1315 = &device_creator<ds1315_device>; |
| 16 | 16 | |
| 17 | 17 | ds1315_device::ds1315_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 18 | : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock) | |
| 18 | : device_t(mconfig, DS1315, "Dallas Semiconductor DS1315", tag, owner, clock, "ds1315", __FILE__) | |
| 19 | 19 | { |
| 20 | 20 | } |
| 21 | 21 |
| r23832 | r23833 | |
|---|---|---|
| 229 | 229 | const device_type PC_LPT = &device_creator<pc_lpt_device>; |
| 230 | 230 | |
| 231 | 231 | pc_lpt_device::pc_lpt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 232 | : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock) | |
| 232 | : device_t(mconfig, PC_LPT, "PC-LPT", tag, owner, clock, "pc_lpt", __FILE__) | |
| 233 | 233 | { |
| 234 | 234 | m_token = global_alloc_clear(pc_lpt_state); |
| 235 | 235 | } |
| r23832 | r23833 | |
|---|---|---|
| 37 | 37 | //------------------------------------------------- |
| 38 | 38 | |
| 39 | 39 | diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 40 | : device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock), | |
| 40 | : device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock, "diskonchip_g3", __FILE__), | |
| 41 | 41 | device_nvram_interface(mconfig, *this) |
| 42 | 42 | { |
| 43 | 43 | } |
| r23832 | r23833 | |
|---|---|---|
| 196 | 196 | //------------------------------------------------- |
| 197 | 197 | |
| 198 | 198 | threecom3c505_device::threecom3c505_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 199 | : device_t(mconfig, THREECOM3C505, "Threecom 3C505", tag, owner, clock), | |
| 199 | : device_t(mconfig, THREECOM3C505, "Threecom 3C505", tag, owner, clock, "threecom3c505", __FILE__), | |
| 200 | 200 | device_network_interface(mconfig, *this, 10.0f) |
| 201 | 201 | { |
| 202 | 202 | memset(static_cast<threecom3c505_interface *>(this), 0, sizeof(threecom3c505_interface)); |
| r23832 | r23833 | |
|---|---|---|
| 139 | 139 | //------------------------------------------------- |
| 140 | 140 | // base_gb_cart_slot_device - constructor |
| 141 | 141 | //------------------------------------------------- |
| 142 | base_gb_cart_slot_device::base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 143 | device_t(mconfig, type, name, tag, owner, clock), | |
| 142 | base_gb_cart_slot_device::base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 143 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 144 | 144 | device_image_interface(mconfig, *this), |
| 145 | 145 | device_slot_interface(mconfig, *this), |
| 146 | 146 | m_sgb_hack(0), |
| r23832 | r23833 | |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | gb_cart_slot_device::gb_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 152 | base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock) | |
| 152 | base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock, "gba_cart_slot", __FILE__) | |
| 153 | 153 | { |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | megaduck_cart_slot_device::megaduck_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 157 | base_gb_cart_slot_device(mconfig, MEGADUCK_CART_SLOT, "Megaduck Cartridge Slot", tag, owner, clock) | |
| 157 | base_gb_cart_slot_device(mconfig, MEGADUCK_CART_SLOT, "Megaduck Cartridge Slot", tag, owner, clock, "megaduck_cart_slot", __FILE__) | |
| 158 | 158 | { |
| 159 | 159 | } |
| 160 | 160 |
| r23832 | r23833 | |
|---|---|---|
| 107 | 107 | { |
| 108 | 108 | public: |
| 109 | 109 | // construction/destruction |
| 110 | base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 110 | base_gb_cart_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 111 | 111 | virtual ~base_gb_cart_slot_device(); |
| 112 | 112 | |
| 113 | 113 | // device-level overrides |
| r23832 | r23833 | |
|---|---|---|
| 42 | 42 | //------------------------------------------------- |
| 43 | 43 | |
| 44 | 44 | pce220_serial_device::pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 45 | : device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock), | |
| 45 | : device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock, "pce220_serial", __FILE__), | |
| 46 | 46 | device_image_interface(mconfig, *this) |
| 47 | 47 | { |
| 48 | 48 | } |
| r23832 | r23833 | |
|---|---|---|
| 161 | 161 | //------------------------------------------------- |
| 162 | 162 | |
| 163 | 163 | sc499_device::sc499_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 164 | : device_t(mconfig, SC499, "Archive SC-499", tag, owner, clock) | |
| 164 | : device_t(mconfig, SC499, "Archive SC-499", tag, owner, clock, "sc499", __FILE__) | |
| 165 | 165 | { |
| 166 | 166 | memset(static_cast<sc499_interface *>(this), 0, sizeof(sc499_interface)); |
| 167 | 167 | } |
| r23832 | r23833 | |
| 1171 | 1171 | const device_type SC499_CTAPE = &device_creator<sc499_ctape_image_device>; |
| 1172 | 1172 | |
| 1173 | 1173 | sc499_ctape_image_device::sc499_ctape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 1174 | : device_t(mconfig, SC499_CTAPE, "Cartridge Tape", tag, owner, clock), | |
| 1174 | : device_t(mconfig, SC499_CTAPE, "Cartridge Tape", tag, owner, clock, "sc499_ctape", __FILE__), | |
| 1175 | 1175 | device_image_interface(mconfig, *this) |
| 1176 | 1176 | { |
| 1177 | 1177 | } |
| r23832 | r23833 | |
|---|---|---|
| 65 | 65 | //------------------------------------------------- |
| 66 | 66 | |
| 67 | 67 | ieee488_slot_device::ieee488_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 68 | device_t(mconfig, IEEE488_SLOT, "IEEE-488 slot", tag, owner, clock), | |
| 68 | device_t(mconfig, IEEE488_SLOT, "IEEE-488 slot", tag, owner, clock, "ieee488_slot", __FILE__), | |
| 69 | 69 | device_slot_interface(mconfig, *this) |
| 70 | 70 | { |
| 71 | 71 | } |
| r23832 | r23833 | |
| 291 | 291 | //------------------------------------------------- |
| 292 | 292 | |
| 293 | 293 | ieee488_device::ieee488_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 294 | : device_t(mconfig, IEEE488, "IEEE488 bus", tag, owner, clock), | |
| 294 | : device_t(mconfig, IEEE488, "IEEE488 bus", tag, owner, clock, "ieee488", __FILE__), | |
| 295 | 295 | m_write_eoi(*this), |
| 296 | 296 | m_write_dav(*this), |
| 297 | 297 | m_write_nrfd(*this), |
| r23832 | r23833 | |
|---|---|---|
| 53 | 53 | //------------------------------------------------- |
| 54 | 54 | |
| 55 | 55 | vcs_control_port_device::vcs_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 56 | device_t(mconfig, VCS_CONTROL_PORT, "Atari VCS control port", tag, owner, clock), | |
| 56 | device_t(mconfig, VCS_CONTROL_PORT, "Atari VCS control port", tag, owner, clock, "vcs_control_port", __FILE__), | |
| 57 | 57 | device_slot_interface(mconfig, *this), |
| 58 | 58 | m_trigger_handler(*this) |
| 59 | 59 | { |
| r23832 | r23833 | |
|---|---|---|
| 25 | 25 | // nubus_slot_device - constructor |
| 26 | 26 | //------------------------------------------------- |
| 27 | 27 | nubus_slot_device::nubus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 28 | device_t(mconfig, NUBUS_SLOT, "NUBUS_SLOT", tag, owner, clock), | |
| 28 | device_t(mconfig, NUBUS_SLOT, "NUBUS_SLOT", tag, owner, clock, "nubus_slot", __FILE__), | |
| 29 | 29 | device_slot_interface(mconfig, *this) |
| 30 | 30 | { |
| 31 | 31 | } |
| r23832 | r23833 | |
| 102 | 102 | //------------------------------------------------- |
| 103 | 103 | |
| 104 | 104 | nubus_device::nubus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 105 | device_t(mconfig, NUBUS, "NUBUS", tag, owner, clock) | |
| 105 | device_t(mconfig, NUBUS, "NUBUS", tag, owner, clock, "nubus", __FILE__) | |
| 106 | 106 | { |
| 107 | 107 | } |
| 108 | 108 |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | //------------------------------------------------- |
| 53 | 53 | |
| 54 | 54 | vip_expansion_slot_device::vip_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 55 | device_t(mconfig, VIP_EXPANSION_SLOT, "VIP expansion port", tag, owner, clock), | |
| 55 | device_t(mconfig, VIP_EXPANSION_SLOT, "VIP expansion port", tag, owner, clock, "vip_expansion_slot", __FILE__), | |
| 56 | 56 | device_slot_interface(mconfig, *this), |
| 57 | 57 | m_write_irq(*this), |
| 58 | 58 | m_write_dma_out(*this), |
| r23832 | r23833 | |
|---|---|---|
| 87 | 87 | // a2bus_slot_device - constructor |
| 88 | 88 | //------------------------------------------------- |
| 89 | 89 | a2bus_slot_device::a2bus_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 90 | device_t(mconfig, A2BUS_SLOT, "Apple II Slot", tag, owner, clock), | |
| 90 | device_t(mconfig, A2BUS_SLOT, "Apple II Slot", tag, owner, clock, "a2bus_slot", __FILE__), | |
| 91 | 91 | device_slot_interface(mconfig, *this) |
| 92 | 92 | { |
| 93 | 93 | } |
| r23832 | r23833 | |
| 161 | 161 | //------------------------------------------------- |
| 162 | 162 | |
| 163 | 163 | a2bus_device::a2bus_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 164 | device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock) | |
| 164 | device_t(mconfig, A2BUS, "Apple II Bus", tag, owner, clock, "a2bus", __FILE__) | |
| 165 | 165 | { |
| 166 | 166 | } |
| 167 | 167 |
| r23832 | r23833 | |
|---|---|---|
| 26 | 26 | // s100_slot_device - constructor |
| 27 | 27 | //------------------------------------------------- |
| 28 | 28 | s100_slot_device::s100_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 29 | device_t(mconfig, S100_SLOT, "S100 slot", tag, owner, clock), | |
| 29 | device_t(mconfig, S100_SLOT, "S100 slot", tag, owner, clock, "s100_slot", __FILE__), | |
| 30 | 30 | device_slot_interface(mconfig, *this) |
| 31 | 31 | { |
| 32 | 32 | } |
| r23832 | r23833 | |
| 101 | 101 | //------------------------------------------------- |
| 102 | 102 | |
| 103 | 103 | s100_device::s100_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 104 | device_t(mconfig, S100, "S100", tag, owner, clock) | |
| 104 | device_t(mconfig, S100, "S100", tag, owner, clock, "s100", __FILE__) | |
| 105 | 105 | { |
| 106 | 106 | } |
| 107 | 107 |
| r23832 | r23833 | |
|---|---|---|
| 95 | 95 | //------------------------------------------------- |
| 96 | 96 | |
| 97 | 97 | ncr5380_device::ncr5380_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 98 | : device_t(mconfig, NCR5380, "5380 SCSI", tag, owner, clock) | |
| 98 | : device_t(mconfig, NCR5380, "5380 SCSI", tag, owner, clock, "ncr5380", __FILE__) | |
| 99 | 99 | { |
| 100 | 100 | } |
| 101 | 101 |
| r23832 | r23833 | |
|---|---|---|
| 157 | 157 | //------------------------------------------------- |
| 158 | 158 | |
| 159 | 159 | cbm2_expansion_slot_device::cbm2_expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 160 | device_t(mconfig, CBM2_EXPANSION_SLOT, "CBM-II expansion port", tag, owner, clock), | |
| 160 | device_t(mconfig, CBM2_EXPANSION_SLOT, "CBM-II expansion port", tag, owner, clock, "cbm2_expansion_slot", __FILE__), | |
| 161 | 161 | device_slot_interface(mconfig, *this), |
| 162 | 162 | device_image_interface(mconfig, *this) |
| 163 | 163 | { |
| r23832 | r23833 | |
|---|---|---|
| 152 | 152 | // kcexp_slot_device - constructor |
| 153 | 153 | //------------------------------------------------- |
| 154 | 154 | kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 155 | device_t(mconfig, KCEXP_SLOT, "KC85 Expansion Slot", tag, owner, clock), | |
| 155 | device_t(mconfig, KCEXP_SLOT, "KC85 Expansion Slot", tag, owner, clock, "kcexp_slot", __FILE__), | |
| 156 | 156 | device_slot_interface(mconfig, *this) |
| 157 | 157 | { |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : | |
| 161 | device_t(mconfig, type, name, tag, owner, clock), | |
| 160 | kcexp_slot_device::kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : | |
| 161 | device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 162 | 162 | device_slot_interface(mconfig, *this) |
| 163 | 163 | { |
| 164 | 164 | } |
| r23832 | r23833 | |
| 316 | 316 | // kccart_slot_device - constructor |
| 317 | 317 | //------------------------------------------------- |
| 318 | 318 | kccart_slot_device::kccart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 319 | kcexp_slot_device(mconfig, KCCART_SLOT, "KC85 Cartridge Slot", tag, owner, clock), | |
| 319 | kcexp_slot_device(mconfig, KCCART_SLOT, "KC85 Cartridge Slot", tag, owner, clock, "kccart_slot", __FILE__), | |
| 320 | 320 | device_image_interface(mconfig, *this) |
| 321 | 321 | { |
| 322 | 322 | } |
| r23832 | r23833 | |
|---|---|---|
| 52 | 52 | public: |
| 53 | 53 | // construction/destruction |
| 54 | 54 | kcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 55 | kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 55 | kcexp_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 56 | 56 | virtual ~kcexp_slot_device(); |
| 57 | 57 | |
| 58 | 58 | // device-level overrides |
| r23832 | r23833 | |
|---|---|---|
| 23 | 23 | IMPLEMENTATION |
| 24 | 24 | ***************************************************************************/ |
| 25 | 25 | |
| 26 | scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SCC8530, "Zilog 8530 SCC", tag, owner, clock) | |
| 26 | scc8530_t::scc8530_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SCC8530, "Zilog 8530 SCC", tag, owner, clock, "scc8530", __FILE__) | |
| 27 | 27 | { |
| 28 | 28 | } |
| 29 | 29 |
| r23832 | r23833 | |
|---|---|---|
| 98 | 98 | //------------------------------------------------- |
| 99 | 99 | |
| 100 | 100 | uv201_device::uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 101 | : device_t(mconfig, UV201, "UV201", tag, owner, clock) | |
| 101 | : device_t(mconfig, UV201, "UV201", tag, owner, clock, "uv201", __FILE__) | |
| 102 | 102 | { |
| 103 | 103 | } |
| 104 | 104 |
| r23832 | r23833 | |
|---|---|---|
| 49 | 49 | //------------------------------------------------- |
| 50 | 50 | |
| 51 | 51 | crt_device::crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 52 | : device_t(mconfig, CRT, "CRT Video", tag, owner, clock), | |
| 52 | : device_t(mconfig, CRT, "CRT Video", tag, owner, clock, "crt", __FILE__), | |
| 53 | 53 | m_list(NULL), |
| 54 | 54 | m_list_head(NULL), |
| 55 | 55 | m_decay_counter(0), |
| r23832 | r23833 | |
|---|---|---|
| 143 | 143 | const device_type VIC3 = &device_creator<vic3_device>; |
| 144 | 144 | |
| 145 | 145 | vic3_device::vic3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 146 | : device_t(mconfig, VIC3, "4567 VIC III", tag, owner, clock) | |
| 146 | : device_t(mconfig, VIC3, "4567 VIC III", tag, owner, clock, "vic3", __FILE__) | |
| 147 | 147 | { |
| 148 | 148 | } |
| 149 | 149 |
| r23832 | r23833 | |
|---|---|---|
| 26 | 26 | const device_type RAINBOW_VIDEO = &device_creator<rainbow_video_device>; |
| 27 | 27 | |
| 28 | 28 | |
| 29 | vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 30 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 29 | vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 30 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 31 | 31 | { |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | |
| 35 | 35 | vt100_video_device::vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 36 | : device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock) | |
| 36 | : device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock, "vt100_video", __FILE__) | |
| 37 | 37 | { |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | rainbow_video_device::rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 42 | : vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock) | |
| 42 | : vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock, "rainbow_video", __FILE__) | |
| 43 | 43 | { |
| 44 | 44 | } |
| 45 | 45 |
| r23832 | r23833 | |
|---|---|---|
| 30 | 30 | public vt_video_interface |
| 31 | 31 | { |
| 32 | 32 | public: |
| 33 | vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 33 | vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 34 | 34 | vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 35 | 35 | ~vt100_video_device() {} |
| 36 | 36 |
| r23832 | r23833 | |
|---|---|---|
| 17 | 17 | const device_type S3VIRGE = &device_creator<s3virge_vga_device>; |
| 18 | 18 | |
| 19 | 19 | s3virge_vga_device::s3virge_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 20 | : s3_vga_device(mconfig, S3VIRGE, "S3VIRGE", tag, owner, clock) | |
| 20 | : s3_vga_device(mconfig, S3VIRGE, "S3VIRGE", tag, owner, clock, "s3virge_vga", __FILE__) | |
| 21 | 21 | { |
| 22 | 22 | } |
| 23 | 23 |
| r23832 | r23833 | |
|---|---|---|
| 57 | 57 | //------------------------------------------------- |
| 58 | 58 | |
| 59 | 59 | t6a04_device::t6a04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 60 | device_t(mconfig, T6A04, "T6A04", tag, owner, clock) | |
| 60 | device_t(mconfig, T6A04, "T6A04", tag, owner, clock, "t6a04", __FILE__) | |
| 61 | 61 | { |
| 62 | 62 | } |
| 63 | 63 |
| r23832 | r23833 | |
|---|---|---|
| 580 | 580 | //------------------------------------------------- |
| 581 | 581 | |
| 582 | 582 | mos6566_device::mos6566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 583 | : device_t(mconfig, MOS6566, "MOS6566", tag, owner, clock), | |
| 583 | : device_t(mconfig, MOS6566, "MOS6566", tag, owner, clock, "mos6566", __FILE__), | |
| 584 | 584 | device_memory_interface(mconfig, *this), |
| 585 | 585 | device_execute_interface(mconfig, *this), |
| 586 | 586 | m_icount(0), |
| r23832 | r23833 | |
| 594 | 594 | { |
| 595 | 595 | } |
| 596 | 596 | |
| 597 | mos6566_device::mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 598 | : device_t(mconfig, type, name, tag, owner, clock), | |
| 597 | mos6566_device::mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 598 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source), | |
| 599 | 599 | device_memory_interface(mconfig, *this), |
| 600 | 600 | device_execute_interface(mconfig, *this), |
| 601 | 601 | m_icount(0), |
| r23832 | r23833 | |
| 613 | 613 | } |
| 614 | 614 | |
| 615 | 615 | mos6567_device::mos6567_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 616 | :mos6566_device(mconfig, MOS6567, "MOS6567", tag, owner, clock, TYPE_6567) { } | |
| 616 | :mos6566_device(mconfig, MOS6567, "MOS6567", tag, owner, clock, TYPE_6567, "mos6567", __FILE__) { } | |
| 617 | 617 | |
| 618 | mos6567_device::mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 619 | :mos6566_device(mconfig, type, name, tag, owner, clock, TYPE_6567) { } | |
| 618 | mos6567_device::mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 619 | :mos6566_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { } | |
| 620 | 620 | |
| 621 | 621 | mos8562_device::mos8562_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 622 | :mos6567_device(mconfig, MOS8562, "MOS8562", tag, owner, clock, TYPE_8562) { } | |
| 622 | :mos6567_device(mconfig, MOS8562, "MOS8562", tag, owner, clock, TYPE_8562, "mos8562", __FILE__) { } | |
| 623 | 623 | |
| 624 | 624 | mos8564_device::mos8564_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 625 | :mos6567_device(mconfig, MOS8564, "MOS8564", tag, owner, clock, TYPE_8564) { } | |
| 625 | :mos6567_device(mconfig, MOS8564, "MOS8564", tag, owner, clock, TYPE_8564, "mos8564", __FILE__) { } | |
| 626 | 626 | |
| 627 | 627 | mos6569_device::mos6569_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 628 | :mos6566_device(mconfig, MOS6566, "MOS6569", tag, owner, clock, TYPE_6569) { } | |
| 628 | :mos6566_device(mconfig, MOS6566, "MOS6569", tag, owner, clock, TYPE_6569, "mos6569", __FILE__) { } | |
| 629 | 629 | |
| 630 | mos6569_device::mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) | |
| 631 | :mos6566_device(mconfig, type, name, tag, owner, clock, TYPE_6569) { } | |
| 630 | mos6569_device::mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source) | |
| 631 | :mos6566_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { } | |
| 632 | 632 | |
| 633 | 633 | mos8565_device::mos8565_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 634 | :mos6569_device(mconfig, MOS8565, "MOS8565", tag, owner, clock, TYPE_8565) { } | |
| 634 | :mos6569_device(mconfig, MOS8565, "MOS8565", tag, owner, clock, TYPE_8565, "mos8565", __FILE__) { } | |
| 635 | 635 | |
| 636 | 636 | mos8566_device::mos8566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 637 | :mos6569_device(mconfig, MOS8566, "MOS8566", tag, owner, clock, TYPE_8566) { } | |
| 637 | :mos6569_device(mconfig, MOS8566, "MOS8566", tag, owner, clock, TYPE_8566, "mos8566", __FILE__) { } | |
| 638 | 638 | |
| 639 | 639 | |
| 640 | 640 | //------------------------------------------------- |
| r23832 | r23833 | |
|---|---|---|
| 273 | 273 | { |
| 274 | 274 | public: |
| 275 | 275 | // construction/destruction |
| 276 | mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 276 | mos6566_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 277 | 277 | mos6566_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 278 | 278 | |
| 279 | 279 | template<class _irq, class _k> void set_callbacks(const char *screen_tag, const char *cpu_tag, _irq irq, _k k) { |
| r23832 | r23833 | |
| 441 | 441 | public: |
| 442 | 442 | // construction/destruction |
| 443 | 443 | mos6567_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 444 | mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 444 | mos6567_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 445 | 445 | }; |
| 446 | 446 | |
| 447 | 447 | |
| r23832 | r23833 | |
| 472 | 472 | public: |
| 473 | 473 | // construction/destruction |
| 474 | 474 | mos6569_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 475 | mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); | |
| 475 | mos6569_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source); | |
| 476 | 476 | |
| 477 | 477 | // device-level overrides |
| 478 | 478 | virtual void execute_run(); |
| r23832 | r23833 | |
|---|---|---|
| 34 | 34 | |
| 35 | 35 | |
| 36 | 36 | gf4500_device::gf4500_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 37 | : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock) | |
| 37 | : device_t(mconfig, GF4500, "NVIDIA GoForce 4500", tag, owner, clock, "gf4500", __FILE__) | |
| 38 | 38 | { |
| 39 | 39 | } |
| 40 | 40 |
| r23832 | r23833 | |
|---|---|---|
| 127 | 127 | //------------------------------------------------- |
| 128 | 128 | |
| 129 | 129 | zx8301_device::zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 130 | : device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock), | |
| 130 | : device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock, "zx8301", __FILE__), | |
| 131 | 131 | device_memory_interface(mconfig, *this), |
| 132 | 132 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, NULL, *ADDRESS_MAP_NAME(zx8301)), |
| 133 | 133 | m_dispoff(1), |
| r23832 | r23833 | |
|---|---|---|
| 219 | 219 | const device_type ASR733 = &device_creator<asr733_device>; |
| 220 | 220 | |
| 221 | 221 | asr733_device::asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 222 | : device_t(mconfig, ASR733, "733 ASR", tag, owner, clock) | |
| 222 | : device_t(mconfig, ASR733, "733 ASR", tag, owner, clock, "asr733", __FILE__) | |
| 223 | 223 | { |
| 224 | 224 | m_token = global_alloc_clear(asr_t); |
| 225 | 225 | } |
| r23832 | r23833 | |
|---|---|---|
| 40 | 40 | |
| 41 | 41 | |
| 42 | 42 | crtc_ega_device::crtc_ega_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 43 | : device_t(mconfig, CRTC_EGA, "crtc_EGA", tag, owner, clock) | |
| 43 | : device_t(mconfig, CRTC_EGA, "crtc_EGA", tag, owner, clock, "crtc_ega", __FILE__) | |
| 44 | 44 | { |
| 45 | 45 | } |
| 46 | 46 |
| r23832 | r23833 | |
|---|---|---|
| 121 | 121 | //------------------------------------------------- |
| 122 | 122 | |
| 123 | 123 | ef9345_device::ef9345_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 124 | device_t(mconfig, EF9345, "EF9345", tag, owner, clock), | |
| 124 | device_t(mconfig, EF9345, "EF9345", tag, owner, clock, "ef9345", __FILE__), | |
| 125 | 125 | device_memory_interface(mconfig, *this), |
| 126 | 126 | m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(ef9345)) |
| 127 | 127 | { |
| r23832 | r23833 | |
|---|---|---|
| 106 | 106 | // ctor |
| 107 | 107 | //------------------------------------------------- |
| 108 | 108 | |
| 109 | gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata) | |
| 110 | : mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false) | |
| 109 | gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source) | |
| 110 | : mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false, shortname, source) | |
| 111 | 111 | { |
| 112 | 112 | } |
| 113 | 113 | |
| r23832 | r23833 | |
| 2054 | 2054 | //------------------------------------------------- |
| 2055 | 2055 | |
| 2056 | 2056 | gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2057 | : gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12) | |
| 2057 | : gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, "gime_ntsc", __FILE__) | |
| 2058 | 2058 | { |
| 2059 | 2059 | } |
| 2060 | 2060 | |
| r23832 | r23833 | |
| 2065 | 2065 | //------------------------------------------------- |
| 2066 | 2066 | |
| 2067 | 2067 | gime_pal_device::gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 2068 | : gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12) | |
| 2068 | : gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12, "gime_pal", __FILE__) | |
| 2069 | 2069 | { |
| 2070 | 2070 | } |
| r23832 | r23833 | |
|---|---|---|
| 85 | 85 | void set_il2(bool value) { set_interrupt_value(INTERRUPT_EI2, value); } |
| 86 | 86 | |
| 87 | 87 | protected: |
| 88 | gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata); | |
| 88 | gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source); | |
| 89 | 89 | |
| 90 | 90 | // device-level overrides |
| 91 | 91 | virtual void device_start(void); |
| r23832 | r23833 | |
|---|---|---|
| 271 | 271 | const device_type VDT911 = &device_creator<vdt911_device>; |
| 272 | 272 | |
| 273 | 273 | vdt911_device::vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 274 | : device_t(mconfig, VDT911, "911 VDT", tag, owner, clock) | |
| 274 | : device_t(mconfig, VDT911, "911 VDT", tag, owner, clock, "vdt911", __FILE__) | |
| 275 | 275 | { |
| 276 | 276 | m_token = global_alloc_clear(vdt_t); |
| 277 | 277 | } |
| r23832 | r23833 | |
|---|---|---|
| 873 | 873 | const device_type K1GE = &device_creator<k1ge_device>; |
| 874 | 874 | |
| 875 | 875 | k1ge_device::k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 876 | : device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock) | |
| 876 | : device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock, "k1ge", __FILE__) | |
| 877 | 877 | , m_vblank_pin_w(*this) |
| 878 | 878 | , m_hblank_pin_w(*this) |
| 879 | 879 | { |
| 880 | 880 | } |
| 881 | 881 | |
| 882 | k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) | |
| 883 | : device_t(mconfig, type, name, tag, owner, clock) | |
| 882 | k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) | |
| 883 | : device_t(mconfig, type, name, tag, owner, clock, shortname, source) | |
| 884 | 884 | , m_vblank_pin_w(*this) |
| 885 | 885 | , m_hblank_pin_w(*this) |
| 886 | 886 | { |
| r23832 | r23833 | |
| 890 | 890 | const device_type K2GE = &device_creator<k2ge_device>; |
| 891 | 891 | |
| 892 | 892 | k2ge_device::k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 893 | : k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock) | |
| 893 | : k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock, "k2ge", __FILE__) | |
| 894 | 894 | { |
| 895 | 895 | } |
| r23832 | r23833 | |
|---|---|---|
| 22 | 22 | { |
| 23 | 23 | public: |
| 24 | 24 | k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 25 | k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); | |
| 25 | k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); | |
| 26 | 26 | |
| 27 | 27 | DECLARE_READ8_MEMBER( reg_read ); |
| 28 | 28 | DECLARE_WRITE8_MEMBER( reg_write ); |
| r23832 | r23833 | |
|---|---|---|
| 80 | 80 | |
| 81 | 81 | |
| 82 | 82 | newport_video_device::newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 83 | : device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock) | |
| 83 | : device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock, "newport_video", __FILE__) | |
| 84 | 84 | { |
| 85 | 85 | } |
| 86 | 86 |
| Previous | 199869 Revisions | Next |