diff options
Diffstat (limited to 'src/mame/drivers/ironhors.cpp')
-rw-r--r-- | src/mame/drivers/ironhors.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/ironhors.cpp b/src/mame/drivers/ironhors.cpp index a01a00e63d6..2c816e9ebee 100644 --- a/src/mame/drivers/ironhors.cpp +++ b/src/mame/drivers/ironhors.cpp @@ -382,13 +382,13 @@ These clocks make the emulation run too fast. MACHINE_CONFIG_START(ironhors_state::ironhors) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", MC6809E, 18432000/6) /* 3.072 MHz??? mod by Shingo Suzuki 1999/10/15 */ - MCFG_CPU_PROGRAM_MAP(master_map) + MCFG_DEVICE_ADD("maincpu", MC6809E, 18432000/6) /* 3.072 MHz??? mod by Shingo Suzuki 1999/10/15 */ + MCFG_DEVICE_PROGRAM_MAP(master_map) MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", ironhors_state, irq, "screen", 0, 1) - MCFG_CPU_ADD("soundcpu", Z80, 18432000/6) /* 3.072 MHz */ - MCFG_CPU_PROGRAM_MAP(slave_map) - MCFG_CPU_IO_MAP(slave_io_map) + MCFG_DEVICE_ADD("soundcpu", Z80, 18432000/6) /* 3.072 MHz */ + MCFG_DEVICE_PROGRAM_MAP(slave_map) + MCFG_DEVICE_IO_MAP(slave_io_map) /* video hardware */ @@ -410,15 +410,15 @@ MACHINE_CONFIG_START(ironhors_state::ironhors) MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_SOUND_ADD("ym2203", YM2203, 18432000/6) - MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(ironhors_state, filter_w)) + MCFG_DEVICE_ADD("ym2203", YM2203, 18432000/6) + MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, ironhors_state, filter_w)) MCFG_SOUND_ROUTE(0, "disc_ih", 1.0, 0) MCFG_SOUND_ROUTE(1, "disc_ih", 1.0, 1) MCFG_SOUND_ROUTE(2, "disc_ih", 1.0, 2) MCFG_SOUND_ROUTE(3, "disc_ih", 1.0, 3) - MCFG_SOUND_ADD("disc_ih", DISCRETE, 0) + MCFG_DEVICE_ADD("disc_ih", DISCRETE) MCFG_DISCRETE_INTF(ironhors) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) @@ -448,13 +448,13 @@ READ8_MEMBER(ironhors_state::farwest_soundlatch_r) MACHINE_CONFIG_START(ironhors_state::farwest) ironhors(config); - MCFG_CPU_MODIFY("maincpu") - MCFG_CPU_PROGRAM_MAP(farwest_master_map) + MCFG_DEVICE_MODIFY("maincpu") + MCFG_DEVICE_PROGRAM_MAP(farwest_master_map) MCFG_DEVICE_MODIFY("scantimer") MCFG_TIMER_DRIVER_CALLBACK(ironhors_state, farwest_irq) - MCFG_CPU_MODIFY("soundcpu") - MCFG_CPU_PROGRAM_MAP(farwest_slave_map) + MCFG_DEVICE_MODIFY("soundcpu") + MCFG_DEVICE_PROGRAM_MAP(farwest_slave_map) MCFG_DEVICE_REMOVE_ADDRESS_MAP(AS_IO) MCFG_GFXDECODE_MODIFY("gfxdecode", farwest) @@ -462,9 +462,9 @@ MACHINE_CONFIG_START(ironhors_state::farwest) MCFG_SCREEN_MODIFY("screen") MCFG_SCREEN_UPDATE_DRIVER(ironhors_state, screen_update_farwest) - MCFG_SOUND_MODIFY("ym2203") - MCFG_AY8910_PORT_B_READ_CB(READ8(ironhors_state, farwest_soundlatch_r)) - MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(ironhors_state, filter_w)) + MCFG_DEVICE_MODIFY("ym2203") + MCFG_AY8910_PORT_B_READ_CB(READ8(*this, ironhors_state, farwest_soundlatch_r)) + MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(*this, ironhors_state, filter_w)) MACHINE_CONFIG_END |