Nintendo 1504166 Programming Manual - Page 68
d15-12] Color Palette No., See Character Data
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
AGB Programming Manual Rendering Functions [d08-00] X-Coordinate Specifies the x-coordinate of the OBJ on the display screen in the range of 0~511. OBJ Attribute 2 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Character name Priority Specification Relative to BG 00: 1st priority 01: 2nd priority 10: 3rd priority 11: 4th priority Color Palette No. 16 colors x 16 palettes: 0-15 256 colors x 1 palette: disabled [d15-12] Color Palette No. When 16 colors x 16 palette format is specified in the color mode bit, these bits specify 1 of the 16 palettes to apply to the character data. When 256 colors x 1 palette format is specified in the color mode bit, these bits are disabled. [d11-10] Priority Relative to BG Specifies the display priority of the OBJ relative to BG. For information on priority, see section 6.4, Display Priority of OBJ and BG. [d09-00] Character Name Writes the number of the basic character located at the start of the OBJ character data mapped in VRAM. (See section 6.3.2, Character Data Mapping). 16 colors x 16 palettes (color mode=1) Allows selection of 1,024 characters. 256 colors x 1 palette (color mode=0) Allows selection of 512 characters. Bit 0 fixed at 0 in 2-dimensional mapping mode. ©1999 - 2001 Nintendo of America Inc. 68 D.C.N. AGB-06-0001-002B4