diff --git a/docs/toolboxref.html b/docs/toolboxref.html index c159bb7..731fc90 100644 --- a/docs/toolboxref.html +++ b/docs/toolboxref.html @@ -1272,6 +1272,37 @@ style: toolref
Word spriteID;
Word vBuffAddr;
++ The sprite descriptor is a subset of the full sprite bitfield. Only the starting Tile Index and + the size bits are used. +
++ When a sprite has a size greater than 8x8, the horizontal tiles are taken from the next tile index + and the vertical tiles are taken from tileID + 32. This is why tile sheets should be saved + with a width of 256 pixels. +
+15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | +
Bits 0-8 | tileIndex | The index of a tile in the current Tile Set that defines the top-left part of the sprite |
Bit 9-10 | Reserved | Must be zero. |
Bits 11-12 | fSpriteSize | Sets the size of the sprite
|
Bit 13-15 | Reserved | Must be zero. |
Word y;
Word vBuffAddr;
+ The sprite descriptor defines the rendering properties of a sprite. +
++ When a sprite has a size greater than 8x8, the horizontal tiles are taken from the next tile index + and the vertical tiles are taken from tileID + 32. This is why tile sheets should be saved + with a width of 256 pixels. +
+15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | +
Bits 0-8 | tileIndex | The index of a tile in the current Tile Set that defines the top-left part of the sprite |
Bit 9 | fSpriteHorzFlip | Flips the sprite horizontally. |
Bit 10 | fSpriteVertFlip | Flips the sprite vertically. |
Bits 11-12 | fSpriteSize | Sets the size of the sprite
|
Bit 13 | fSpriteHide | When set, does not render the sprite. |
Bit 14-15 | Reserved | Must be zero. |
+ Returns information about the current BG0 tile map. +
+ Returns information about the current position and size of the play field. +
+ Sets the coordinate of the upper-left corner of the playfield within the secondary 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 | +|||||||||||||||||||||||||||||||||
← | @@ -2169,13 +2250,19 @@ style: toolref
previous contents | |||||||||||||||||
wordspace | ++ | Word—Space for result | +|||||||||||||||
x | ++ | Word—Local play field horizontal coordinate | +|||||||||||||||
y | ++ | Word—Local play field vertical coordinate | +|||||||||||||||
← | @@ -2212,6 +2314,11 @@ style: toolref|||||||||||||||||
previous contents | |||||||||||||||||
TileID | ++ | Word—Tile ID at the play field coordinates. | +|||||||||||||||
← | @@ -2225,6 +2332,9 @@ style: toolref
previous contents | |||||||||||
tileID | ++ | Word—Tile ID to store into the tile store memory. | +|||||||||
← | @@ -2729,62 +2846,30 @@ 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 GTERefresh()