View Single Post
Old 04 February 2021, 15:32   #4
Havie
Registered User
 
Havie's Avatar
 
Join Date: Mar 2012
Location: UK
Posts: 1,894
Quote:
Originally Posted by Daedalus View Post
BPLCON4 is used to select the colour banks used for sprites. Bits 0-3 select the 16-colour bank for odd numbered sprite channels & 16-colour sprites, and bits 4-7 set the bank for even numbered sprite channels. By default, they're both set to bank 1 (to match ECS), so the register will look like %00010001. Bank 2 is colours 32-47, bank 3 is 48-63 and so on.
Thanks.

Are you saying I can have separate palettes for odd and even sprites - I thought they'd need to share the same palette?

And just to be clear, if I do:

Displaycontrols 0,0,0,%00100010

I will set the sprites to use palette entries 32-47?

Would I need to set up an initial 64 colour palette through the Initcopperlist?

And finally - how do you know this stuff? It's not clear in the manual and I couldn't find it on the Internet!
Havie is offline  
 
Page generated in 0.04823 seconds with 11 queries