summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/st_mp200.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/st_mp200.cpp')
-rw-r--r--src/mame/drivers/st_mp200.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/st_mp200.cpp b/src/mame/drivers/st_mp200.cpp
index ff7d88e7c1c..a0ed6306fd1 100644
--- a/src/mame/drivers/st_mp200.cpp
+++ b/src/mame/drivers/st_mp200.cpp
@@ -598,8 +598,8 @@ static MACHINE_CONFIG_START( st_mp200, st_mp200_state )
MCFG_PIA_WRITEPB_HANDLER(WRITE8(st_mp200_state, u10_b_w))
MCFG_PIA_CA2_HANDLER(WRITELINE(st_mp200_state, u10_ca2_w))
MCFG_PIA_CB2_HANDLER(WRITELINE(st_mp200_state, u10_cb2_w))
- MCFG_PIA_IRQA_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
- MCFG_PIA_IRQB_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
+ MCFG_PIA_IRQA_HANDLER(INPUTLINE("maincpu", M6800_IRQ_LINE))
+ MCFG_PIA_IRQB_HANDLER(INPUTLINE("maincpu", M6800_IRQ_LINE))
MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_x", st_mp200_state, timer_x, attotime::from_hz(120)) // mains freq*2
MCFG_DEVICE_ADD("pia_u11", PIA6821, 0)
@@ -608,8 +608,8 @@ static MACHINE_CONFIG_START( st_mp200, st_mp200_state )
MCFG_PIA_WRITEPB_HANDLER(WRITE8(st_mp200_state, u11_b_w))
MCFG_PIA_CA2_HANDLER(WRITELINE(st_mp200_state, u11_ca2_w))
MCFG_PIA_CB2_HANDLER(WRITELINE(st_mp200_state, u11_cb2_w))
- MCFG_PIA_IRQA_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
- MCFG_PIA_IRQB_HANDLER(DEVWRITELINE("maincpu", m6800_cpu_device, irq_line))
+ MCFG_PIA_IRQA_HANDLER(INPUTLINE("maincpu", M6800_IRQ_LINE))
+ MCFG_PIA_IRQB_HANDLER(INPUTLINE("maincpu", M6800_IRQ_LINE))
MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_d", st_mp200_state, u11_timer, attotime::from_hz(634)) // 555 timer*2
MACHINE_CONFIG_END