diff options
Diffstat (limited to 'src/mame/drivers/fireball.cpp')
-rw-r--r-- | src/mame/drivers/fireball.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/fireball.cpp b/src/mame/drivers/fireball.cpp index 65bf6b8a6f2..e77d883c088 100644 --- a/src/mame/drivers/fireball.cpp +++ b/src/mame/drivers/fireball.cpp @@ -493,20 +493,20 @@ TIMER_DEVICE_CALLBACK_MEMBER( fireball_state::int_0 ) MACHINE_CONFIG_START(fireball_state::fireball) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", I8031, CPU_CLK) // - MCFG_CPU_PROGRAM_MAP(fireball_map) - MCFG_CPU_IO_MAP(fireball_io_map) - MCFG_MCS51_PORT_P1_IN_CB(READ8(fireball_state, p1_r)) - MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(fireball_state, p1_w)) - MCFG_MCS51_PORT_P3_IN_CB(READ8(fireball_state, p3_r)) - MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(fireball_state, p3_w)) + MCFG_DEVICE_ADD("maincpu", I8031, CPU_CLK) // + MCFG_DEVICE_PROGRAM_MAP(fireball_map) + MCFG_DEVICE_IO_MAP(fireball_io_map) + MCFG_MCS51_PORT_P1_IN_CB(READ8(*this, fireball_state, p1_r)) + MCFG_MCS51_PORT_P1_OUT_CB(WRITE8(*this, fireball_state, p1_w)) + MCFG_MCS51_PORT_P3_IN_CB(READ8(*this, fireball_state, p3_r)) + MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(*this, fireball_state, p3_w)) MCFG_TIMER_DRIVER_ADD_PERIODIC("int_0", fireball_state, int_0, attotime::from_hz(555)) //9ms from scope reading 111Hz take care of this in the handler MCFG_EEPROM_SERIAL_X24C44_ADD("eeprom") /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("aysnd", AY8912, AY_CLK) + MCFG_DEVICE_ADD("aysnd", AY8912, AY_CLK) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) /* Video */ |