Tinct SWI numbers and flags for version 0.11.
More...
Go to the source code of this file.
Tinct SWI numbers and flags for version 0.11.
Definition in file tinct.h.
◆ alpha_SPRITE_MODE
#define alpha_SPRITE_MODE (os_mode)0x78608051 |
◆ Tinct_AvailableFeatures
#define Tinct_AvailableFeatures 0x57245 |
Returns the features available to the caller by specifying bits in the flag word.
The features available are unique for each mode, although the current version of Tinct supports the same subset of features for all modes.
-> R0 Feature to test for, or 0 for all features <- R0 Features available
Definition at line 101 of file tinct.h.
◆ tinct_BACKGROUND_SHIFT
#define tinct_BACKGROUND_SHIFT 0x08 |
◆ tinct_BILINEAR_FILTER
#define tinct_BILINEAR_FILTER 0x02 /** <-- Perform bi-linear filtering */ |
◆ Tinct_Compress
#define Tinct_Compress 0x57246 |
Compresses an image using a fast algorithm.
Sufficient memory must have been previously allocated for the maximum possible compressed size. This value is equal to 28 + (width * height * 4) * 33 / 32.
-> R0 Source sprite pointer R2 Output data buffer R3 Output bytes available R7 Flag word (currently 0) <- R0 Size of compressed data
Definition at line 115 of file tinct.h.
◆ Tinct_ConvertSprite
#define Tinct_ConvertSprite 0x57244 |
Converts a paletted sprite into its 32bpp equivalent.
Sufficient memory must have previously been allocated for the sprite (44 + width * height * 4). As sprites with 16bpp or 32bpp do not have palettes, conversion cannot be performed on these variants. All sprites must be supplied with a full palette, eg 8bpp must have 256 palette entries.
-> R2 Source sprite pointer R3 Destination sprite pointer
Definition at line 90 of file tinct.h.
◆ Tinct_Decompress
#define Tinct_Decompress 0x57247 |
Decompresses an image previously compressed.
Sufficient memory must have been previously allocated for the decompressed data (44 + width * height * 4) where width and height are available at +0 and +4 of the compressed data respectively.
-> R0 Input data buffer R2 Output data buffer R7 Flag word (currently 0) <- R0 Size of decompressed data
Definition at line 128 of file tinct.h.
◆ tinct_DITHER
#define tinct_DITHER 0x04 /** <-- Perform dithering */ |
◆ tinct_DITHER_INVERTED
#define tinct_DITHER_INVERTED 0x0C /** <-- Perform dithering with inverted pattern */ |
◆ tinct_ERROR_DIFFUSE
#define tinct_ERROR_DIFFUSE 0x08 /** <-- Perform error diffusion */ |
◆ tinct_FILL_HORIZONTALLY
#define tinct_FILL_HORIZONTALLY 0x10 /** <-- Horizontally fill clipping region with image */ |
◆ tinct_FILL_VERTICALLY
#define tinct_FILL_VERTICALLY 0x20 /** <-- Vertically fill clipping region with image */ |
◆ tinct_FORCE_PALETTE_READ
#define tinct_FORCE_PALETTE_READ 0x40 /** <-- Use after a palette change when out of the desktop */ |
◆ tinct_OPAQUE_IMAGE
#define tinct_OPAQUE_IMAGE 0x01 /** <-- Image is opaque, compress further */ |
◆ Tinct_Plot
#define Tinct_Plot 0x57242 |
Plots a sprite at the specified coordinates with a constant 0xff value for the alpha channel, ie without a mask.
-> R2 Sprite pointer R3 X coordinate R4 Y coordinate R7 Flag word
Definition at line 64 of file tinct.h.
◆ Tinct_PlotAlpha
#define Tinct_PlotAlpha 0x57240 |
Plots an alpha-blended sprite at the specified coordinates.
-> R2 Sprite pointer R3 X coordinate R4 Y coordinate R7 Flag word
Definition at line 39 of file tinct.h.
◆ Tinct_PlotScaled
#define Tinct_PlotScaled 0x57243 |
Plots a scaled sprite at the specified coordinates with a constant 0xff value for the alpha channel, ie without a mask.
-> R2 Sprite pointer R3 X coordinate R4 Y coordinate R5 Scaled sprite width R6 Scaled sprite height R7 Flag word
Definition at line 77 of file tinct.h.
◆ Tinct_PlotScaledAlpha
#define Tinct_PlotScaledAlpha 0x57241 |
Plots a scaled alpha-blended sprite at the specified coordinates.
-> R2 Sprite pointer R3 X coordinate R4 Y coordinate R5 Scaled sprite width R6 Scaled sprite height R7 Flag word
Definition at line 52 of file tinct.h.
◆ tinct_READ_SCREEN_BASE
#define tinct_READ_SCREEN_BASE 0x01 /** <-- Use when hardware scrolling */ |
◆ tinct_SPRITE_MODE
#define tinct_SPRITE_MODE (os_mode)0x301680b5 |
◆ tinct_USE_OS_SPRITE_OP
#define tinct_USE_OS_SPRITE_OP 0x80 /** <-- Use when printing */ |