NDS/NDS Tutorials VramTable
From Dev-Scene
< NDS
Where they can be mapped | libnds Defines | |
---|---|---|
VRAM Bank A (VRAM_A) 128KB |
||
0x06800000 (Unmapped) 0x06800000 (3D texture slot 0) 0x06820000 (3D texture slot 1) 0x06840000 (3D texture slot 2) 0x06860000 (3D texture slot 3) 0x06000000 (Main Background) 0x06020000 (Main Background) 0x06040000 (Main Background) 0x06060000 (Main Background) 0x06400000 (Main Sprite Graphics) 0x06420000 (Main Sprite Graphics) |
VRAM_A_LCD (unmapped) VRAM_A_TEXTURE (maps to slot 0) VRAM_A_TEXTURE_SLOT0 VRAM_A_TEXTURE_SLOT1 VRAM_A_TEXTURE_SLOT2 VRAM_A_TEXTURE_SLOT3 VRAM_A_MAIN_BG (maps to 0x6000000) VRAM_A_MAIN_BG_0x06000000 VRAM_A_MAIN_BG_0x06020000 VRAM_A_MAIN_BG_0x06040000 VRAM_A_MAIN_BG_0x06060000 VRAM_A_MAIN_SPRITE (maps to 0x6400000) VRAM_A_MAIN_SPRITE_0x06400000 VRAM_A_MAIN_SPRITE_0x06420000 |
|
VRAM Bank B (VRAM_B) 128KB |
||
0x06820000 (Unmapped) 0x06800000 (3D texture slot 0) 0x06820000 (3D texture slot 1) 0x06840000 (3D texture slot 2) 0x06860000 (3D texture slot 3) 0x06000000 (Main Background) 0x06020000 (Main Background) 0x06040000 (Main Background) 0x06060000 (Main Background) 0x06400000 (Main Sprite Graphics) 0x06420000 (Main Sprite Graphics) |
VRAM_B_LCD (unmapped) VRAM_B_TEXTURE (maps to slot 1) VRAM_B_TEXTURE_SLOT0 VRAM_B_TEXTURE_SLOT1 VRAM_B_TEXTURE_SLOT2 VRAM_B_TEXTURE_SLOT3 VRAM_B_MAIN_BG (maps to 0x6020000) VRAM_B_MAIN_BG_0x06000000 VRAM_B_MAIN_BG_0x06020000 VRAM_B_MAIN_BG_0x06040000 VRAM_B_MAIN_BG_0x06060000 VRAM_B_MAIN_SPRITE (maps to 0x6420000) VRAM_B_MAIN_SPRITE_0x06400000 VRAM_B_MAIN_SPRITE_0x06420000 |
|
VRAM Bank C (VRAM_C) 128KB |
||
0x06840000 (Unmapped) 0x06800000 (3D texture slot 0) 0x06820000 (3D texture slot 1) 0x06840000 (3D texture slot 2) 0x06860000 (3D texture slot 3) 0x06000000 (Main Background) 0x06020000 (Main Background) 0x06040000 (Main Background) 0x06060000 (Main Background)
0x06200000 (Sub Background) 0x06000000 (ARM7 work memory) 0x06020000 (ARM7 work memory) |
VRAM_C_LCD (Unmapped) VRAM_C_TEXTURE (maps to slot 2) VRAM_C_TEXTURE_SLOT0 VRAM_C_TEXTURE_SLOT1 VRAM_C_TEXTURE_SLOT2 VRAM_C_TEXTURE_SLOT3 VRAM_C_MAIN_BG (maps to 0x6040000) VRAM_C_MAIN_BG_0x06000000 VRAM_C_MAIN_BG_0x06020000 VRAM_C_MAIN_BG_0x06040000 VRAM_C_MAIN_BG_0x06060000 VRAM_C_SUB_BG (maps to 0x6200000) VRAM_C_SUB_BG_0x06200000 VRAM_C_ARM7 VRAM_C_ARM7_0x06000000 VRAM_C_ARM7_0x06020000 |
|
VRAM Bank D (VRAM_D) 128KB |
||
0x06860000 (Unmapped) 0x06800000 (3D texture slot 0) 0x06820000 (3D texture slot 1) 0x06840000 (3D texture slot 2) 0x06860000 (3D texture slot 3) 0x06000000 (Main Background) 0x06020000 (Main Background) 0x06040000 (Main Background) 0x06060000 (Main Background)
0x06600000 (Sub Sprite Graphics)
0x06000000 (ARM7 work memory) 0x06020000 (ARM7 work memory) |
VRAM_D_LCD (Unmapped) VRAM_D_TEXTURE (maps to slot 3) VRAM_D_TEXTURE_SLOT0 VRAM_D_TEXTURE_SLOT1 VRAM_D_TEXTURE_SLOT2 VRAM_D_TEXTURE_SLOT3 VRAM_D_MAIN_BG (maps to 0x6060000) VRAM_D_MAIN_BG_0x06000000 VRAM_D_MAIN_BG_0x06020000 VRAM_D_MAIN_BG_0x06040000 VRAM_D_MAIN_BG_0x06060000
VRAM_D_SUB_SPRITE VRAM_D_ARM7 (maps to 0x6020000) VRAM_D_ARM7_0x06000000 VRAM_D_ARM7_0x06020000 |
|
VRAM Bank E (VRAM_E) 64KB |
||
0x06880000 (Unmapped)
0x06800000 (Extendended Palettes) 0x06800000 (Texture Palettes) 0x06000000 (Main Background) 0x06400000 (Main Sprite Graphics) |
VRAM_E_LCD VRAM_E_TEX_PALETTE VRAM_E_BG_EXT_PALETTE VRAM_E_OBJ_EXT_PALETTE VRAM_E_MAIN_BG VRAM_E_MAIN_SPRITE |
|
VRAM Bank F (VRAM_F) 16KB |
||
0x06890000 (Unmapped)
0x06890000 (Extendended Palettes) 0x06890000 (Texture Palettes) 0x06000000 (Main Background) 0x06004000 (Main Background) 0x06010000 (Main Background) 0x06014000 (Main Background) 0x06400000 (Main Sprite) 0x06404000 (Main Sprite) 0x06410000 (Main Sprite) 0x06414000 (Main sprite) |
VRAM_F_LCD VRAM_F_TEX_PALETTE VRAM_F_BG_EXT_PALETTE VRAM_F_OBJ_EXT_PALETTE VRAM_F_MAIN_BG (maps to 0x6000000) VRAM_F_MAIN_BG_0x06000000 VRAM_F_MAIN_BG_0x06004000 VRAM_F_MAIN_BG_0x06010000 VRAM_F_MAIN_BG_0x06014000 VRAM_F_MAIN_SPRITE (maps to 0x6400000) VRAM_F_MAIN_SPRITE_0x06400000 VRAM_F_MAIN_SPRITE_0x06404000 VRAM_F_MAIN_SPRITE_0x06410000 VRAM_F_MAIN_SPRITE_0x06414000 |
|
VRAM Bank G (VRAM_G) 16KB |
||
0x06894000 (Unmapped) 0x06894000 (Extendended Palettes) 0x06894000 (Texture Palettes) 0x06000000 (Main Background) 0x06020000 (Main Background) 0x06040000 (Main Background) 0x06060000 (Main Background) 0x06400000 (Main Sprite) 0x06404000 (Main Sprite) 0x06410000 (Main Sprite) 0x06414000 (Main sprite) |
VRAM_G_LCD VRAM_G_TEX_PALETTE VRAM_G_BG_EXT_PALETTE VRAM_G_OBJ_EXT_PALETTE VRAM_G_MAIN_BG (maps to 0x6000000) VRAM_G_MAIN_BG_0x06000000 VRAM_G_MAIN_BG_0x06004000 VRAM_G_MAIN_BG_0x06010000 VRAM_G_MAIN_BG_0x06014000 VRAM_G_MAIN_SPRITE (maps to 0x6400000) VRAM_G_MAIN_SPRITE_0x06400000 VRAM_G_MAIN_SPRITE_0x06404000 VRAM_G_MAIN_SPRITE_0x06410000 VRAM_G_MAIN_SPRITE_0x06414000 |
|
VRAM Bank H (VRAM_H) 32KB |
||
0x068980000 (Unmapped)
0x068980000 (Extended Palette)
0x06200000 (Sub Background) |
VRAM_H_LCD
VRAM_H_SUB_BG_EXT_PALETTE
VRAM_H_SUB_BG |
|
VRAM Bank I (VRAM_I) 16KB |
||
0x068A0000 (Unmapped)
0x068A0000 (Extended Palette)
0x06600000 (Sub Sprite)
0x06208000 (Sub Background) |
VRAM_I_LCD VRAM_I_SUB_SPRITE_EXT_PALETTE
VRAM_I_SUB_SPRITE
VRAM_I_SUB_BG |