Nintendo DMG-01 Manual - Page 124
Line Area Designation Mode $05
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 124 highlights
4.5. Commands Game BoyTM CPU Manual $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 xxxxx = start point H xxxxx = start point V xxxxx = end point H xxxxx = end point V $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 V 1.01