drhelius / Gearcoleco

ColecoVision emulator for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
62 stars 15 forks source link

Space Panic graphics corruption #34

Closed DasGroobinCat closed 7 months ago

DasGroobinCat commented 8 months ago

In Space Panic the graphics can become corrupted after the 1st level. The top right corner of the blue border, yellow oxygen level, entire bottom blue border, and number of men disappear. Looking at the VDP viewer shows the patterns used for these elements turn all black when loading the next level.

Happens almost every time, though I've had this bug trigger on the 2nd or 3rd level on rare occasions.
Gearcoleco 1.0.1 on Android Retroarch and Gearcoleco 1.0.0 on Windows 10.

SpacePanic

drhelius commented 8 months ago

Thanks for this thorough report!

drhelius commented 7 months ago

Fixed! A timing issue with the VBLANK interrupt triggered it in the middle of $1FC4 BIOS call and resulted in bad address being used to load sprite data.