tokio: make cpu quantum the same as bublbobl, it works fine,

slapfght: reduce quantum a bit
This commit is contained in:
hap 2024-12-30 20:39:56 +01:00
parent 2057eeda33
commit 01e1be2667
4 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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 )

View File

@ -12,6 +12,7 @@
#include "machine/gen_latch.h"
#include "sound/ymopn.h"
#include "sound/ymopl.h"
#include "emupal.h"
#include "screen.h"

View File

@ -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);