Nintendo DMG-01 Manual - Page 27
Sprite RAM Bug
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 27 highlights
Game BoyTM CPU Manual 2.8.2. Sprites Bit4 Palette number Sprite colors are taken from OBJ1PAL if this bit is set to 1 and from OBJ0PAL otherwise. 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 (xx = 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. by DP Page 27
Game Boy
TM
CPU Manual
2.8.2. Sprites
Bit4
Palette number
Sprite colors are taken from OBJ1PAL if
this bit is set to 1 and from OBJ0PAL
otherwise.
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
(xx = bc,de, or hl)
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
Page 27