Nintendo GAME BOY Programming Manual page 158

Hide thumbs Also See for GAME BOY:
Table of Contents

Advertisement

Game Boy Programming Manual
Command: ATTR_DIV (Code: 06h)
Function: Divides the color palette attributes of the screen by the specified coordinates.
d7
0
00h
d7
01h
--
d7
02h
--
* 03h - 0Fh should be filled with 00h.
* See note on ATTR_BLK.
Example:
d7
0
00h
0
1 1
0 0
0 1
Coordinate data
--
--
0
1 1
0 0
0 1
d0
Number of packets: 1h
Command code: 06h
d0
Number of the color palette of the bottom or right division.
Number of the color palette of the top or left division.
Color palette number of the character line on the dividing line.
0: Divide by the H coordinate character line number
(vertical line)
1: Divide by the V coordinate character line number
(horizontal line)
d0
d0
Number of packets transmitted: 1
Command code: 06h
158

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents