Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08356 Sound Major Always 20 days ago 18 days ago
Tester harakari View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS MacOS X
Status [?] Confirmed Driver apple2gs.cpp
Version 0.244 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 08356: apple2gs [paperboy]: Sound loop/hang on sound effect
Description Paperboy seems to loop/hang most of the time when playing a sound effect. It continually plays the same sound and loops over and over.
Steps To Reproduce Paperboy 2mg:
https://archive.org/download/mame-sl/mame-sl/apple2gs_flop_clcracked.zip/apple2gs_flop_clcracked%2Fpaperboy.zip

./mame apple2gsr1 -window -flop3 paperboy\ iigs\ \(trex\ crack\).2mg

Press Return to start the game, and in the beginning of the game, move forward a little using the up arrow key, and try to hit the objects (gravestones and table?) by throwing the paper using the Return key. (This is very hard due to the frame rate!)

Hitting the objects will most likely trigger the sound looping. I know this is such a horrendous port of the game but I was curious to see what the issue was and whether it's an emulation issue.
Additional Information I used the MAME debugger and it seems to end up looping because it reads the SOUNDDATA location, which seems to be the Ensoniq data transfer register, and it's (the running program?) expecting the data to be between $7C and $85, otherwise it keeps reading the sound data.

If I set the A register to $80 (do a=$80), it's able to continue program execution (until it freezes again).

I don't know if this is a program bug or bad data is put it into the Ensoniq sound RAM (I just started reading about this so I have very little background).
Github Commit
Flags
Regression Version
Affected Sets / Systems apple2gs [paperboy]
Attached Files
png file icon Screen Shot 2022-06-14 at 4.22.13 PM.png (248,680 bytes) 20 days ago Uploaded by harakari
harakari
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.20321
harakari
Tester
19 days ago
Update: pulled, built and tested on latest master (0.244) - verified issue exists in 0.244