From ff542c9575e6be4ce74f28c9bd5379a51853fbf9 Mon Sep 17 00:00:00 2001
From: Lucas Scharenbroich
A tile set is an array of (up to) 512 tile definitions and each tile definition is 128 bytes. The tile definition - is comprised of four, 32-byte tiles; a normal tile, its mask, a horizontally flipped versio of the tile and its mask. + is comprised of four, 32-byte tiles; a normal tile, its mask, a horizontally flipped version of the tile and its mask. The first 128 bytes of a tileset must be set to zero.
++ The start and finish parameters define a subset of tiles to be copied into the GTE memory + buffer. This is most commonly used to load a small number of tiles to avoid needing to store a full set of 512 + tiles that are mostly unushed. For eample, loading in 16 tiles can be performed as GTELoadTileSet(0, 17, tilePtr). +
++ This function can also be used to swap out subsets of tiles on the fly. Any tiles that are replaced which may + be on-screen are not automatically refreshed. +
previous contents | ||
start | ++ | Word—index of the first tile to copy | +
finish | ++ | Word—terminating index. This tile is not copied. | +
tileSetPtr | @@ -1292,7 +1311,9 @@ style: toolref |