View Single Post
Old November 1st, 2007   #12 (permalink)
mudlord
Banned
 
Join Date: Feb 2007
Location: Lost.
Posts: 1,767
Quote:
The GB echo ram bug is clearly visible, though it only affects games which read and write to out of bounds memory.
You can see the bug in Super Mario Land 2 (version 1.0).
# Enter a level previously cleared (Pumpkin Zone 1 is a great place to try this)
# Go down a pipe
# While going down the pipe, press Start then Select to exit the level
# Re-enter the level, mario will pipe down through the floor.
# The visible level becomes the Echo RAM area of memory.
## If emulated correctly, you will get empty space in pumpkin zone 1.
## If emulated incorrectly, you get a screen full of breakable blocks.
VBA versions prior to the fix gave a screen full of breakable blocks, because they made echo ram separate memory instead of a mirror of main memory. (Man, GB programmers would have killed for an extra 8k of ram!)
Fixed VBA versions will behave correctly, and get the screen of empty space.
Thanks for the indepth bug description. I will check this out when I implement re-recording support to VBA-M.

EDIT: Thanks Dwedit, update is now in VBA-M SVN.

EDIT2: Seems, whenever I implement your lines I get a opcode error tho....

EDIT3: Fixed

Last edited by mudlord; November 1st, 2007 at 07:30.. Reason: Automerged Doublepost
mudlord is offline   Reply With Quote