| Bits | Description |
|---|
| 7:0 | RRRGGGBB |
| 7:1 | Reserved, must be 0 |
| 0 | lsb B
If writing to an L2 palette |
| 7 | 1 for L2 priority colour, 0 for normal.
An L2 priority colour moves L2 above all layers. If you need the same
colour in both priority and normal modes, you will need to have two
different entries with the same colour one with and one without priority. |
Notes:
Two consecutive writes are needed to write the 9 bit colour
1st write:
2nd write:
After two consecutive writes the palette index is auto-incremented if
auto-increment is enabled in nextreg 0x43.
Reads only return the 2nd byte and do not auto-increment.
Writes to nextreg 0x40, 0x41, 0x43 reset to the 1st write.