diff options
Diffstat (limited to 'src/mame/drivers/groundfx.cpp')
-rw-r--r-- | src/mame/drivers/groundfx.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/groundfx.cpp b/src/mame/drivers/groundfx.cpp index d558ae1c277..90ca7f1b34a 100644 --- a/src/mame/drivers/groundfx.cpp +++ b/src/mame/drivers/groundfx.cpp @@ -238,9 +238,9 @@ INTERRUPT_GEN_MEMBER(groundfx_state::interrupt) MACHINE_CONFIG_START(groundfx_state::groundfx) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M68EC020, XTAL(40'000'000)/2) /* 20MHz - verified */ - MCFG_CPU_PROGRAM_MAP(groundfx_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", groundfx_state, interrupt) + MCFG_DEVICE_ADD("maincpu", M68EC020, XTAL(40'000'000)/2) /* 20MHz - verified */ + MCFG_DEVICE_PROGRAM_MAP(groundfx_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", groundfx_state, interrupt) MCFG_EEPROM_SERIAL_93C46_ADD("eeprom") @@ -253,12 +253,12 @@ MACHINE_CONFIG_START(groundfx_state::groundfx) MCFG_DEVICE_ADD("tc0510nio", TC0510NIO, 0) MCFG_TC0510NIO_READ_2_CB(IOPORT("BUTTONS")) - MCFG_TC0510NIO_READ_3_CB(DEVREADLINE("eeprom", eeprom_serial_93cxx_device, do_read)) MCFG_DEVCB_BIT(7) - MCFG_DEVCB_CHAIN_INPUT(READLINE(groundfx_state, frame_counter_r)) MCFG_DEVCB_BIT(0) - MCFG_TC0510NIO_WRITE_3_CB(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, clk_write)) MCFG_DEVCB_BIT(5) - MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, di_write)) MCFG_DEVCB_BIT(6) - MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("eeprom", eeprom_serial_93cxx_device, cs_write)) MCFG_DEVCB_BIT(4) - MCFG_TC0510NIO_WRITE_4_CB(WRITE8(groundfx_state, coin_word_w)) + MCFG_TC0510NIO_READ_3_CB(READLINE("eeprom", eeprom_serial_93cxx_device, do_read)) MCFG_DEVCB_BIT(7) + MCFG_DEVCB_CHAIN_INPUT(READLINE(*this, groundfx_state, frame_counter_r)) MCFG_DEVCB_BIT(0) + MCFG_TC0510NIO_WRITE_3_CB(WRITELINE("eeprom", eeprom_serial_93cxx_device, clk_write)) MCFG_DEVCB_BIT(5) + MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("eeprom", eeprom_serial_93cxx_device, di_write)) MCFG_DEVCB_BIT(6) + MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("eeprom", eeprom_serial_93cxx_device, cs_write)) MCFG_DEVCB_BIT(4) + MCFG_TC0510NIO_WRITE_4_CB(WRITE8(*this, groundfx_state, coin_word_w)) MCFG_TC0510NIO_READ_7_CB(IOPORT("SYSTEM")) /* video hardware */ |