Nintendo DMG-01 - Game Boy Console Manual page 123

Manual
Table of Contents

Advertisement

TM
Game Boy
CPU Manual
Black or White with the Window Mask command before
using the following four commands. If you want to
freeze the screen, send palette data with the Attribute
File ATF0-ATF44. In the event you are changing the
screen by sending attribute data and color data at the
same time, use Set SGB Palette Indirect command.
2. "Block" Area Designation Mode ($04)
(other data shown below)
$00 - %00100xxx
xxx = # of packets
$01 - %///xxxxx
xxxxx = # of data sets - One data set is control
code, color palette designation, & the coords.
$02 - %/////xxx
xxx = Control code
000 = don't care
001 = set pal (inside block + surrounding
010 = set pal of surrounding block line to
011 = set pal inside block to 'yy' &
100 = set pal outside the block to 'xx'
101 = set pal inside to 'zz' & outside the
110 = set pal outside the block to 'xx'
111 = set pal inside block tp 'zz' +
by DP
block line) to 'zz' of $03
'yy' of $03
surrounding block line to 'yy'
block to 'xx'
surrounding line to 'yy' + outside block
to 'xx'
4.5. Commands
Page 123

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Game boy

Table of Contents