Video /
Palettes

Menu

Getting Started

System Information

Misc

Palettes in a nutshell

  • There are 4 palettes, two per display.
  • Sprites get one palette, and background layers another.
  • Each palette has 256 halfword entries.
  • Each entry contains 5 bits of red, 5 bits of green, 5 bits of blue, and an unused bit.
  • PALETTE_BG1 is at 0x05000000 (background palette for 2D core A)
  • PALETTE_FG1 is at 0x05000200 (sprite palette for 2D core A)
  • PALETTE_BG2 is at 0x05000400 (background palette for 2D core B)
  • PALETTE_FG2 is at 0x05000600 (sprite palette for 2D core B)

Color structure

1514..109..54..0
padbluegreenred
Recent Changes (All) | Edit SideBar

Page last modified on January 24, 2005, at 01:37 AM
Edit Page | Page History
Everything done on this project is for the sole purpose of writing interoperable software under Sect. 1201 (f) Reverse Engineering exception of the DMCA.
This site is not affiliated with Nintendo in any manner. Nintendo DS © 2004 Nintendo. TM and ® are trademarks of Nintendo.
Powered by PmWiki