Skip to content

Commit 01e1be2

Browse files
committed
tokio: make cpu quantum the same as bublbobl, it works fine,
slapfght: reduce quantum a bit
1 parent 2057eed commit 01e1be2

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/mame/handheld/hh_e0c6200.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Seiko Epson E0C6200-based handhelds, mostly electronic keychain toys from the
77
late-1990s. The first Tamagotchi games are on this MCU.
88
99
These were meant to stay on 24/7, so make sure to use save states if you want
10-
to play the games for a longer time.
10+
to play the games for a longer time or remember high scores.
1111
1212
For most of the games, external artwork is required for the background inlays.
1313
For the drivers that don't have an SVG screen, use -prescale or -nofilter to

src/mame/taito/bublbobl.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ void bublbobl_state::tokio(machine_config &config)
848848

849849
TAITO68705_MCU(config, "bmcu", MAIN_XTAL/8); // 3 Mhz
850850

851-
config.set_perfect_quantum(m_maincpu); // is this necessary?
851+
config.set_maximum_quantum(attotime::from_hz(6000));
852852

853853
WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 128); // 74LS393, counts 128 vblanks before firing watchdog; same circuit as taitosj uses
854854

@@ -943,7 +943,7 @@ void bublbobl_state::bublbobl_nomcu(machine_config &config)
943943
Z80(config, m_audiocpu, MAIN_XTAL/8); // 3 MHz
944944
m_audiocpu->set_addrmap(AS_PROGRAM, &bublbobl_state::sound_map); // IRQs are triggered by the YM2203
945945

946-
config.set_maximum_quantum(attotime::from_hz(6000)); // 100 CPU slices per frame - a high value to ensure proper synchronization of the CPUs
946+
config.set_maximum_quantum(attotime::from_hz(6000)); // a high value to ensure proper synchronization of the CPUs
947947

948948
WATCHDOG_TIMER(config, "watchdog").set_vblank_count("screen", 128); // 74LS393, counts 128 vblanks before firing watchdog; same circuit as taitosj uses
949949

@@ -2127,11 +2127,11 @@ GAME( 1986, tokioo, tokio, tokio, tokio, bublbobl_state, init_co
21272127
GAME( 1986, tokiou, tokio, tokio, tokio, bublbobl_state, init_common, ROT90, "Taito America Corporation (Romstar license)", "Tokio / Scramble Formation (US)", MACHINE_SUPPORTS_SAVE )
21282128
GAME( 1986, tokiob, tokio, tokiob, tokio_base, bublbobl_state, init_common, ROT90, "bootleg", "Tokio / Scramble Formation (bootleg)", MACHINE_SUPPORTS_SAVE )
21292129

2130-
GAME( 1986, bublboblp, bublbobl, bublboblp, bublboblp, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (prototype on Tokio hardware)", MACHINE_SUPPORTS_SAVE )
21312130
GAME( 1986, bublbobl, 0, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (Japan, Ver 0.1)", MACHINE_SUPPORTS_SAVE )
21322131
GAME( 1986, bublbobl1, bublbobl, bublbobl, bublbobl, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (Japan, Ver 0.0)", MACHINE_SUPPORTS_SAVE )
21332132
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
21342133
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 )
2134+
GAME( 1986, bublboblp, bublbobl, bublboblp, bublboblp, bublbobl_state, init_common, ROT0, "Taito Corporation", "Bubble Bobble (prototype on Tokio hardware)", MACHINE_SUPPORTS_SAVE )
21352135

21362136
GAME( 1986, boblbobl, bublbobl, boblbobl, boblbobl, bublbobl_state, init_common, ROT0, "bootleg", "Bobble Bobble (bootleg of Bubble Bobble)", MACHINE_SUPPORTS_SAVE )
21372137
GAME( 1986, sboblbobl, bublbobl, boblbobl, sboblbobl, bublbobl_state, init_common, ROT0, "bootleg (Datsu)", "Super Bobble Bobble (bootleg, set 1)", MACHINE_SUPPORTS_SAVE )

src/mame/taito/bublbobl.h

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "machine/gen_latch.h"
1313
#include "sound/ymopn.h"
1414
#include "sound/ymopl.h"
15+
1516
#include "emupal.h"
1617
#include "screen.h"
1718

src/mame/toaplan/slapfght.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ void slapfght_state::perfrman(machine_config &config)
910910
m_audiocpu->set_addrmap(AS_PROGRAM, &slapfght_state::perfrman_sound_map);
911911
m_audiocpu->set_periodic_int(FUNC(slapfght_state::sound_nmi), attotime::from_hz(240)); // music speed, verified
912912

913-
config.set_perfect_quantum(m_maincpu);
913+
config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4));
914914

915915
/* video hardware */
916916
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
@@ -960,7 +960,7 @@ void slapfght_state::tigerh(machine_config &config)
960960

961961
TAITO68705_MCU_TIGER(config, m_bmcu, 36_MHz_XTAL/12); // 3MHz
962962

963-
config.set_perfect_quantum(m_maincpu);
963+
config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4));
964964

965965
/* video hardware */
966966
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
@@ -1043,7 +1043,7 @@ void slapfght_state::slapfigh(machine_config &config)
10431043
m_bmcu->aux_out_cb<5>().set(FUNC(slapfght_state::flipscreen_w));
10441044
m_bmcu->aux_strobe_cb().set(FUNC(slapfght_state::scroll_from_mcu_w));
10451045

1046-
config.set_perfect_quantum(m_maincpu);
1046+
config.set_maximum_quantum(attotime::from_hz(m_maincpu->clock() / 4));
10471047

10481048
/* video hardware */
10491049
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);

0 commit comments

Comments
 (0)