Nintendo GAME BOY Programming Manual page 152

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual
Command Code: ATTR_BLK (Code: 04h)
Function: Applies the specified color palette attributes to areas inside and outside the square.
d7
00h
d7
01h
--
d7
02h
--
Control Codes
000
001
010
011
100
101
110
111
The color palette attributes of areas not specified are not changed.
0 0
1 0
0
--
--
--
--
--
--
No control occurs.
Applies the attributes specified by d1 and d0 of 03h only to the area within the
square (including the CHR border).
Applies the color palette attributes specified by d3 and d2 of 03h only on the
square CHR border.
Applies the color palette attributes specified by d1 and d0 of 03h only to the area
within the square, and applies the color palette attributes specified by d3 and d2
of 03h only to the border of the square.
Applies the attributes specified by d5 and d4 of 03h only to the area outside the
square (including the CHR border).
Applies the color palette attributes specified by d1 and d0 of 03h to the area
within the square, and applies the color palette attributes specified by d5 and d4
of 03h to the area outside of the CHR border. (CHR border is unchanged.)
Applies the color palette attributes specified by d5 and d4 of 03h only to the area
outside of the square, and applies the color palette attributes specified by d3
and d2 of 03h to the CHR border .
Applies the specified color palette attributes to the area inside the square, to the
CHR border line, and to the area outside the CHR border .
d0
Number of packets: 1h – 7h
Command code: 04h
d0
Number of data groups: 1h- 12h (max)
(A single group consists of a control code,
color palette specification, and coordinates.)
d0
Control Code
Controls the attribute area according to the data in 03h.
152

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents