Difference between revisions of "Global Transparency Register"

From SpecNext official Wiki
Jump to: navigation, search
(Updated information about 1-bit tilemaps.)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{NextRegister
 
{{NextRegister
|Number=$20
+
|Number=$14
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
|ShortDesc=Sets the color treated as transparent when drawing layer 2.
+
|ShortDesc=Sets the "transparent" colour for Layer 2, ULA and LoRes pixel data.
 
}}
 
}}
 +
Transparency color value (0xE3 after a reset).
 +
 +
This value is 8-bit only, so the transparency is compared only by the MSB bits of the final colour.
 +
 +
This only affects Layer 2, ULA, LoRes and 1-bit ("text mode") tilemap. Sprites use {{NextRegNo|$4B}} for transparency, 4-bit Tilemap uses {{NextRegNo|$4C}}.

Latest revision as of 16:24, 6 September 2020

Number $14
Readable Yes
Writable Yes
Short Description Sets the "transparent" colour for Layer 2, ULA and LoRes pixel data.

Transparency color value (0xE3 after a reset).

This value is 8-bit only, so the transparency is compared only by the MSB bits of the final colour.

This only affects Layer 2, ULA, LoRes and 1-bit ("text mode") tilemap. Sprites use Sprites Transparency Index Register ($4B) for transparency, 4-bit Tilemap uses Tilemap Transparency Index Register ($4C).