Palette Index 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=$40
|Number=$40
|Readable=No
|Readable=Yes
|Writable=Yes
|Writable=Yes
|ShortDesc=Chooses a ULANext palette number to configure.
|ShortDesc=Chooses an ULANext palette index to configure.
}}
}}
Palette indices 0-127 are INK colours. Entries 0-7 are the standard Spectrum INK colours (except full ink colour mode, when all 0-255 indices are INK colour).


Palette numbers from 0-127 are INK colors. Entries 0-7 are the standard Spectrum INK colors.
Palette indices 128-255 are PAPER colours. Entries 128-135 are the standard Spectrum PAPER colours and BORDER colours (even in "full INK" mode).


Palette numbers from 128-255 are PAPER colors. Entries 0-7 are the standard Spectrum PAPER colors and border colors.  
Higher colours can only be used by enabling ULANext mode via {{NextRegNo|$43}}.


Higher colors can only be used by enabling ULANext mode via {{NextRegNo|$43}}.
Layer 2 and Sprite palettes work as "full ink" always, INK/PAPER concept does apply only to Enhanced ULA palette.

Revision as of 21:03, 22 December 2018

Number TBRegisterNumber::$40
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description ShortDesc::Chooses an ULANext palette index to configure.

Palette indices 0-127 are INK colours. Entries 0-7 are the standard Spectrum INK colours (except full ink colour mode, when all 0-255 indices are INK colour).

Palette indices 128-255 are PAPER colours. Entries 128-135 are the standard Spectrum PAPER colours and BORDER colours (even in "full INK" mode).

Higher colours can only be used by enabling ULANext mode via {{#ask: TBRegisterNumber::$43 }} ($43).

Layer 2 and Sprite palettes work as "full ink" always, INK/PAPER concept does apply only to Enhanced ULA palette.