kieranhj / pop-beeb

Prince of Persia port to BBC Master
45 stars 2 forks source link

Crash on level 12 #224

Closed kieranhj closed 6 years ago

kieranhj commented 6 years ago

Reported by David on princed.

Who also kindly grabbed a b-em 2.1a save state file: crash_level_12.zip

Crash report suggests PC=&2559 which is:

.jarabove 2556 A9 00 LDA #&00 2558 8D 56 25 STA &2556 255B A5 45 LDA &45 255D 38 SEC 255E E9 01 SBC #&01 2560 4C E6 14 JMP &14E6

Suggesting a memory scribble?

kieranhj commented 6 years ago

Scribble: value &3B has been written to address &2556 which is an illegal instruction.

kieranhj commented 6 years ago

This is the jarabove memory scribble due to overloaded variable and functon name. Now fixed in v1.1.