Tilemap Control Register

From SpecNext official Wiki
Revision as of 20:41, 31 January 2019 by wiki>Ped7g (Core 2.00.26 changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Number $6B
Readable Yes
Writable Yes
Short Description Controls Tilemap mode.
Bit Function
7 1 to enable the tilemap
6 0 for 40x32, 1 for 80x32
5 1 to eliminate the attribute entry in the tilemap
4 palette select (0 = first Tilemap palette, 1 = second)
3-0 Reserved, must be 0

Bits 7 & 6 enable the tilemap and select resolution.

Bit 5 changes the structure of the tilemap so that it contains only 8-bit tilemap-id entries instead of 16-bit tilemap-id and tile-attribute entries.

If 8-bit tilemap is selected, the tilemap contains only tile numbers and the attributes are taken from Default Tilemap Attribute Register ($6C).

Bit 4 selects one of two tilemap palettes used for final colour lookup.