Global Transparency Colour Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Cthutu (talk | contribs)
Updated information about 1-bit tilemaps.
m updated to 78a6ee50
Line 9: Line 9:
This value is 8-bit only, so the transparency is compared only by the MSB bits of the final colour.
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}}.
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.

Revision as of 11:24, 3 November 2024

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.