Video.h
Code: Select all
typedef enum {
VRAM_H_LCD = 0,
VRAM_H_SUB_BG = 1,
VRAM_H_SUB_BG_EXT_PALETTE = 2,
} VRAM_H_TYPE;
Code: Select all
Bank H 0x06898000 0x0689FFFF 32KB
Bank I 0x068A0000 0x068A3FFF 16KB
I wanna map this as LCD since I want to do some per pixel stuff on the sub screen.
Also when I call:
Code: Select all
gluTexLoadPal();
So far this is how I've been using the VRAM.
A = filled by two gltextures at 64 kb each so all of 128 kb is filled.
B = Some textures but still have a lot left.
C = Not used yet (only by consoledemoInit())
D = VRAM_D_SUB_SPRITE (But still lots of stuff free)
E = Unused but I'm not sure if glpalette uses it.
F, G, H, I = not used.
Thanks!