Palette Value (8 bit colour) Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
No edit summary
Rewording a bit and adding info from web docs.
Line 1: Line 1:
{{NextRegister
{{NextRegister
|Number=$41
|Number=$41
|Readable=No
|Readable=Yes
|Writable=Yes
|Writable=Yes
|ShortDesc=Used to upload 8-bit colors to the ULANext palette.
|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 {{NextRegNo|$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 {{NextRegNo|$43}}.
The modified palette remains until a Hard Reset.

Revision as of 21:09, 22 December 2018

Next Register Number $41
Readable Yes
Writable Yes
Short Description Use to set/read 8-bit colours of the ULANext palette.

Bits 7-0 = Eight bit colour for the palette index selected by the NextReg:$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 NextReg:$43.

The modified palette remains until a Hard Reset.