summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/altos486.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/altos486.cpp')
-rw-r--r--src/mame/drivers/altos486.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/drivers/altos486.cpp b/src/mame/drivers/altos486.cpp
index 4698f0be9e8..ff0f4b9bb4c 100644
--- a/src/mame/drivers/altos486.cpp
+++ b/src/mame/drivers/altos486.cpp
@@ -129,7 +129,11 @@ static MACHINE_CONFIG_START( altos486 )
MCFG_CPU_PROGRAM_MAP(altos486_z80_mem)
MCFG_CPU_IO_MAP(altos486_z80_io)
- MCFG_PIC8259_ADD("pic8259", DEVWRITELINE("maincpu", i80186_cpu_device, int0_w), VCC, READ8(altos486_state, read_rmx_ack))
+ MCFG_DEVICE_ADD("pic8259", PIC8259, 0)
+ MCFG_PIC8259_OUT_INT_CB(DEVWRITELINE("maincpu", i80186_cpu_device, int0_w))
+ MCFG_PIC8259_IN_SP_CB(VCC)
+ MCFG_PIC8259_CASCADE_ACK_CB(READ8(altos486_state, read_rmx_ack))
+
MCFG_DEVICE_ADD("ppi8255", I8255, 0)
MCFG_UPD765A_ADD("fdc", false, false)