Sprite Ram Bug - Nintendo DMG-01 - Game Boy Console Manual

Manual
Table of Contents

Advertisement

TM
Game Boy
CPU Manual
Bit4

2.8.3. Sprite RAM Bug

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 xx
dec xx
ldi a,(hl)
ldd a,(hl)
ldi (hl),a
ldd (hl),a
Only sprites 1 & 2 ($FE00 & $FE04) are not affected
by these instructions.
by DP
Palette number
Sprite colors are taken from OBJ1PAL if
this bit is set to 1 and from OBJ0PAL
otherwise.
(xx = bc,de, or hl)
2.8.2. Sprites
Page 27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Game boy

Table of Contents