Nintendo GAME BOY Programming Manual page 164

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual
d7
07h
--
08h
d7
09h
* 0Ah - 0Fh should be filled with 00h.
Command: PAL_TRN (Code: 0Bh)
(Data Transfer using VRAM)
Function: Transfers color data to the system color palette.
d7
00h
* The 4 Kbytes of SGB RAM data immediate following the command is handled as system color
palette data and stored in Super NES W-RAM as data for system color palettes 000 – 511.
The format of data storage in SGB RAM is as follows.
--
--
--
--
--
0 1
0 1
1 0
d0
LOW
--
HIGH
d0
Specifies the attribute file (ATF) number
(00h – 2Ch)
0: No change
1: Cancels masking after the data is set.
0: Not specified.
1: The specified attribute file number.
d0
0 1
Number of packets: 1h (fixed)
Command code: 0Bh
164

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents