WHDLoad MantisBT - AfterBurner89
View Issue Details
0006420AfterBurner89[All Projects] Generalpublic2024-02-13 12:192024-04-05 18:17
Assigned ToStingRay 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
ChipMem2 MB
FastMem128 MB
WorkbenchOS 3.1
KickROM39 - Kick 3.0
KickSoft40 - Kick 3.1
Summary0006420: Hi there, a couple years ago I reported issue 4290, where the game would freeze
DescriptionGameVersion: english,ntsc,1 disk
SlaveVersion: version 1.4 (19.01.2016)

Hi there,
a couple years ago I reported issue 4290, where the game would freeze with a black screen after "Game Over" before showing the high scores.
That happened in NTSC but not PAL mode. Even though NTSC sems the "correct" setting for this game as it fills the whole screen and background. PAL looks squished and has an empty background-color border in the surplus PAL rasterlines below the action.
I am writing again today because after becoming able to decipher assembly in the meantime, I am pretty sure I found the problem. In the slave source, you're patching in the WaitRaster loop which seems to want to wait for a single frame... I think? In any case, it assumes 303 rasterlines on the screen which is fine for PAL but results in endless loop for NTSC as it only has like 262 raster lines.
I am happy to test my theory once I have understood how to build the slave code but I thought it might be an easy thing for you to fix. Don't know if that's possible but my thought would be to check for PAL/NTSC at the start of WaitRaster and then set either 303 or like 255 raster lines as the waiting period.
Thanks for making this install in the first place, I low-key love this game even though it's a bit janky compared to SEGA consoles. :)
TagsNo tags attached.
Attached Files

2024-04-05 18:17   
I have updated the patch, it is now NTSC compatible. I have replaced the rasterbeam wait with an NTSC compatible version, feel free to check the source. :)

Issue History
2024-02-13 12:19administratorNew Issue
2024-02-13 12:19administratorStatusnew => assigned
2024-02-13 12:19administratorAssigned To => StingRay
2024-04-05 18:17StingRayNote Added: 0013660
2024-04-05 18:17StingRayStatusassigned => resolved
2024-04-05 18:17StingRayResolutionopen => fixed