Register - Tileset Select

From NerdConsole
Revision as of 14:18, 15 January 2024 by NerdOfEpic (talk | contribs) (Created page with "To allow for rapid switching of tile data, there are multiple tilesets for both background and sprite tile tables. The tileset select register allows control over which tileset is being used for rendering the screen and which one is being used for writing data to by the CPU. This allows the update of a tileset without the effect being visible to the user until the tileset is switched to be the active one being rendered from. Tilesets cannot be switched mid-frame durin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To allow for rapid switching of tile data, there are multiple tilesets for both background and sprite tile tables. The tileset select register allows control over which tileset is being used for rendering the screen and which one is being used for writing data to by the CPU. This allows the update of a tileset without the effect being visible to the user until the tileset is switched to be the active one being rendered from. Tilesets cannot be switched mid-frame during render.

Bit 7 6 5 4 3 2 1 0
Byte 0 BR BR BR BR SR SR SR SR
Byte 1 BW BW BW BW SW SW SW SW

Key

  • BR - Background Render Tileset [0-15]
  • SR - Sprite Render Tileset [0-15]
  • BW - Background Write Tileset [0-15]
  • SW - Sprite Write Tileset [0-15]