Nintendo DMG-01 Manual - Page 119
Super Game Boy commands
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 119 highlights
Game BoyTM CPU Manual 4. Super Game Boy commands 4. Super Game Boy commands 4.1. Foreword Super GameBoy Commands, Extracted by kOOPa, 15-Feb-98 Last updated by: Bowser, 13-June-98 Updates: Block Area mode ($04) control codes updated Line mode ($05) written Divide mode ($06) written 1CHR mode ($07) written A SGB command transfer is 128 bits + a zero bit. The first five bits of the first byte is the command byte. The last 3 bits of the first byte represent the number of 128 bit packages to be sent. Unused bits in a SGB command transfer should be set to 0. Most of the commands listed below only transfer one package. The command bytes below are preceded by the # character to remind you that they have to be shifted left three times before used. 4.2. Palettes There are several different types of palettes in the SGB. One type is the System color palette. It is a virtual palette rather than a hardware palette. The hardware color palette is shown at the bottom of this document and contains what are called the SGB color palettes and also holds the SGB Border palette. As far as SGB onscreen colors are concerned there are only really two palette types: SGB color palettes and by DP Page 119