Category:Artisan BASIC
Contents |
Description
Artisan BASIC is an extension targeted at MSX1 systems with 64Kb of memory and a floppy controller. It extends BASIC functionality in areas of memory access, sprite control, animations, sound player and software bitmap operations.
Instructions (general info)
Artisan BASIC adds 35 new instructions. For details, check the project page at https://github.com/zmajcenic/ARTISAN-BASIC
Note: CALL can be replaced by the character underscore (_). A space is not required after this character. See CALL for more info.
Instructions (ordered per category)
Animation and Sprites
Instruction | Description |
---|---|
_ANIMCHAR | Associates a character with animation definition |
_ANIMDEF | Defines a sequence of animation items |
_ANIMITEMPAT | Defines single animation state based on sprite pattern and color |
_ANIMITEMPTR | Defines single animation state based on pattern data |
_ANIMSPRITE | Associates a sprite with animation definition |
_ANIMSTART | Starts automatic execution of a defined sprite or character animation |
_ANIMSTEP | Manually cycles through a stopped sprite or character animation |
_ANIMSTOP | Stops automatic execution of a defined sprite or character animation |
_AUTOSGAMDEF | Defines automatic sprite group movement and animation between set boundaries |
_AUTOSGAMSTART | Starts automatic sprite group movement and animation |
_AUTOSGAMSTOP | Stop automatic sprite group movement and animation |
_MAXANIMDEFS | Allocates memory buffers for a specified amount of animation definitions |
_MAXANIMITEMS | Allocates memory buffers for a specified amount of animation items |
_MAXANIMSPRS | Allocates memory buffers for a specified amount of sprite or character to animation definition associations |
_MAXAUTOSGAMS | Allocates memory buffers for a specified amount of automatic sprite group movement and animations |
_SGAM | Manual sprite group movement and animation |
_SPRDISABLE | Disables sprite handling system |
_SPRENABLE | Enables sprite handling system |
_SPRGRPMOV | Changes location of a group of sprites |
Debugging
Instruction | Description |
---|---|
_COLL | Collision detection check between a single object and a list of sprites or predefined rectangles |
_GENCAL | Generic call into assembly function with Z80 register definitions |
Graphics
Instruction | Description |
---|---|
_BLIT | Apply monochrome bitmap described with a mask and dat to a memory buffer |
_TILERAM | Copy monochrome bitmap to a memory buffer in a tiled fashion |
_TILEVRM | Copy monochrome bitmap to VRAM in a tiled fashion |
Memory
Instruction | Description |
---|---|
_BOXMEMCPY | Copy memory window from one location in RAM to another |
_BOXMEMVRM | Copy memory window from one location in RAM to another in VRAM |
_FILRAM | Fills memory area in RAM with a specified value |
_FILVRM | Fills memory area in VRAM with a specified value |
_MEMCPY | Copy memory block from one location in RAM to another |
_MEMVRM | Copy memory block from one location in RAM to another in VRAM |
_VRMMEM | Copy memory block from one location in VRAM to another in RAM |
Sound and Music
Instruction | Description |
---|---|
_SNDPLYINI | Initializes the sound player with music and effects data |
_SNDPLYOFF | Stops music and effects |
_SNDPLYON | Starts music |
_SNDSFX | Plays an effect on a specified channel |
Instructions (alphabetic order)
Instruction | Generation | Type |
---|---|---|
CALL ANIMCHAR | MSX1 | Animation and Sprites |
CALL ANIMDEF | MSX1 | Animation and Sprites |
CALL ANIMITEMPAT | MSX1 | Animation and Sprites |
CALL ANIMITEMPTR | MSX1 | Animation and Sprites |
CALL ANIMSPRITE | MSX1 | Animation and Sprites |
CALL ANIMSTART | MSX1 | Animation and Sprites |
CALL ANIMSTEP | MSX1 | Animation and Sprites |
CALL ANIMSTOP | MSX1 | Animation and Sprites |
CALL AUTOSGAMDEF | MSX1 | Animation and Sprites |
CALL AUTOSGAMSTART | MSX1 | Animation and Sprites |
CALL AUTOSGAMSTOP | MSX1 | Animation and Sprites |
CALL BLIT | MSX1 | Graphics |
CALL BOXMEMCPY | MSX1 | Memory |
CALL BOXMEMVRM | MSX1 | Memory |
CALL COLL | MSX1 | Debugging |
CALL FILRAM | MSX1 | Memory |
CALL FILVRM | MSX1 | Memory |
CALL GENCAL | MSX1 | Debugging |
CALL MAXANIMDEFS | MSX1 | Animation and Sprites |
CALL MAXANIMITEMS | MSX1 | Animation and Sprites |
CALL MAXANIMSPRS | MSX1 | Animation and Sprites |
CALL MAXAUTOSGAMS | MSX1 | Animation and Sprites |
CALL MEMCPY | MSX1 | Memory |
CALL MEMVRM | MSX1 | Memory |
CALL SGAM | MSX1 | Animation and Sprites |
CALL SNDPLYINI | MSX1 | Sound and Music |
CALL SNDPLYOFF | MSX1 | Sound and Music |
CALL SNDPLYON | MSX1 | Sound and Music |
CALL SNDSFX | MSX1 | Sound and Music |
CALL SPRDISABLE | MSX1 | Animation and Sprites |
CALL SPRENABLE | MSX1 | Animation and Sprites |
CALL SPRGRPMOV | MSX1 | Animation and Sprites |
CALL TILERAM | MSX1 | Graphics |
CALL TILEVRM | MSX1 | Graphics |
CALL VRMMEM | MSX1 | Memory |
This category currently contains no pages or media.