|Draws a portion
of a circle at center point X,Y with Radius starting from
S_Angle to E_Angle. Mode = 0 - Arc only, Mode =1 -
Filled pie section, Mode = 2 - Outlined pie section, Mode >
2 - Error
|Generates a square wave note at
a specific frequency and a length in 100ths of a second.
||BLIT WRITE X,Y,String
|Blits a graphic stored in
String at point X,Y. The string holds the width and
height. Draws using the mode set by MODE
||BLIT COPY Xs,Ys,W,H,Xd,Yd
|Does a direct Blit Read from
point Xs,Ys with a Width W and Height H, and Blit Writes to
|Draws a box from point X,Y with
Width W and Height H. Draws a filled box if Filled is
|Used with SELECT
||CD #stream,"Directory name"
|Changes the current directory
on the specified stream.
|Draws a circle at center point
X,Y with Radius either as an outline or filled if Filled is
||CLEAR [Memory Address]
|Clears all variables.
Sets a new Ramtop if a valid address is given.
|Clears the screen
|Continues execution of a
program after an error, break or STOP
|Copies a file from opened
stream from Source to Destination
||DATA followed by comma separated string and
|Provides a method for storing a
table of string and numeric values.
|Deletes program lines.
|Dimensions an array.
|Draws a line from the last
point plotted to X,Y
|Draws a filled or unfilled
ellipse at center point X,Y with x-radius Rx and y-radius Ry.
Filled if non-zero
|Ends a SELECT CASE series
||EXIT IF condition
|Exits from any loop if
condition is met
|Sends the format command to the
specified stream. For storage devices it formats it.
For serial devices it sets the speed and other parameters,
only for streams already opened, as OPEN # typically does
||FOR variable=Start_value TO End_value [STEP
|Starts a loop and continues
looping as long as the variable does not equal or exceed
||GOSUB number [or variable]
|Calls a subroutine
||GOTO number [or variable]
|Transfers program control to a
specific line number
||IF condition THEN command [ELSE command]
|Executes commands if condition
|Sets the drawing color.
|Retrieves the value from the
stream for a numeric or string variable, and will prompt the
user with the given string if applicable.
|Assigns a value to a string or
numeric variable. Value can be a number or numeric
expression, or a quoted string.
||LIST [#stream] [start][,end]
|Sends a program listing to the
default or given stream. If no start or end line is
given, then the whole program is dumped to the stream,
otherwise only the range given.
||LOAD [#stream,]"filename' [CODE] [address]
|Loads a BASIC program from the
default or specified stream if no "CODE" specification is
passed. Otherwise it loads the file as binary data.
If an address is passed, then the data is loaded at that
address, otherwise it's loaded at the address it was saved
|Locates the cursor or drawing
point to column,row. For graphical streams it moves
the plotting point as row=y and column=x.
|Only works for mass storage
streams. Creates a directory with the given "dirname"
|Sets the drawing mode to the
0 = Overwrite mode.
1 = XOR mode
2 = AND mode
3 = MASK mode (draw only if original pixel is set to the
|Moves a file from one path to
|Performs a system reboot.
If no type is given, it is a warm boot. If type is
used, then the following are the possible values:
0 = Cold
Boot. All memory is cleared and all peripherals reset
to default values, just like at power on.
1 = Warm Boot. All memory below RAMTOP is cleared and
all peripherals set to their default values.
2 = Lukewarm Boot. All memory below RAMTOP is cleared,
but peripherals are not reset.
3 = Peripheral Boot. Only peripherals are reset to
default values, memory and system remains intact.
|identifies the ending portion
of a FOR-NEXT loop by identifying the conditional variable
identified in the FOR command.
||ON ERROR GOTO line
ON ERROR GOSUB line
|GOTO - If an error is
triggered, the execution jumps to an error handler.
- If an error is triggered, the error handler is called and
execution can be returned to the main routine via a RETURN
at the end of the error handler. Execution begins
immediately after the problem statement or line.
||ON value GOTO line[,line etc.]
ON value GOSUB line[,line etc.]
|GOTO - program execution jumps
to the line index indicated by the value. Value is an
expression result or variable value that acts as an index
into the list of line numbers at the end of the statement.
GOSUB - A specific routine is called at the line number
indexed by the expression or variable indicated by "value."
|The method for opening and
initial configuration of a stream. The parameters can
be numeric or string and should be comma separated. It
is up to the driver to determine how to parse.
|Sends an 8 bit value to the I/O
port. Port is identified by a 16 bit value.
|Sets the background color to
|Waits for a keypress
indefinitely if no value given, or for a specific number of
|Sets an 8 bit value to the
specified 24 bit address
|Sets a 16 bit value starting at
the 24 bit address given, in little endian format.
|Sets a 24 bit value starting at
the 24 bit address given, in little endian format.
|Sets a pixel at position x,y
for a graphical screen. Otherwise it prints a solid
square at column,row for text streams.
|Prints either a string or
numeric expression separated by commas or semi-colons.
Commas insert tabs and semi-colons are just dividers.
If no semi-colon or comma ends the statement, then a CR/LF
is sent to the stream as well.
|reads the next value from the
||REM Descriptive text
|Is completely ignored by BASIC
and execution immediately jumps to the next line or
|Sets the READ index at the
beginning of the DATA tree, if no line given, otherwise at
the line given.
|Returns from a routine called
by GOSUB or ON ERROR GOSUB, immediately after the GOSUB call
|Clears all variables and begins
program execution at the beginning or at the line number
given by "line."
||SAVE #stream,"filename" [LINE start]
SAVE #stream,"filename" [CODE start,length]
|Saves a file to the mass
storage device stream. If "CODE" is given, it dumps
memory starting at address "start" with a length of
"length". Otherwise the BASIC program is saved.
If "LINE" is given, BASIC is told to start execution at the
given line number when loaded.
|Part of the SELECT-CASE-ENDSELECT
commands. Sets the conditional value which is either a
variable or expression. It must be numeric though!
|Ends program execution with the
message "STOP Received at Line xxxx". Helpful with
||WHILE (expression result is true)
|Executes the loop only if the
expression is true.
|Indicates the end of the