#41431 - JL - Thu Apr 28, 2005 10:29 am
Hi guys,
I'm trying to get my code to set the sub screen into 512x256 size (or 64x32 tiles, if you will). I'm using mode 0 and I've been trying several settings for SUB_BG0_CR, but it looks as if it always goes to 32x32 tiles each time.
This is my code:
I've tested it on dualis, not on a real NDS yet - maybe that's just it?
JL
I'm trying to get my code to set the sub screen into 512x256 size (or 64x32 tiles, if you will). I'm using mode 0 and I've been trying several settings for SUB_BG0_CR, but it looks as if it always goes to 32x32 tiles each time.
This is my code:
Code: |
videoSetMode(0); //not using the main screen videoSetModeSub(MODE_0_2D | DISPLAY_BG0_ACTIVE); vramSetBankC(VRAM_C_SUB_BG); SUB_BG0_CR = BG_MAP_BASE(29) | WRAPAROUND | BG_RS_64x32 | BG_256_COLOR; |
I've tested it on dualis, not on a real NDS yet - maybe that's just it?
JL