Here you will find an overview of the various sorts of libraries and modules that encompass the SBTCVM standard library.
This module is used to render vector text on the SBTGA plotter. (mode 30)
see plottertext in demos for a good example.
This is the official SSTNPL module for parsing command line arguments
passed to applications by SBTCVM-DOS's command.txe
see the SBTCVM-DOS source code for examples of its usage.
This is a standard command prompt routine shared by several SSTNPL-based programs that need multi-character command line interfaces.
see shelldemo in demos for a good example.
Other notable uses include the system shell in sbtgsh and SBTCVM-DOS's command shell.
This is a standard decoder for gfxcon's color packart compression method.
see comppack in demos for a good example.
This is a standard decoder for gfxcon's compressed tritmap format. (uses SBTGA plotter mode (mode 30, 31)) the latter module name lacks color-key transparency support but is marginally faster when decoding...
see tritmap in demos for a good example.
This is a standard decoder for gfxcon's 2-color compressed tritmap format. (uses SBTGA plotter mode (mode 30, 31)) more space-efficient than PLRLE, at a severe cost in image colorspace.
see binrle_test
in demos for a good example.
A VERY simple module containing a subroutine that extracts the three triads in a nonet, and places them in 3 separate variables....
see test_gettriads
in demos for usage example.
Counterpart to gettriads
, mergetriads
, as you may suppose, merges 3 triads into a Nonet.
see plotter_gradients
in demos for usage example.
Basic static named string system via SSTNPL macros. Features output support for segment
module, standard TTY, and SBTVDI serial commands.
see string_macros
in demos for usage example.
A fairly flexible 9-trit RGB color adding library. Features special modes for incremental-addition-based gradients.
see plotter_gradients
in demos for usage example.
music playback routine Module for SBTCVM's 4-channel sound chip.
see musicdemo and ternarydreams in demos for good examples.
ternarydreams and ontrain both contain examples of separate music data stored in tas0 files.
Also see counterpart musnsp.nsp
library for assembler namespace constants for music control code data.
Helps time code around SBTGA's plotter framerate (30FPS).
Wraps flock.tas0
into a SSTNPL module, while providing a wait x frames
style function.
see flock_test in roms for a basic test program.
Use inline in a loop of SBTGA Plotter code to 'lock' the code's timing to the plotter's 30FPS framerate. Extra useful if used with a double-buffer scheme using one of SBTGA's secondary graphics buffers.
Standard wrapper routine for the as-yet-unfinished SBTVDI disk system serial shell.
see VDIBOOT in vmsystem/roms for a good example.
Also note some programs use VDI commands/make them available using the SBTVDI serial shell's program mode.
The standard assembler namespace library
Contains constants for ALL used IOBus addresses. used by nearly every program. including SSTNPL-compiled programs.
Contains music control codes and such for musicengine music data files.