#177599 - PypeBros - Sun Sep 09, 2012 8:07 pm
Hello, all.
I've (at least) reached the point where I'll start add multi-palette support (aka extended palettes) to my game edition tools. I think I've understood most of how VRAM_E bank can be used, but I'm likely to need multi-colors only on *one* of the planes, so using VRAM_E could be some kind of waste here, esp. since there could be some (textured) 3D joining the game later on.
So I was wondering whether one of the 16K VRAM bank could be used as follow:
- slot 0 would provide 16 palettes (offset 0x0000 to 0x1FFF) for BG2
- slot 1 would provide 8 palettes for BG1 (offset 0x2000 to 0x2FFF) and 8 palettes for BG3 (offset 0x3000 to 0x3FFF).
- I'd use the OFS bits of BG1CNT to force it use the same slots as BG3.
- BG0 actually don't need palettes since it's the 3D stuff.
I'm gonna give it a try, but since I might do it wrong, if something has messed with that already, I'd be more than happy to listen, too ;)
Cheers.
_________________
SEDS: Sprite Edition on DS :: modplayer
Last edited by PypeBros on Mon Sep 10, 2012 10:40 am; edited 1 time in total
I've (at least) reached the point where I'll start add multi-palette support (aka extended palettes) to my game edition tools. I think I've understood most of how VRAM_E bank can be used, but I'm likely to need multi-colors only on *one* of the planes, so using VRAM_E could be some kind of waste here, esp. since there could be some (textured) 3D joining the game later on.
So I was wondering whether one of the 16K VRAM bank could be used as follow:
- slot 0 would provide 16 palettes (offset 0x0000 to 0x1FFF) for BG2
- slot 1 would provide 8 palettes for BG1 (offset 0x2000 to 0x2FFF) and 8 palettes for BG3 (offset 0x3000 to 0x3FFF).
- I'd use the OFS bits of BG1CNT to force it use the same slots as BG3.
- BG0 actually don't need palettes since it's the 3D stuff.
I'm gonna give it a try, but since I might do it wrong, if something has messed with that already, I'd be more than happy to listen, too ;)
Cheers.
_________________
SEDS: Sprite Edition on DS :: modplayer
Last edited by PypeBros on Mon Sep 10, 2012 10:40 am; edited 1 time in total