Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAM Bug #192

Open
nnarain opened this issue Dec 10, 2018 · 0 comments
Open

OAM Bug #192

nnarain opened this issue Dec 10, 2018 · 0 comments
Assignees

Comments

@nnarain
Copy link
Owner

nnarain commented Dec 10, 2018

http://bgb.bircd.org/pandocs.htm#spriterambug

There is a flaw in the GameBoy hardware that causes trash to be written to OAM RAM if the following commands are used while their 16-bit content is in the range of $FE00 to $FEFF:
  inc rr        dec rr          ;rr = bc,de, or hl
  ldi a,(hl)    ldd a,(hl)
  ldi (hl),a    ldd (hl),a
Only sprites 1 & 2 ($FE00 & $FE04) are not affected by these instructions.
@nnarain nnarain self-assigned this Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant