summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/hexion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hexion.cpp')
-rw-r--r--src/mame/drivers/hexion.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/hexion.cpp b/src/mame/drivers/hexion.cpp
index ec9f9211573..a1cebfd9f64 100644
--- a/src/mame/drivers/hexion.cpp
+++ b/src/mame/drivers/hexion.cpp
@@ -255,15 +255,15 @@ TIMER_DEVICE_CALLBACK_MEMBER(hexion_state::scanline)
MACHINE_CONFIG_START(hexion_state::hexion)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80, XTAL(24'000'000)/4) /* Z80B 6 MHz @ 17F, xtal verified, divider not verified */
- MCFG_CPU_PROGRAM_MAP(hexion_map)
+ MCFG_DEVICE_ADD("maincpu", Z80, XTAL(24'000'000)/4) /* Z80B 6 MHz @ 17F, xtal verified, divider not verified */
+ MCFG_DEVICE_PROGRAM_MAP(hexion_map)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", hexion_state, scanline, "screen", 0, 1)
MCFG_WATCHDOG_ADD("watchdog")
MCFG_DEVICE_ADD("k053252", K053252, XTAL(24'000'000)/2) /* K053252, X0-010(?) @8D, xtal verified, divider not verified */
- MCFG_K053252_INT1_ACK_CB(WRITELINE(hexion_state, irq_ack_w))
- MCFG_K053252_INT2_ACK_CB(WRITELINE(hexion_state, nmi_ack_w))
- MCFG_K053252_INT_TIME_CB(WRITE8(hexion_state, ccu_int_time_w))
+ MCFG_K053252_INT1_ACK_CB(WRITELINE(*this, hexion_state, irq_ack_w))
+ MCFG_K053252_INT2_ACK_CB(WRITELINE(*this, hexion_state, nmi_ack_w))
+ MCFG_K053252_INT_TIME_CB(WRITE8(*this, hexion_state, ccu_int_time_w))
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -289,8 +289,8 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(hexion_state::hexionb)
hexion(config);
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_PROGRAM_MAP(hexionb_map)
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_PROGRAM_MAP(hexionb_map)
MCFG_DEVICE_REMOVE("k051649")