Register - Tileset Select

From NerdConsole
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
$029E BR BR BR BR SR SR SR SR
$029F 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]

This register is a part of the Control Page.