From 01e1be26671990b2713a3fc80c90d7c9a9dde9c4 Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 30 Dec 2024 20:39:56 +0100 Subject: tokio: make cpu quantum the same as bublbobl, it works fine, slapfght: reduce quantum a bit --- src/mame/handheld/hh_e0c6200.cpp | 2 +- src/mame/taito/bublbobl.cpp | 6 +++--- src/mame/taito/bublbobl.h | 1 + src/mame/toaplan/slapfght.cpp | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/mame/handheld/hh_e0c6200.cpp b/src/mame/handheld/hh_e0c6200.cpp index b1cde9d024f..17590e03217 100644 --- a/src/mame/handheld/hh_e0c6200.cpp +++ b/src/mame/handheld/hh_e0c6200.cpp @@ -7,7 +7,7 @@ Seiko Epson E0C6200-based handhelds, mostly electronic keychain toys from the late-1990s. The first Tamagotchi games are on this MCU. These were meant to stay on 24/7, so make sure to use save states if you want -to play the games for a longer time. +to play the games for a longer time or remember high scores. For most of the games, external artwork is required for the background inlays. For the drivers that don't have an SVG screen, use -prescale or -nofilter to diff --git a/src/mame/taito/bublbobl.cpp b/src/mame/taito/bublbobl.cpp index 9ff0eb3190a..2ec52e78cfa 100644 --- a/src/mame/taito/bublbobl.cpp +++ b/src/mame/taito/bublbobl.cpp @@ -848,7 +848,7 @@ void bublbobl_state::tokio(machine_config &config) TAITO68705_MCU(config, "bmcu", MAIN_XTAL/8); // 3 Mhz - config.set_perfect_quantum(m_maincpu); // is this necessary? + config.set_maximum_quantum(attotime::from_hz(6000)); WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 128); // 74LS393, counts 128 vblanks before firing watchdog; same circuit as taitosj uses @@ -943,7 +943,7 @@ void bublbobl_state::bublbobl_nomcu(machine_config &config) Z80(config, m_audiocpu, MAIN_XTAL/8); // 3 MHz m_audiocpu->set_addrmap(AS_PROGRAM, &bublbobl_state::sound_map); // IRQs are triggered by the YM2203 - config.set_maximum_quantum(attotime::from_hz(6000)); // 100 CPU slices per frame - a high value to ensure proper synchronization of the CPUs + config.set_maximum_quantum(attotime::from_hz(6000)); // a high value to ensure proper synchronization of the CPUs WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 128); // 74LS393, counts 128 vblanks before firing watchdog; same circuit as taitosj uses @@ -2127,11 +2127,11 @@ GAME( 1986, tokioo, tokio, tokio, tokio, bublbobl_state, init_co GAME( 1986, tokiou, tokio, tokio, tokio, bublbobl_state, init_common, ROT90, "Taito America Corporation (Romstar license)", "Tokio / Scramble Formation (US)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, tokiob, tokio, tokiob, tokio_base, bublbobl_state, init_common, ROT90, "bootleg", "Tokio / Scramble Formation (bootleg)", MACHINE_SUPPORTS_SAVE ) -GAME( 1986, bublboblp, bublbobl, bublboblp, bublboblp, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (prototype on Tokio hardware)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, bublbobl, 0, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (Japan, Ver 0.1)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, bublbobl1, bublbobl, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (Japan, Ver 0.0)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, bublboblr, bublbobl, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito America Corporation (Romstar license)", "Bubble Bobble (US, Ver 5.1)", MACHINE_SUPPORTS_SAVE ) // newest release, with mode select GAME( 1986, bublboblr1, bublbobl, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito America Corporation (Romstar license)", "Bubble Bobble (US, Ver 1.0)", MACHINE_SUPPORTS_SAVE ) +GAME( 1986, bublboblp, bublbobl, bublboblp, bublboblp, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (prototype on Tokio hardware)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, boblbobl, bublbobl, boblbobl, boblbobl, bublbobl_state, init_common, ROT0, "bootleg", "Bobble Bobble (bootleg of Bubble Bobble)", MACHINE_SUPPORTS_SAVE ) GAME( 1986, sboblbobl, bublbobl, boblbobl, sboblbobl, bublbobl_state, init_common, ROT0, "bootleg (Datsu)", "Super Bobble Bobble (bootleg, set 1)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/taito/bublbobl.h b/src/mame/taito/bublbobl.h index 3c4a1432166..41fbb6530f5 100644 --- a/src/mame/taito/bublbobl.h +++ b/src/mame/taito/bublbobl.h @@ -12,6 +12,7 @@ #include "machine/gen_latch.h" #include "sound/ymopn.h" #include "sound/ymopl.h" + #include "emupal.h" #include "screen.h" diff --git a/src/mame/toaplan/slapfght.cpp b/src/mame/toaplan/slapfght.cpp index 2f18232fa3c..2d489d97dea 100644 --- a/src/mame/toaplan/slapfght.cpp +++ b/src/mame/toaplan/slapfght.cpp @@ -910,7 +910,7 @@ void slapfght_state::perfrman(machine_config &config) m_audiocpu->set_addrmap(AS_PROGRAM, &slapfght_state::perfrman_sound_map); m_audiocpu->set_periodic_int(FUNC(slapfght_state::sound_nmi), attotime::from_hz(240)); // music speed, verified - config.set_perfect_quantum(m_maincpu); + config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4)); /* video hardware */ SCREEN(config, m_screen, SCREEN_TYPE_RASTER); @@ -960,7 +960,7 @@ void slapfght_state::tigerh(machine_config &config) TAITO68705_MCU_TIGER(config, m_bmcu, 36_MHz_XTAL/12); // 3MHz - config.set_perfect_quantum(m_maincpu); + config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4)); /* video hardware */ SCREEN(config, m_screen, SCREEN_TYPE_RASTER); @@ -1043,7 +1043,7 @@ void slapfght_state::slapfigh(machine_config &config) m_bmcu->aux_out_cb<5>().set(FUNC(slapfght_state::flipscreen_w)); m_bmcu->aux_strobe_cb().set(FUNC(slapfght_state::scroll_from_mcu_w)); - config.set_perfect_quantum(m_maincpu); + config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4)); /* video hardware */ SCREEN(config, m_screen, SCREEN_TYPE_RASTER); -- cgit v1.2.3