summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pcshare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pcshare.cpp')
-rw-r--r--src/mame/machine/pcshare.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mame/machine/pcshare.cpp b/src/mame/machine/pcshare.cpp
index c3dbd67e46c..8f7e34f4d8e 100644
--- a/src/mame/machine/pcshare.cpp
+++ b/src/mame/machine/pcshare.cpp
@@ -136,8 +136,15 @@ ADDRESS_MAP_START( pcat32_io_common, AS_IO, 32, pcat_base_state )
ADDRESS_MAP_END
MACHINE_CONFIG_START(pcat_common)
- MCFG_PIC8259_ADD( "pic8259_1", INPUTLINE("maincpu", 0), VCC, READ8(pcat_base_state, get_slave_ack) )
- MCFG_PIC8259_ADD( "pic8259_2", DEVWRITELINE("pic8259_1", pic8259_device, ir2_w), GND, NOOP)
+ MCFG_DEVICE_ADD("pic8259_1", PIC8259, 0)
+ MCFG_PIC8259_OUT_INT_CB(INPUTLINE("maincpu", 0))
+ MCFG_PIC8259_IN_SP_CB(VCC)
+ MCFG_PIC8259_CASCADE_ACK_CB(READ8(pcat_base_state, get_slave_ack))
+
+ MCFG_DEVICE_ADD("pic8259_2", PIC8259, 0)
+ MCFG_PIC8259_OUT_INT_CB(DEVWRITELINE("pic8259_1", pic8259_device, ir2_w))
+ MCFG_PIC8259_IN_SP_CB(GND)
+
MCFG_DEVICE_ADD( "dma8237_1", AM9517A, XTAL_14_31818MHz/3 )
MCFG_I8237_OUT_HREQ_CB(WRITELINE(pcat_base_state, pc_dma_hrq_changed))
MCFG_I8237_IN_MEMR_CB(READ8(pcat_base_state, pc_dma_read_byte))