Nintendo DMG-01 - Game Boy Console Manual page 124

Manual
Table of Contents

Advertisement

4.5. Commands
$03 - %//xxyyzz
Color Palette Designation
xx = color palette outside surrounded area
yy = color palette on surrounding block line
zz = color palette inside surrounded area
$04 - %///xxxxx
$05 - %///xxxxx
$06 - %///xxxxx
$07 - %///xxxxx
$08-$0d Repeat of $02-$07 data if # of data sets > 1.
If number of packets is 1, set $0e & $0f to $00.
3. "Line" Area Designation Mode ($05)
$00 - %00101xxx
xxx = # packets
$01 - %xxxxxxxx
number of data sets ($1 - $6E), one data set
controls: code, colours palette designation, and
coords.
$02 - %xyyzzzzz
control code 1'st data set
x
= Mode (0 = Horizontal line, 1 = Vertical line)
yy
= Palette number
zzzzz = Line number
One dataset is 1 byte just as $02. If # data sets = 1,
fill with 0's up to $0F.
Page 124
xxxxx = start point H
xxxxx = start point V
xxxxx = end point H
xxxxx = end point V
TM
Game Boy
CPU Manual
V 1.01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Game boy

Table of Contents