Page 1 of 1
extende 256 color palettes and the standard palette memory
Posted: Thu Mar 12, 2009 7:35 pm
by Tomdev
ok maybe a silly question,
but i want to know if it's possible, say I have extended palettes enabled can also use the palettes in the "standard" palette memory( i mean the piece of memory where you can write 16 16color palettes and 1 256 color)
Re: extende 256 color palettes and the standard palette memory
Posted: Fri Mar 13, 2009 2:25 am
by Sylus101
Yes, here's the information on that on gbatek:
http://nocash.emubase.de/gbatek.htm#dsv ... edpalettes
For backgrounds, the regular palette slot ends up serving as palette for a couple of different things (like 8bit bitmap backgrounds) while it appears that for sprites, it's just an extra 16, 16 color palettes.
Re: extende 256 color palettes and the standard palette memory
Posted: Fri Mar 13, 2009 7:25 am
by Tomdev
think i get it, so i can have 16 16 color palettes and 256 color palettes. I only have to set in the Oam which colorformat it is, and if it is 16color it will pick the palette out of the standard memory
Re: extende 256 color palettes and the standard palette memory
Posted: Fri Mar 13, 2009 8:11 am
by WinterMute
Yes, both 16 color backgrounds and 16 color sprites read from the standard 256 color palette memory even when extended palettes are enabled.