Display Using Earlier Dmg Software (Dmg Mode); Revision History - Nintendo GAME BOY Programming Manual

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual

2.5 Display Using Earlier DMG Software (DMG mode)

When earlier DMG software is used, coloring is performed automatically by the system using
registers BGP, 0BP0, and 0BP1. However, the display uses 3 palettes, 1 for BG, with 4 colors,
and 2 for OBJ, each with 3 colors (excluding transparent; maximum of 10 colors in 1 screen).
1. BG Display
Colors specified in BG color palette No. 0 are displayed by the dot data (2 bits) whose grayscales
are specified by register BGP.
2. OBJ Display
Colors specified in OBJ color palettes No. 0 and No. 1 are displayed by the dot data (2 bits)
whose grayscales are specified by registers OBP0 and OBP1.
The CGB hardware automatically selects the display color according to the color palette pre-
registered in the CGB (cannot be changed by a program). However, when turning on power to
the CGB, the player can select from a combination of the 12 colors registered in the unit. This
function is available only in DMB mode.
76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents