pizzapartytime / Vortex

Build with Bug Fixes of Unreleased Mega Drive game Out of the Vortex
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Crash on first boss (Red Guy) #4

Closed pizzapartytime closed 2 months ago

pizzapartytime commented 2 months ago

from Zenkerdus discord message

Hang around long enough in boss fight and game will crash.

pizzapartytime commented 2 months ago

Investigated on Blast'Em, caught the crash my Address error trap, which means we likely have a misaligned memory read error. Only the most accurate emulators (or real hardware) will crash since emulating it only breaks things like this game. (https://tcrf.net/User:Andlabs/68000_ROM_guide) "Address Error: This gets raised when attempting to make a word or longword access (including fetching an instruction) from an odd address."

pizzapartytime commented 2 months ago

Having a hell of time repo-ing on v0.01 but just got a crash related to hitting 0 lives with Red Guy - BlastEm, rom:v0.00

pizzapartytime commented 2 months ago

The bug is all about dying on 0 and 1 lives, I have track it down to a function that unfortunately might be broken by writing code in other parts of the code :'( because it jumps into a hard coded table (.tt: lea Prises.Speciales-8,a1)