Global Transparency Colour Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Created page with "{{NextRegister |Number=20 |Readable=Yes |Writable=Yes |ShortDesc=Sets the color treated as transparent when drawing layer 2. }}"
 
m Xalior moved page Global Transparency Register to Global Transparency Colour Register: match formal nextreg.txt name
 
(10 intermediate revisions by 6 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}} except in text mode.

Latest revision as of 17:25, 13 October 2025

Number TBRegisterNumber::$14
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description 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 {{#ask: TBRegisterNumber::$4B }} ($4B) for transparency, 4-bit Tilemap uses {{#ask: TBRegisterNumber::$4C }} ($4C) except in text mode.