Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03000 Crash/Freeze Major Random Mar 5, 2009, 21:09 Dec 23, 2019, 14:43
Tester Kale View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS
Status [?] Resolved Driver
Version 0.129u6 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 03000: tetrisp2j: Random hangs in some places.
Description Tetris Plus 2 (Japan version only) hangs randomly in some circustances. Happens on either at start-up (black screen) or on the attract mode.
I say "randomly" because it's caused by the code at line 208:

static READ16_HANDLER( tetrisp2_ip_1_word_r )
{
return ( input_port_read(space->machine, "SYSTEM") & 0xfcff ) |
( mame_rand(space->machine) & ~0xfcff ) |
( 1 << (8 + (mame_rand(space->machine)&1)) );
}

This is a kludge and should be fixed anyway...
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version 0.129u6 (added)
Affected Sets / Systems tetrisp2j
Attached Files
 
Relationships
related to 00055Resolved  tetrisp2: When this game is started, you simply see a black screen. 
has duplicate 03341Closed  tetrisp2j: doesn't work in 32bit build 
Notes
4
User avatar
No.13498
Kale
Developer
Dec 25, 2016, 05:15
bits 8 and 9 are likely to be just h/v-blank bits
User avatar
No.17277
MetalGod
Senior Tester
Dec 15, 2019, 22:16
is this fixed? I'm unable to reproduce it.
User avatar
No.17279
izius
Tester
Dec 18, 2019, 17:34
Just tested a few old versions. This bug occured up to 0.141u1.
In 0.141u2 the clone tetrisp2ja was added, so this was probabily fixed by who added the clone.
User avatar
No.17280
MetalGod
Senior Tester
Dec 18, 2019, 20:40
Tested on debug mode, 30 times in 64 bit version and other 30 times in 32 bit version. The first random issue (hang on initial black screen) never happened.
I also left the game running 4 times for 10 minutes and it never hanged.