Difference between revisions of "Enhanced ULA Ink Color Mask"

From SpecNext official Wiki
Jump to: navigation, search
(Created page with "{{NextRegister |Number=$42 |Readable=No |Writable=Yes |ShortDesc=Specifies mask to extract ink color from attribute cell value in ULANext mode. }}")
 
(Adding info from web docs.)
Line 1: Line 1:
 
{{NextRegister
 
{{NextRegister
 
|Number=$42
 
|Number=$42
|Readable=No
+
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
|ShortDesc=Specifies mask to extract ink color from attribute cell value in ULANext mode.
+
|ShortDesc=Specifies mask to extract ink colour from attribute cell value in ULANext mode.
 
}}
 
}}
 +
Bits 7-0 = Number of the last ink colour entry in palette (15 after a Reset).
 +
 +
This number can be 1, 3, 7, 15, 31, 63, 127 or 255. The HW behaviour for other values is unpredictable.
 +
 +
The 255 value enables the full ink colour mode and all the the palette entries are inks but the paper will be of the colour at position 128.
 +
 +
Applies only to Enhanced ULA palette. Layer 2 and Sprite palettes work always as "full ink".

Revision as of 22:18, 22 December 2018

Number $42
Readable Yes
Writable Yes
Short Description Specifies mask to extract ink colour from attribute cell value in ULANext mode.

Bits 7-0 = Number of the last ink colour entry in palette (15 after a Reset).

This number can be 1, 3, 7, 15, 31, 63, 127 or 255. The HW behaviour for other values is unpredictable.

The 255 value enables the full ink colour mode and all the the palette entries are inks but the paper will be of the colour at position 128.

Applies only to Enhanced ULA palette. Layer 2 and Sprite palettes work always as "full ink".