Software Created To Operate On Cgb - Nintendo GAME BOY Programming Manual

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

5. SOFTWARE CREATED TO OPERATE ON CGB

As is shown below, CGB and DMG differ slightly in their specifications and operation. When
creating software to operate on CGB, please give appropriate consideration to these differences.
CGB
When objects with different x-
coordinates overlap, the object with
the lowest OBJ NO. is given display
priority.
In CGB mode, BG display CANNOT
be turned off using bit 0 of the LCDC
register (address FF40h).
Chapter 5: Miscellaneous General Information
DMG
When objects with different x-
coordinates overlap, the object with the
smallest x-coordinate is given display
priority.
BG display CAN be turned on and off
using bit 0 of the LCDC register
(address FF40h).
When the value of register WX
(address FF4Bh) is 166, the window is
partially displayed.
When an instruction that register pair
increment is used, if the value of the
register pair is an address that specifies
OAM (FE00h-FE9Fh), OAM may be
destroyed.
131

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents