summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/eolith.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/eolith.cpp')
-rw-r--r--src/mame/drivers/eolith.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/eolith.cpp b/src/mame/drivers/eolith.cpp
index 32ba147b82f..0a070f2c5f7 100644
--- a/src/mame/drivers/eolith.cpp
+++ b/src/mame/drivers/eolith.cpp
@@ -534,16 +534,16 @@ INPUT_PORTS_END
*************************************/
MACHINE_CONFIG_START(eolith_state::eolith45)
- MCFG_CPU_ADD("maincpu", E132N, 45000000) /* 45 MHz */
- MCFG_CPU_PROGRAM_MAP(eolith_map)
+ MCFG_DEVICE_ADD("maincpu", E132N, 45000000) /* 45 MHz */
+ MCFG_DEVICE_PROGRAM_MAP(eolith_map)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", eolith_state, eolith_speedup, "screen", 0, 1)
/* Sound CPU */
- MCFG_CPU_ADD("soundcpu", I8032, XTAL(12'000'000))
- MCFG_CPU_PROGRAM_MAP(sound_prg_map)
- MCFG_CPU_IO_MAP(sound_io_map)
- MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(eolith_state, sound_p1_w))
- MCFG_MCS51_SERIAL_TX_CB(WRITE8(eolith_state, soundcpu_to_qs1000)) // Sound CPU -> QS1000 CPU serial link
+ MCFG_DEVICE_ADD("soundcpu", I8032, XTAL(12'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(sound_prg_map)
+ MCFG_DEVICE_IO_MAP(sound_io_map)
+ MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(*this, eolith_state, sound_p1_w))
+ MCFG_MCS51_SERIAL_TX_CB(WRITE8(*this, eolith_state, soundcpu_to_qs1000)) // Sound CPU -> QS1000 CPU serial link
MCFG_MACHINE_RESET_OVERRIDE(eolith_state,eolith)
@@ -574,30 +574,30 @@ MACHINE_CONFIG_START(eolith_state::eolith45)
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("soundcpu", MCS51_INT0_LINE))
- MCFG_SOUND_ADD("qs1000", QS1000, XTAL(24'000'000))
+ MCFG_DEVICE_ADD("qs1000", QS1000, XTAL(24'000'000))
MCFG_QS1000_EXTERNAL_ROM(true)
- MCFG_QS1000_IN_P1_CB(READ8(eolith_state, qs1000_p1_r))
- MCFG_QS1000_OUT_P1_CB(WRITE8(eolith_state, qs1000_p1_w))
+ MCFG_QS1000_IN_P1_CB(READ8(*this, eolith_state, qs1000_p1_r))
+ MCFG_QS1000_OUT_P1_CB(WRITE8(*this, eolith_state, qs1000_p1_w))
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END
MACHINE_CONFIG_START(eolith_state::eolith50)
eolith45(config);
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_CLOCK(50000000) /* 50 MHz */
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_CLOCK(50000000) /* 50 MHz */
MACHINE_CONFIG_END
MACHINE_CONFIG_START(eolith_state::ironfort)
eolith45(config);
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_CLOCK(44900000) /* Normally 45MHz??? but PCB actually had a 44.9MHz OSC, so it's value is used */
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_CLOCK(44900000) /* Normally 45MHz??? but PCB actually had a 44.9MHz OSC, so it's value is used */
MACHINE_CONFIG_END
MACHINE_CONFIG_START(eolith_state::hidctch3)
eolith50(config);
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_PROGRAM_MAP(hidctch3_map)
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_PROGRAM_MAP(hidctch3_map)
MACHINE_CONFIG_END