trunk/src/emu/machine/idectrl.h
| r18718 | r18719 | |
| 144 | 144 | ***************************************************************************/ |
| 145 | 145 | |
| 146 | 146 | #define MCFG_IDE_CONTROLLER_ADD(_tag, _slotintf, _master, _slave, _fixed) \ |
| 147 | | MCFG_DEVICE_ADD(_tag, IDE_CONTROLLER, 0) \ |
| 148 | 147 | MCFG_IDE_SLOT_ADD("drive_0", _slotintf, _master, NULL, _fixed) \ |
| 149 | 148 | MCFG_IDE_SLOT_ADD("drive_1", _slotintf, _slave, NULL, _fixed) \ |
| 150 | | MCFG_DEVICE_MODIFY(_tag) |
| 149 | MCFG_DEVICE_ADD(_tag, IDE_CONTROLLER, 0) |
| 151 | 150 | |
| 152 | 151 | #define MCFG_IDE_SLOT_ADD(_tag, _slot_intf, _def_slot, _def_inp, _fixed) \ |
| 153 | 152 | MCFG_DEVICE_ADD(_tag, IDE_SLOT, 0) \ |
trunk/src/mess/machine/isa_ide.c
| r18718 | r18719 | |
| 44 | 44 | |
| 45 | 45 | static MACHINE_CONFIG_FRAGMENT( ide ) |
| 46 | 46 | MCFG_IDE_CONTROLLER_ADD("ide", ide_image_devices, "hdd", "hdd", false) |
| 47 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, isa16_ide_device, ide_interrupt)) |
| 47 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, isa16_ide_device, ide_interrupt)) |
| 48 | 48 | MACHINE_CONFIG_END |
| 49 | 49 | |
| 50 | 50 | static INPUT_PORTS_START( ide ) |
trunk/src/mess/machine/ti99/tn_ide.c
| r18718 | r18719 | |
| 336 | 336 | MACHINE_CONFIG_FRAGMENT( tn_ide ) |
| 337 | 337 | MCFG_RTC65271_ADD( "ide_rtc", ide_rtc_cfg ) |
| 338 | 338 | MCFG_IDE_CONTROLLER_ADD( "ide", ide_image_devices, "hdd", NULL, false) // see idectrl.c |
| 339 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, nouspikel_ide_interface_device, ide_interrupt_callback)) |
| 339 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, nouspikel_ide_interface_device, ide_interrupt_callback)) |
| 340 | 340 | // MCFG_IDE_CONTROLLER_REGIONS(":peribox:idehd0:drive", NULL) |
| 341 | 341 | MACHINE_CONFIG_END |
| 342 | 342 | |
trunk/src/mess/drivers/bebox.c
| r18718 | r18719 | |
| 193 | 193 | MCFG_LSI53C810_ADD( "scsi:lsi53c810", lsi53c810_intf) |
| 194 | 194 | |
| 195 | 195 | MCFG_IDE_CONTROLLER_ADD( "ide", ide_image_devices, "hdd", NULL, false ) /* FIXME */ |
| 196 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, bebox_state, bebox_ide_interrupt)) |
| 196 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, bebox_state, bebox_ide_interrupt)) |
| 197 | 197 | |
| 198 | 198 | /* pci */ |
| 199 | 199 | MCFG_PCI_BUS_ADD("pcibus", 0) |
trunk/src/mame/drivers/twinkle.c
| r18718 | r18719 | |
| 890 | 890 | MCFG_AM53CF96_IRQ_HANDLER(DEVWRITELINE("^maincpu:irq", psxirq_device, intin10)) |
| 891 | 891 | |
| 892 | 892 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 893 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, twinkle_state, ide_interrupt)) |
| 893 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, twinkle_state, ide_interrupt)) |
| 894 | 894 | |
| 895 | 895 | MCFG_RTC65271_ADD("rtc", twinkle_rtc) |
| 896 | 896 | |
trunk/src/mame/drivers/cobra.c
| r18718 | r18719 | |
| 3245 | 3245 | MCFG_PCI_BUS_LEGACY_DEVICE(0, NULL, mpc106_pci_r, mpc106_pci_w) |
| 3246 | 3246 | |
| 3247 | 3247 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 3248 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, cobra_state, ide_interrupt)) |
| 3248 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, cobra_state, ide_interrupt)) |
| 3249 | 3249 | |
| 3250 | 3250 | /* video hardware */ |
| 3251 | 3251 | |
trunk/src/mame/drivers/qdrmfgp.c
| r18718 | r18719 | |
| 671 | 671 | MCFG_NVRAM_ADD_1FILL("nvram") |
| 672 | 672 | |
| 673 | 673 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 674 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, qdrmfgp_state, ide_interrupt)) |
| 674 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, qdrmfgp_state, ide_interrupt)) |
| 675 | 675 | |
| 676 | 676 | /* video hardware */ |
| 677 | 677 | MCFG_SCREEN_ADD("screen", RASTER) |
| r18718 | r18719 | |
| 707 | 707 | MCFG_NVRAM_ADD_1FILL("nvram") |
| 708 | 708 | |
| 709 | 709 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 710 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, qdrmfgp_state, gp2_ide_interrupt)) |
| 710 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, qdrmfgp_state, gp2_ide_interrupt)) |
| 711 | 711 | |
| 712 | 712 | /* video hardware */ |
| 713 | 713 | MCFG_SCREEN_ADD("screen", RASTER) |
trunk/src/mame/drivers/seattle.c
| r18718 | r18719 | |
| 2545 | 2545 | MCFG_NVRAM_ADD_1FILL("nvram") |
| 2546 | 2546 | |
| 2547 | 2547 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 2548 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, seattle_state, ide_interrupt)) |
| 2548 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, seattle_state, ide_interrupt)) |
| 2549 | 2549 | MCFG_IDE_CONTROLLER_BUS_MASTER("maincpu", AS_PROGRAM) |
| 2550 | 2550 | |
| 2551 | 2551 | MCFG_3DFX_VOODOO_1_ADD("voodoo", STD_VOODOO_1_CLOCK, voodoo_intf) |
trunk/src/mame/drivers/vegas.c
| r18718 | r18719 | |
| 2246 | 2246 | MCFG_M48T37_ADD("timekeeper") |
| 2247 | 2247 | |
| 2248 | 2248 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 2249 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, vegas_state, ide_interrupt)) |
| 2249 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, vegas_state, ide_interrupt)) |
| 2250 | 2250 | MCFG_IDE_CONTROLLER_BUS_MASTER("maincpu", AS_PROGRAM) |
| 2251 | 2251 | |
| 2252 | 2252 | MCFG_SMC91C94_ADD("ethernet", ethernet_intf) |
trunk/src/mame/drivers/jaguar.c
| r18718 | r18719 | |
| 1582 | 1582 | MCFG_NVRAM_ADD_1FILL("nvram") |
| 1583 | 1583 | |
| 1584 | 1584 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 1585 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, jaguar_state, external_int)) |
| 1585 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, jaguar_state, external_int)) |
| 1586 | 1586 | |
| 1587 | 1587 | /* video hardware */ |
| 1588 | 1588 | MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK) |
trunk/src/mame/drivers/savquest.c
| r18718 | r18719 | |
| 555 | 555 | MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w) |
| 556 | 556 | |
| 557 | 557 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 558 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, savquest_state, ide_interrupt)) |
| 558 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, savquest_state, ide_interrupt)) |
| 559 | 559 | |
| 560 | 560 | /* video hardware */ |
| 561 | 561 | MCFG_FRAGMENT_ADD( pcvideo_vga ) |
trunk/src/mame/drivers/midqslvr.c
| r18718 | r18719 | |
| 704 | 704 | MCFG_PCI_BUS_LEGACY_DEVICE(31, NULL, intel82371ab_pci_r, intel82371ab_pci_w) |
| 705 | 705 | |
| 706 | 706 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 707 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, midqslvr_state, ide_interrupt)) |
| 707 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, midqslvr_state, ide_interrupt)) |
| 708 | 708 | |
| 709 | 709 | /* video hardware */ |
| 710 | 710 | MCFG_FRAGMENT_ADD( pcvideo_vga ) |
trunk/src/mame/drivers/calchase.c
| r18718 | r18719 | |
| 930 | 930 | MCFG_PIC8259_ADD( "pic8259_1", calchase_pic8259_1_config ) |
| 931 | 931 | MCFG_PIC8259_ADD( "pic8259_2", calchase_pic8259_2_config ) |
| 932 | 932 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 933 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, calchase_state, ide_interrupt)) |
| 933 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, calchase_state, ide_interrupt)) |
| 934 | 934 | |
| 935 | 935 | MCFG_MC146818_ADD( "rtc", MC146818_STANDARD ) |
| 936 | 936 | MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0) |
trunk/src/mame/drivers/mediagx.c
| r18718 | r18719 | |
| 1185 | 1185 | MCFG_PIC8259_ADD( "pic8259_slave", mediagx_pic8259_2_config ) |
| 1186 | 1186 | |
| 1187 | 1187 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 1188 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, mediagx_state, ide_interrupt)) |
| 1188 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, mediagx_state, ide_interrupt)) |
| 1189 | 1189 | |
| 1190 | 1190 | MCFG_TIMER_DRIVER_ADD("sound_timer", mediagx_state, sound_timer_callback) |
| 1191 | 1191 | |
trunk/src/mame/drivers/xtom3d.c
| r18718 | r18719 | |
| 696 | 696 | MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w) |
| 697 | 697 | |
| 698 | 698 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 699 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, xtom3d_state, ide_interrupt)) |
| 699 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, xtom3d_state, ide_interrupt)) |
| 700 | 700 | |
| 701 | 701 | /* video hardware */ |
| 702 | 702 | MCFG_FRAGMENT_ADD( pcvideo_vga ) |
trunk/src/mame/drivers/voyager.c
| r18718 | r18719 | |
| 774 | 774 | MCFG_PIC8259_ADD( "pic8259_1", voyager_pic8259_1_config ) |
| 775 | 775 | MCFG_PIC8259_ADD( "pic8259_2", voyager_pic8259_2_config ) |
| 776 | 776 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 777 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, voyager_state, ide_interrupt)) |
| 777 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, voyager_state, ide_interrupt)) |
| 778 | 778 | |
| 779 | 779 | MCFG_MC146818_ADD( "rtc", MC146818_STANDARD ) |
| 780 | 780 | MCFG_PCI_BUS_LEGACY_ADD("pcibus", 0) |
trunk/src/mame/drivers/chihiro.c
| r18718 | r18719 | |
| 1845 | 1845 | MCFG_PIC8259_ADD( "pic8259_2", chihiro_pic8259_2_config ) |
| 1846 | 1846 | MCFG_PIT8254_ADD( "pit8254", chihiro_pit8254_config ) |
| 1847 | 1847 | MCFG_IDE_CONTROLLER_ADD( "ide", ide_baseboard, NULL, "bb", true) |
| 1848 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, chihiro_state, ide_interrupt)) |
| 1848 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, chihiro_state, ide_interrupt)) |
| 1849 | 1849 | MCFG_IDE_CONTROLLER_BUS_MASTER("maincpu", AS_PROGRAM) |
| 1850 | 1850 | |
| 1851 | 1851 | /* video hardware */ |
trunk/src/mame/drivers/taitowlf.c
| r18718 | r18719 | |
| 645 | 645 | MCFG_PIC8259_ADD( "pic8259_1", taitowlf_pic8259_1_config ) |
| 646 | 646 | MCFG_PIC8259_ADD( "pic8259_2", taitowlf_pic8259_2_config ) |
| 647 | 647 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 648 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, taitowlf_state, ide_interrupt)) |
| 648 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, taitowlf_state, ide_interrupt)) |
| 649 | 649 | MCFG_MC146818_ADD( "rtc", MC146818_STANDARD ) |
| 650 | 650 | |
| 651 | 651 | /* video hardware */ |
trunk/src/mame/drivers/funkball.c
| r18718 | r18719 | |
| 1171 | 1171 | MCFG_PCI_BUS_LEGACY_DEVICE(18, NULL, cx5510_pci_r, cx5510_pci_w) |
| 1172 | 1172 | |
| 1173 | 1173 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 1174 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, funkball_state, ide_interrupt)) |
| 1174 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, funkball_state, ide_interrupt)) |
| 1175 | 1175 | |
| 1176 | 1176 | /* video hardware */ |
| 1177 | 1177 | MCFG_3DFX_VOODOO_1_ADD("voodoo_0", STD_VOODOO_1_CLOCK, voodoo_intf) |
trunk/src/mame/drivers/taitotz.c
| r18718 | r18719 | |
| 2498 | 2498 | MCFG_QUANTUM_TIME(attotime::from_hz(120)) |
| 2499 | 2499 | |
| 2500 | 2500 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 2501 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, taitotz_state, ide_interrupt)) |
| 2501 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, taitotz_state, ide_interrupt)) |
| 2502 | 2502 | |
| 2503 | 2503 | MCFG_NVRAM_ADD_0FILL("nvram") |
| 2504 | 2504 | |
trunk/src/mame/drivers/gamecstl.c
| r18718 | r18719 | |
| 708 | 708 | MCFG_PIC8259_ADD( "pic8259_2", gamecstl_pic8259_2_config ) |
| 709 | 709 | |
| 710 | 710 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 711 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, gamecstl_state, ide_interrupt)) |
| 711 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, gamecstl_state, ide_interrupt)) |
| 712 | 712 | |
| 713 | 713 | MCFG_MC146818_ADD( "rtc", MC146818_STANDARD ) |
| 714 | 714 | |
trunk/src/mame/drivers/queen.c
| r18718 | r18719 | |
| 689 | 689 | MCFG_PCI_BUS_LEGACY_DEVICE(7, NULL, intel82371ab_pci_r, intel82371ab_pci_w) |
| 690 | 690 | |
| 691 | 691 | MCFG_IDE_CONTROLLER_ADD("ide", ide_devices, "hdd", NULL, true) |
| 692 | | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF_OWNER, queen_state, ide_interrupt)) |
| 692 | MCFG_IDE_CONTROLLER_IRQ_HANDLER(DEVWRITELINE(DEVICE_SELF, queen_state, ide_interrupt)) |
| 693 | 693 | |
| 694 | 694 | /* video hardware */ |
| 695 | 695 | MCFG_FRAGMENT_ADD( pcvideo_vga ) |