diff --git a/docs/toolboxref.html b/docs/toolboxref.html index e8070ab..988b373 100644 --- a/docs/toolboxref.html +++ b/docs/toolboxref.html @@ -1234,9 +1234,18 @@ style: toolref

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. +

Parameters
@@ -1252,6 +1261,16 @@ style: toolref + + + + + + + + + + @@ -1292,7 +1311,9 @@ style: toolref
C
-

extern pascal void GTELoadTileSet(tileSetPtr)

+

extern pascal void GTELoadTileSet(start, finish, tileSetPtr)

+

Word start;

+

Word finish;

Pointer tileSetPtr;

previous contents
startWord—index of the first tile to copy
finishWord—terminating index. This tile is not copied.
tileSetPtr