Palette Value (8 bit colour) Register
From SpecNext Wiki
| Number | TBRegisterNumber::$41 |
|---|---|
| Readable | TBRegisterReadable::Yes |
| Writable | TBRegisterWritable::Yes |
| Short Description | ShortDesc::Use to set/read 8-bit colours of the ULANext palette. |
Bits 7-0 = Eight bit colour for the palette index selected by the {{#ask: TBRegisterNumber::$40 }} ($40).
Format is RRRGGGBB - Note the lowest blue bit of colour (ninth bit) will be set to an OR between bit 1 and bit 0.
After the write, the palette index is auto-incremented to the next index, if the auto-increment is enabled at {{#ask: TBRegisterNumber::$43 }} ($43).
The modified palette remains until a Hard Reset.