AGB Programming Manual
Rendering Functions
©1999 - 2001 Nintendo of America Inc.
56
D.C.N. AGB-06-0001-002B4
6.2.4.2 BG Mode 4 (256 colors, 240X160 dots, 2 frame buffers)
Two frame buffers are allocated in VRAM, making this mode suitable for
full-motion video. Of the total of 32,768 colors, 256 can be displayed
simultaneously over the full screen.
1) Frame 0
0
1
2
3
4
236
237
238
239
0
0h
1h
2h
3h
4h
ECh
EDh
EEh
EFh
1
F0h
F1h
F2h
F3h
F4h
1DCh
1DDh
1DEh
1DFh
2
1E0h
1E1h
1E2h
1E3h
1E4h
2CCh
2CDh
2CEh
2CFh
3
2D0h
2D1h
2D2h
2D3h
2D4h
3BCh
3BDh
3BEh
3BFh
4
3C0h
3C1h
3C2h
3C3h
3C4h
4ACh
4ADh
4AEh
4AFh
156
9240h
9241h
9242h
9243h
9244h
932Ch
932Dh
932Eh
932Fh
157
9330h
9331h
9332h
9333h
9334h
941Ch
941Dh
941Eh
941Fh
158
9420h
9421h
9422h
9423h
9424h
950Ch
950Dh
950Eh
950Fh
159
9510h
9511h
9512h
9513h
9514h
95FCh
95FDh
95FEh
95FFh
VRAM address (+06000000h)
2) Frame 1
0
1
2
3
4
236
237
238
239
0
A000h
A001h
A002h
A003h
A004h
A0ECh
A0EDh
A0EEh
A0EFh
1
A0F0h
A0F1h
A0F2h
A0F3h
A0F4h
A1DCh
A1DDh
A1DEh
A1DFh
2
A1E0h
A1E1h
A1E2h
A1E3h
A1E4h
A2CCh
A2CDh
A2CEh
A2CFh
3
A2D0h
A2D1h
A2D2h
A2D3h
A2D4h
A3BCh
A3BDh
A3BEh
A3BFh
4
A3C0h
A3C1h
A3C2h
A3C3h
A3C4h
A4ACh
A4ADh
A4AEh
A4AFh
156
13240h
13241h
13242h
13243h
13244h
1332Ch
1332Dh
1332Eh
1332Fh
157
13330h
13331h
13332h
13333h
13334h
1341Ch
1341Dh
1341Eh
1341Fh
158
13420h
13421h
13422h
13423h
13424h
1350Ch
1350Dh
1350Eh
1350Fh
159
13510h
13511h
13512h
13513h
13514h
135FCh
135FDh
135FEh
135FFh
VRAM address (+06000000h)