From 16e300e6301fe78a10fcbb4f2554e24ca9ac33cb Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 7 Jun 2021 10:54:59 -0400 Subject: [PATCH] atetrisb2, atetrisb3: Fix regression --- src/mame/drivers/atetris.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/mame/drivers/atetris.cpp b/src/mame/drivers/atetris.cpp index 45389415fc1..1d28e150433 100644 --- a/src/mame/drivers/atetris.cpp +++ b/src/mame/drivers/atetris.cpp @@ -9,9 +9,8 @@ Games supported: * Tetris - Known bugs: - * the bootlegs don't actually have the slapstic. The additional - hardware needs to be emulated. + Though of course none of the bootlegs have the actual SLAPSTIC, at + least some appear to have simulated it using TTL and PLDs. **************************************************************************** @@ -382,9 +381,9 @@ void atetris_state::atetris(machine_config &config) void atetris_state::atetrisb2(machine_config &config) { - atetris_base(config); - - EEPROM_2804(config, "eeprom").lock_after_write(true); + atetris(config); + config.device_remove("pokey1"); + config.device_remove("pokey2"); /* basic machine hardware */ m_maincpu->set_clock(BOOTLEG_CLOCK/8); @@ -398,12 +397,12 @@ void atetris_state::atetrisb2(machine_config &config) void atetris_mcu_state::atetrisb3(machine_config &config) { - atetris_base(config); + atetris(config); + config.device_remove("pokey1"); + config.device_remove("pokey2"); m_maincpu->set_addrmap(AS_PROGRAM, &atetris_mcu_state::atetrisb3_map); - EEPROM_2816(config, "eeprom").lock_after_write(true); - I8749(config, m_mcu, 10_MHz_XTAL); m_mcu->bus_in_cb().set(FUNC(atetris_mcu_state::mcu_bus_r)); m_mcu->bus_out_cb().set(m_soundlatch[0], FUNC(generic_latch_8_device::acknowledge_w)); @@ -417,7 +416,7 @@ void atetris_mcu_state::atetrisb3(machine_config &config) for (int i = 0; i < 4; i++) { - SN76489A(config, m_sn[i], 4000000).add_route(ALL_OUTPUTS, "mono", 0.50); + SN76489A(config, m_sn[i], 4_MHz_XTAL).add_route(ALL_OUTPUTS, "mono", 0.50); } }