From f0110acd846168066e1f7159bb27bf54b57631bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Oct 2022 03:42:50 +0000 Subject: [PATCH 1/2] Bump nokogiri from 1.12.5 to 1.13.9 in /docs Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.5 to 1.13.9. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.5...v1.13.9) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] --- docs/Gemfile.lock | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 09f2155..d9f1111 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -220,17 +220,15 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) + mini_portile2 (2.8.0) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.15.0) multipart-post (2.2.0) - nokogiri (1.13.6-x64-mingw32) - racc (~> 1.4) - nokogiri (1.13.6-x86_64-linux) - racc (~> 1.4) - nokogiri (1.12.5-x86_64-linux) + nokogiri (1.13.9) + mini_portile2 (~> 2.8.0) racc (~> 1.4) octokit (4.24.0) faraday (>= 1, < 3) @@ -270,7 +268,6 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8.2) - unf_ext (0.0.8.2-x64-mingw32) unicode-display_width (1.8.0) wdm (0.1.1) zeitwerk (2.5.4) From 011f5c041991160e4c3b6a63397d3671e8b4e0a4 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Mon, 6 Mar 2023 15:14:22 -0600 Subject: [PATCH 2/2] Doc updates --- docs/toolboxref.html | 118 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 106 insertions(+), 12 deletions(-) diff --git a/docs/toolboxref.html b/docs/toolboxref.html index 988b373..3f80e4c 100644 --- a/docs/toolboxref.html +++ b/docs/toolboxref.html @@ -89,7 +89,11 @@ style: toolref GTECreateSpriteStamp - Creates a sprite stamp from the tile set + Creates a sprite stamp from the tile set + + + GTECompilepriteStamp + Created a compiled sprite from a sprite stamp GTEAddSprite @@ -794,12 +798,12 @@ style: toolref width - Word—Width of the playfield in pixels. Must be even. + Word—Width of the playfield in bytes. Must be even. height - Word—Height of the playfield in pixels. + Word—Height of the playfield in scanlines. @@ -1424,6 +1428,90 @@ style: toolref +
+

$2DXX

+

GTECompileSpriteStamp

+

+ Creates a compiled sprite in a special compilation buffer from an existing sprite stamp. The return value + is an address token that can be passed into the AddSprite function in place of the vBuffAddr parameter as + long as the `SPRITE_COMPILED` flag is set. +

+
+
Parameters
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Stack before call
previous contents
wordspaceWord—Space for result
spriteIdentWord—sprite identifier word
vBuffAddrWord—Location in the sprite vitual buffer.
SP
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Stack after call
previous contents
addrWord—Location in the sprite compilation buffer.
SP
+
+
+
Errors
+

None

+
+
+
C
+

extern pascal Word GTECompileSpriteStamp(spriteIdent, vBuffAddr)

+

Word spriteIdent;

+

Word vBuffAddr;

+
+
+

$10XX

GTEAddSprite

@@ -1451,9 +1539,19 @@ style: toolref previous contents - spriteDescriptor + spriteSlot - Word—Sprite descriptor word that is used to set the status bits. + Word—The slot to assign the sprite to. There are 16 slots and sprites in lower slots are drawn above the sprites in higher slots. + + + spriteFlags + + Word—Sprite flags that define the sprite's properties. + + + vBuffAddr + + Word—Sprite address in the VBUFF space, or a compiled sprite address x @@ -1465,11 +1563,6 @@ style: toolref Word—Signed vertical sprite position on the playfield. - - spriteSlot - - Word—The slot to assign the sprite to. There are 16 slots and sprites in lower slots are drawn above the sprites in higher slots. - @@ -1505,11 +1598,12 @@ style: toolref
C
-

extern pascal void GTEAddSprite(spriteDescriptor, x, y, spriteSlot)

+

extern pascal void GTEAddSprite(spriteSlot, spriteFlags, vBuffAddr, x, y)

+

Word spriteSlot;

Word spriteDescriptor;

+

Word vBuffAddr;

Word x;

Word y;

-

Word spriteSlot;

Sprite Descriptor