diff options
Diffstat (limited to 'src/mame/drivers/taitoair.cpp')
-rw-r--r-- | src/mame/drivers/taitoair.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/taitoair.cpp b/src/mame/drivers/taitoair.cpp index 4405b4ea2b1..eba6a6b40f0 100644 --- a/src/mame/drivers/taitoair.cpp +++ b/src/mame/drivers/taitoair.cpp @@ -705,18 +705,18 @@ void taitoair_state::machine_reset() MACHINE_CONFIG_START(taitoair_state::airsys) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M68000, XTAL(12'000'000)) // MC68000P12 - MCFG_CPU_PROGRAM_MAP(airsys_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", taitoair_state, irq5_line_hold) + MCFG_DEVICE_ADD("maincpu", M68000, XTAL(12'000'000)) // MC68000P12 + MCFG_DEVICE_PROGRAM_MAP(airsys_map) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", taitoair_state, irq5_line_hold) - MCFG_CPU_ADD("audiocpu", Z80, XTAL(16'000'000) / 4) // Z8400AB1 - MCFG_CPU_PROGRAM_MAP(sound_map) + MCFG_DEVICE_ADD("audiocpu", Z80, XTAL(16'000'000) / 4) // Z8400AB1 + MCFG_DEVICE_PROGRAM_MAP(sound_map) - MCFG_CPU_ADD("dsp", TMS32025, XTAL(36'000'000)) // Unverified - MCFG_CPU_PROGRAM_MAP(DSP_map_program) - MCFG_CPU_DATA_MAP(DSP_map_data) - MCFG_TMS32025_HOLD_IN_CB(READ16(taitoair_state, dsp_HOLD_signal_r)) - MCFG_TMS32025_HOLD_ACK_OUT_CB(WRITE16(taitoair_state, dsp_HOLDA_signal_w)) + MCFG_DEVICE_ADD("dsp", TMS32025, XTAL(36'000'000)) // Unverified + MCFG_DEVICE_PROGRAM_MAP(DSP_map_program) + MCFG_DEVICE_DATA_MAP(DSP_map_data) + MCFG_TMS32025_HOLD_IN_CB(READ16(*this, taitoair_state, dsp_HOLD_signal_r)) + MCFG_TMS32025_HOLD_ACK_OUT_CB(WRITE16(*this, taitoair_state, dsp_HOLDA_signal_w)) MCFG_QUANTUM_PERFECT_CPU("maincpu") @@ -725,7 +725,7 @@ MACHINE_CONFIG_START(taitoair_state::airsys) MCFG_TC0220IOC_READ_1_CB(IOPORT("DSWB")) MCFG_TC0220IOC_READ_2_CB(IOPORT("IN0")) MCFG_TC0220IOC_READ_3_CB(IOPORT("IN1")) - MCFG_TC0220IOC_WRITE_4_CB(WRITE8(taitoair_state, coin_control_w)) + MCFG_TC0220IOC_WRITE_4_CB(WRITE8(*this, taitoair_state, coin_control_w)) MCFG_TC0220IOC_READ_7_CB(IOPORT("IN2")) MCFG_TAITOIO_YOKE_ADD("yokectrl") @@ -755,7 +755,7 @@ MACHINE_CONFIG_START(taitoair_state::airsys) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("ymsnd", YM2610, XTAL(16'000'000) / 2) + MCFG_DEVICE_ADD("ymsnd", YM2610, XTAL(16'000'000) / 2) MCFG_YM2610_IRQ_HANDLER(INPUTLINE("audiocpu", 0)) MCFG_SOUND_ROUTE(0, "mono", 0.30) MCFG_SOUND_ROUTE(1, "mono", 0.60) |