#108332 - thegamefreak0134 - Tue Nov 07, 2006 9:19 pm
Having found no way to use sprites from the VRAM_B only, I need to cause my extended rotration background to show up on the mainscreen from bank A.
The code I have to do this is found here:
Now, the subscreen stuff works fine. My problem is that writing to memory addrerss 0x6000000 displays nothing on the screen, whereas writing to memory address 0x6200000 displays stuff on the subscreen like I expected it to.
Am I just totally missing some initialization here? Bank C appears to be working, bank A appears to be working, bank B does nothing. (ie, I can draw an the bottom screen and my sprites show up on the top screen, but the background on the top screen, which is drawn to later in the code, has no effect.)
This really causes grief on my part in many respects. Any help at all (a reply at all would work) would make me excessively happy.
-thegamefreak
_________________
What if the hokey-pokey really is what it's all about?
[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]
The code I have to do this is found here:
Code: |
videoSetMode(MODE_5_2D | DISPLAY_SPR_ACTIVE | DISPLAY_SPR_1D | DISPLAY_BG3_ACTIVE); vramSetBankA(VRAM_A_MAIN_SPRITE); videoSetModeSub(MODE_5_2D | DISPLAY_BG2_ACTIVE); vramSetBankB(VRAM_B_MAIN_BG_0x6000000); vramSetBankC(VRAM_C_SUB_BG_0x6200000); BG3_CR = BG_BMP16_256x256; BG3_XDX = (1<<8); BG3_XDY = 0; BG3_YDX = 0; BG3_YDY = (1<<8); BG3_CY = 0; BG3_CX = 0; ... more stuff for setting up the subscreen. |
Now, the subscreen stuff works fine. My problem is that writing to memory addrerss 0x6000000 displays nothing on the screen, whereas writing to memory address 0x6200000 displays stuff on the subscreen like I expected it to.
Am I just totally missing some initialization here? Bank C appears to be working, bank A appears to be working, bank B does nothing. (ie, I can draw an the bottom screen and my sprites show up on the top screen, but the background on the top screen, which is drawn to later in the code, has no effect.)
This really causes grief on my part in many respects. Any help at all (a reply at all would work) would make me excessively happy.
-thegamefreak
_________________
What if the hokey-pokey really is what it's all about?
[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]