Palettes

From NeoGeo Development Wiki
Revision as of 08:57, 7 February 2011 by Furrtek (talk | contribs) (1 revision)
Jump to: navigation, search

There are 2 banks of 256 palettes of 16 colors made of 16bit RGB definitions available. Palettes are located at $400000 in the 68k's memory map and is 16kB in size.

Only one bank can be used at a time. They can be switched by using register ???

Color definition: DrgbRRRRGGGGBBBB, D is the Dark bit. RGB are the MSBs of each components, rgb are the LSBs.

Sprite tiles can use any of the 256 palettes, while fix tiles can only use the 16 firsts.

Max colors on screen with RLI tricks: 256*16=4096 out of 2^16=65536.

Palettes are stored in Palette RAM.

Catégorie:Video system