Nintendo 1504166 Programming Manual - Page 44

Cautions for VRAM], control register.

Page 44 highlights

AGB Programming Manual Rendering Functions [d09-00] Character Name Specify the number of the character that has character base block starting address specified in the BG control register as its starting point. 2) Rotation/Scaling BG Screen The rotation/scaling BG screen consists of 1 byte of screen data per basic character; 256 character types can be specified. The character data must be classified as 256 colors x 1 palette. The color mode specification in the BG control register is disabled for a rotation/scaling screen. 07 06 05 04 03 02 01 00 Character Name [Cautions for VRAM] AGB provides a high degree of freedom in using the BG area of VRAM. Consequently, in managing VRAM, the following points deserve particular attention. 1. There are 2 formats for BG character data (defined by 16 and 256 colors), and these can be used together. 2. The BG character data base block can be selected from among 4 blocks (BG control register). 3. The BG screen data base block can be selected from among 32 blocks (BG control register). 4. The screen size (amount of VRAM used) can be set for each BG (BG control register). 5. Text and rotation/scaling BGs can be present and used together in a BG screen. In managing VRAM, particular care is required in BG mode 1, because text BG screens (which can handle BG character data in both 256 colors x 1 palette and 16 colors x 16 palettes) and rotation/scaling BG screens (which can handle only 256 colors x 1 palette) may be used together. Therefore, the VRAM mapping status should be sufficiently understood when programming. ©1999 - 2001 Nintendo of America Inc. 44 D.C.N. AGB-06-0001-002B4

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

AGB Programming Manual
Rendering Functions
©1999 - 2001 Nintendo of America Inc.
44
D.C.N. AGB-06-0001-002B4
[d09-00]
Character Name
Specify the number of the character that has character base block starting
address specified in the BG control register as its starting point.
2) Rotation/Scaling BG Screen
The rotation/scaling BG screen consists of 1 byte of screen data per basic
character; 256 character types can be specified.
The character data must be classified as 256 colors x 1 palette.
The color mode specification in the BG control register is disabled for a
rotation/scaling screen.
Character Name
07
06
05
04
03
02
01
00
[Cautions for VRAM]
AGB provides a high degree of freedom in using the BG area of VRAM.
Consequently, in managing VRAM, the following points deserve particular
attention.
1.
There are 2 formats for BG character data (defined by 16 and 256
colors), and these can be used together.
2.
The BG character data base block can be selected from among 4
blocks (BG control register).
3.
The BG screen data base block can be selected from among 32
blocks (BG control register).
4.
The screen size (amount of VRAM used) can be set for each BG (BG
control register).
5.
Text and rotation/scaling BGs can be present and used together in a
BG screen.
In managing VRAM, particular care is required in BG mode 1, because text
BG screens (which can handle BG character data in both 256 colors x 1
palette and 16 colors x 16 palettes) and rotation/scaling BG screens
(which can handle only 256 colors x 1 palette) may be used together.
Therefore, the VRAM mapping status should be sufficiently understood
when programming.