Nintendo 1504166 Programming Manual - Page 35
Screen Size, Text BG and Rotation/Scaling BG Screen Control BG2 and BG3
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 35 highlights
AGB Programming Manual Rendering Functions 2) Text BG and Rotation/Scaling BG Screen Control (BG2 and BG3) Whether the screen is a text screen or a scaling/rotation screen varies with the BG mode. Address 00Ch 00Eh Register BG2CNT BG3CNT 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 AttributesInitial Value 00 R/W 0000h Mosaic 0: Disable 1: Enable Priority Specification 00: 1st priority 01: 2nd priority 10: 3rd priority 11: 4th priority Character Base Block 0-3 Color Mode 0: 16 colors x 16 palettes 1: 256 colors x 1 palette Screen Base Block 0-31 Area Overflow Processing Flag 0: Transparent display 1: Wraparound display Screen Size BG*CNT [d15-14] Screen Size Allows the screen size for the BG as a whole to be specified. When a value other than the maximum is specified, the remaining VRAM area can be used as a character data area. Refer to the table below and the VRAM Memory Map figure above. Screen Size Setting 00 01 10 11 Text Screen Screen Size 256×256 512×256 256×512 512×512 Screen Data 2 Kbytes 4 Kbytes 4 Kbytes 8 Kbytes Rotation/Scaling Screen Screen Size 128×128 256×256 512×512 1024×1024 Screen Data 256 Bytes 1 Kbyte 4 Kbytes 16 Kbytes ©1999 - 2001 Nintendo of America Inc. 35 D.C.N. AGB-06-0001-002B4