summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/armedf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/armedf.cpp')
-rw-r--r--src/mame/drivers/armedf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/armedf.cpp b/src/mame/drivers/armedf.cpp
index 751130d5235..82e63e58ac2 100644
--- a/src/mame/drivers/armedf.cpp
+++ b/src/mame/drivers/armedf.cpp
@@ -1560,10 +1560,10 @@ MACHINE_CONFIG_START(bigfghtr_state::bigfghtr)
MCFG_DEVICE_PROGRAM_MAP(bigfghtr_map)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", armedf_state, irq1_line_assert)
- MCFG_DEVICE_ADD("mcu", I8751, XTAL(16'000'000)/2) // verified
- MCFG_DEVICE_PROGRAM_MAP(bigfghtr_mcu_map)
- MCFG_DEVICE_IO_MAP(bigfghtr_mcu_io_map)
- MCFG_MCS51_PORT_P1_IN_CB(CONSTANT(0xdf)) // bit 5: bus contention related?
+ i8751_device &mcu(I8751(config, "mcu", XTAL(16'000'000)/2)); // verified
+ mcu.set_addrmap(AS_PROGRAM, &bigfghtr_state::bigfghtr_mcu_map);
+ mcu.set_addrmap(AS_IO, &bigfghtr_state::bigfghtr_mcu_io_map);
+ mcu.port_in_cb<1>().set_constant(0xdf); // bit 5: bus contention related?
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)