Nintendo GAME BOY Programming Manual page 60

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual
NAME
ADDRESS
FF47h
BGP
NAME
ADDRESS
OBP0
FF48h
NAME
ADDRESS
FF49h
OBP1
The grayscales (2 bit) for the character dot data are converted by the palette data (BG: register
BGP; OBJ: OBP0 or OBP1) and output to the LCD driver as data representing 4 shades
(including transparent).
NAME
ADDRESS
WY
FF4Ah
0 ≤ WY ≤ 143
With WY = 0, the window is displayed from the top edge of the LCD screen.
NAME
ADDRESS
WX
FF4Bh
7 ≤ WX ≤ 166
With WX = 7, the window is displayed from the left edge of the LCD screen.
Values of 0-6 should not be specified for WX.
BIT
7
6
5
4
BIT
7
6
5
4
BIT
7
6
5
4
BIT
7
6
5
4
4
BIT
7
6
5
3
2
1
0
W
Data for dot data 00
Data for dot data 01
Data for dot data 10
Data for dot data 11
3
2
1
0
W
When value of OAM palette selection flag is
Data for dot data 00
Data for dot data 01
Data for dot data 10
Data for dot data 11
3
2
1
0
W
When value of OAM palette selection flag is
Data for dot data 00
Data for dot data 01
Data for dot data 10
Data for dot data 11
3
2
1
0
3
2
1
0
60
BG Palette Data
OBJ Palette Data 0
0
OBJ Palette Data 1
1
R/W
Window y-coordinate
R/W
Window x-coordinate

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents