#119512 - VRMLGHOST - Fri Feb 23, 2007 10:20 pm
I'm curious if its possible to use E&F for 2 main text backgrounds, and H&I for sub text backgrounds.
My understandings of the background control registers suggests their are 5 bits(32) for addressing into maps and 4 bits(16) for addressing into tiles. and guess therefore that they have to come first before any bitmap(ERBs) backgrounds.
can anyone explain this?
Also in the following code, ive specified VRAM_A_MAIN_BG_0x6060000, does that then mean that BG_BMP_BASE(8) would then point to bank E ?
[/code]
My understandings of the background control registers suggests their are 5 bits(32) for addressing into maps and 4 bits(16) for addressing into tiles. and guess therefore that they have to come first before any bitmap(ERBs) backgrounds.
can anyone explain this?
Also in the following code, ive specified VRAM_A_MAIN_BG_0x6060000, does that then mean that BG_BMP_BASE(8) would then point to bank E ?
Code: |
videoSetMode( MODE_5_2D | DISPLAY_BG0_ACTIVE | DISPLAY_BG1_ACTIVE | DISPLAY_BG2_ACTIVE | DISPLAY_SPR_ACTIVE| DISPLAY_SPR_1D_LAYOUT); vramSetBankA( VRAM_A_MAIN_BG_0x6060000 ); vramSetBankB( VRAM_B_MAIN_SPRITE ); vramSetBankE( VRAM_E_MAIN_BG ); vramSetBankF( VRAM_F_MAIN_BG ); |
[/code]