Nintendo GAME BOY Programming Manual page 149

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

When representing DMG grayscale on SGB, the image can be faithfully represented if 00 of the
SGB palette is set to a light color and 11 to a dark color.
Command: PAL01 (Code: 00h)
Function: Sets the color data of SGB color palettes 0 and 1.
d7
0 0 0
00h
d7
01h
Palette0 Color00 Data LOW 8bit
03h
Palette0 Color01 Data LOW 8bit
05h
Palette0 Color10 Data LOW 8bit
07h
Palette0 Color11 Data LOW 8bit
d7
09h
Palette1 Color01 Data LOW 8bit
0Bh
Palette1 Color10 Data LOW 8bit
0Dh
Palette1 Color11 Data LOW 8bit
Command: PAL23 (Code: 01h)
Function: Sets the color data for SGB color palettes 2 and 3.
d7
0
0 0
00h
d0
0
0 0
0
1
d0
d0
d0
0
1
0 0
1
149
Chapter 6: The Super Game Boy System
Number of packets: 1 h(fixed)
Command code: 00h
d7
02h
Palette0 Color00 Data HIGH 7bit
--
04h
--
Palette0 Color01 Data HIGH 7bit
06h
--
Palette0 Color10 Data HIGH 7bit
08h
--
Palette0 Color11 Data HIGH 7bit
d7
0Ah
Palette1 Color01 Data HIGH 7bit
--
0Ch
Palette1 Color10 Data HIGH 7bit
--
0Eh
--
Palette1 Color11 Data HIGH 7bit
0
0
0
0
0Fh
Number of packets: 1h (fixed)
Command code: 01h
d0
d0
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents