diff --git a/docs/toolboxref.html b/docs/toolboxref.html index b90e3b8..6d03460 100644 --- a/docs/toolboxref.html +++ b/docs/toolboxref.html @@ -1014,8 +1014,8 @@ style: toolref
extern pascal void GTESetTile(x, y, tileID)
-Word width;
-Word height;
+Word x;
+Word y;
Word tileID;
+ Sets the coordinate of the upper-left corner of the playfield within the primary background buffer. The coordiate values + are unsigned, so transitioning from 0 to -1 will result in a discontinuous jump in the background position. +
previous contents | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ xpos + | + | Word—Unsigned horizontal position | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ ypos + | + | Word—Unsigned vertical position | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
← | @@ -1101,69 +1116,43 @@ style: toolref
Stack before call | -||
---|---|---|
previous contents | -||
- | ← | -SP | -
Stack after call | -||
---|---|---|
previous contents | -||
- | ← | -SP | -
+ The stack is not affected by this call. There are no input or output parameters. +
extern pascal void GTERender()
+ Loads a tileset into the internal GTE memory buffer. The pointer must point to + tiles that are already in GTE tile format. +
++ 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. + The first 128 bytes of a tileset must be set to zero. +
previous contents | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
tileSetPtr | ++ | Long—pointer to the tile set data. | +|||||||||||||||||||||||||||||||||||||||||||||||||||||
← | @@ -1213,13 +1207,20 @@ style: toolref
previous contents | ||||||||||||||||||||||||||||||||||||||||||||||
spriteID | ++ | Word—sprite descriptor word | +||||||||||||||||||||||||||||||||||||||||||||
vBuffAddr | ++ | Word—Location in the sprite vitual buffer to allocate the stamp. | +||||||||||||||||||||||||||||||||||||||||||||
← | @@ -1269,13 +1280,23 @@ style: toolref
previous contents | |||||||||||||||||||||||||||||||
spriteSlot | ++ | Word—Sprite slot assigned to this new sprite. | +|||||||||||||||||||||||||||||
x | ++ | Word—Signed horizontal sprite position on the playfield. | +|||||||||||||||||||||||||||||
y | ++ | Word—Signed vertical sprite position on the playfield. | +|||||||||||||||||||||||||||||
vBuffAddr | ++ | Word—Address of the stamp to use for this sprite. A stamp can be shared by multiple sprites. | +|||||||||||||||||||||||||||||
← | @@ -1325,13 +1366,18 @@ style: toolref
previous contents | |||||||||||||||||||
spriteSlot | ++ | Word—Slot where the target sprite is located. | +|||||||||||||||||
x | ++ | Word—New horizontal position. | +|||||||||||||||||
y | ++ | Word—New vertical position | +|||||||||||||||||
← | @@ -1381,13 +1442,21 @@ style: toolref
previous contents | |||||||
spriteSlot | ++ | Word—Sprite slot of the target sprite to update. | +|||||
spriteFlags | ++ | Word—A new set of sprite flags. | +|||||
vBuffAddr | ++ | Word—Sprite stamp virtual buffer address. | +|||||
← | @@ -1437,13 +1521,17 @@ style: toolref
previous contents | ||
spriteSlot | ++ | Word—Sprite slot of the target sprite to update. | +
← | @@ -1493,6 +1586,8 @@ style: toolref