Difference between revisions of "Palette Index Register"

From SpecNext official Wiki
Jump to: navigation, search
(Rewording a bit and adding info from web docs.)
(Making the description a bit more detailed.)
Line 9: Line 9:
 
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 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 {{NextRegNo|$43}}.
+
Higher colours can only be used by enabling ULANext mode via {{NextRegNo|$43}}. The split of attribute bits between INK and PAPER values is selected by INK-mask set via {{NextRegNo|$42}}.
  
Layer 2 and Sprite palettes work as "full ink" always, INK/PAPER concept does apply only to Enhanced ULA palette.
+
Layer 2, Sprite and LoRes palettes work as "full ink" always, INK/PAPER concept does apply only to Enhanced ULA palette.

Revision as of 00:27, 7 January 2019

Number $40
Readable Yes
Writable Yes
Short Description 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 Enhanced ULA Control Register ($43). The split of attribute bits between INK and PAPER values is selected by INK-mask set via Enhanced ULA Ink Color Mask ($42).

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