extende 256 color palettes and the standard palette memory

Post Reply
Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

extende 256 color palettes and the standard palette memory

Post by Tomdev » Thu Mar 12, 2009 7:35 pm

ok maybe a silly question, :oops: 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)

Sylus101
Posts: 179
Joined: Wed Dec 24, 2008 5:08 am

Re: extende 256 color palettes and the standard palette memory

Post by Sylus101 » Fri Mar 13, 2009 2:25 am

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.
-Sylus "Not Stylus..." McFrederickson

Come visit my web site.

Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

Re: extende 256 color palettes and the standard palette memory

Post by Tomdev » Fri Mar 13, 2009 7:25 am

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

WinterMute
Site Admin
Posts: 1859
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: extende 256 color palettes and the standard palette memory

Post by WinterMute » Fri Mar 13, 2009 8:11 am

Yes, both 16 color backgrounds and 16 color sprites read from the standard 256 color palette memory even when extended palettes are enabled.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 75 guests