diff options
Diffstat (limited to 'src/mame/drivers/timex.cpp')
-rw-r--r-- | src/mame/drivers/timex.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/timex.cpp b/src/mame/drivers/timex.cpp index 8f1416178b2..82491a8a790 100644 --- a/src/mame/drivers/timex.cpp +++ b/src/mame/drivers/timex.cpp @@ -688,10 +688,10 @@ GFXDECODE_END MACHINE_CONFIG_START(spectrum_state::ts2068) spectrum_128(config); - MCFG_CPU_REPLACE("maincpu", Z80, XTAL(14'112'000)/4) /* From Schematic; 3.528 MHz */ - MCFG_CPU_PROGRAM_MAP(ts2068_mem) - MCFG_CPU_IO_MAP(ts2068_io) - MCFG_CPU_VBLANK_INT_DRIVER("screen", spectrum_state, spec_interrupt) + MCFG_DEVICE_REPLACE("maincpu", Z80, XTAL(14'112'000)/4) /* From Schematic; 3.528 MHz */ + MCFG_DEVICE_PROGRAM_MAP(ts2068_mem) + MCFG_DEVICE_IO_MAP(ts2068_io) + MCFG_DEVICE_VBLANK_INT_DRIVER("screen", spectrum_state, spec_interrupt) MCFG_QUANTUM_TIME(attotime::from_hz(60)) MCFG_MACHINE_RESET_OVERRIDE(spectrum_state, ts2068 ) @@ -702,14 +702,14 @@ MACHINE_CONFIG_START(spectrum_state::ts2068) MCFG_SCREEN_SIZE(TS2068_SCREEN_WIDTH, TS2068_SCREEN_HEIGHT) MCFG_SCREEN_VISIBLE_AREA(0, TS2068_SCREEN_WIDTH-1, 0, TS2068_SCREEN_HEIGHT-1) MCFG_SCREEN_UPDATE_DRIVER(spectrum_state, screen_update_ts2068) - MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(spectrum_state, screen_vblank_timex)) + MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, spectrum_state, screen_vblank_timex)) MCFG_GFXDECODE_MODIFY("gfxdecode", ts2068) MCFG_VIDEO_START_OVERRIDE(spectrum_state, ts2068 ) /* sound */ - MCFG_SOUND_REPLACE("ay8912", AY8912, XTAL(14'112'000)/8) /* From Schematic; 1.764 MHz */ + MCFG_DEVICE_REPLACE("ay8912", AY8912, XTAL(14'112'000)/8) /* From Schematic; 1.764 MHz */ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) /* cartridge */ @@ -735,9 +735,9 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START(spectrum_state::tc2048) spectrum(config); - MCFG_CPU_MODIFY("maincpu") - MCFG_CPU_PROGRAM_MAP(tc2048_mem) - MCFG_CPU_IO_MAP(tc2048_io) + MCFG_DEVICE_MODIFY("maincpu") + MCFG_DEVICE_PROGRAM_MAP(tc2048_mem) + MCFG_DEVICE_IO_MAP(tc2048_io) MCFG_MACHINE_RESET_OVERRIDE(spectrum_state, tc2048 ) @@ -747,7 +747,7 @@ MACHINE_CONFIG_START(spectrum_state::tc2048) MCFG_SCREEN_SIZE(TS2068_SCREEN_WIDTH, SPEC_SCREEN_HEIGHT) MCFG_SCREEN_VISIBLE_AREA(0, TS2068_SCREEN_WIDTH-1, 0, SPEC_SCREEN_HEIGHT-1) MCFG_SCREEN_UPDATE_DRIVER(spectrum_state, screen_update_tc2048) - MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(spectrum_state, screen_vblank_timex)) + MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(*this, spectrum_state, screen_vblank_timex)) MCFG_VIDEO_START_OVERRIDE(spectrum_state, spectrum_128 ) |