Instructions | Additional commands:
!POKE a,n pokes a 16 bit number n into locations a and a+1.
!GOTO n is a calculated jump statement. For example !GOTO A*10+10.
!GOSUB n is similar to above.
!KEY n simulates the pressing of function key n from within a program.
!CLR clears the keyboard buffer.
!SCNCLR reverses a text screen.
!LOCATE x,y puts the cursor at position x,y on the screen.
!NEW n produces a cold start if n=0, and warm start if n=1.
!GET a,b makes the keys repeat if a=1, and not if a=0. b sets the delay before keys repeats, and is normally set to three.
!DEFUSR a sets the address for the USR command.
!SOUND a,b,c,d is an all in one sound command where a=volume, b=channel, c=pitch, d=duration.
!OLD will retrieve programs immediately after a NEW command.
Additional reserved variables:
@DATA holds the line number from which the last DATA statement was read.
@KEY holds the value of the last key pressed.
@LINE holds the line number currently being executed, or the one to be executed.
@X holds the value of the current column for printing.
@Y holds the value of the current row for printing.
Additional functions:
%BBBBBBBB interprets an eight bit binary number.
$HHHH interprets a 16 bit hexadecimal number.
&PEEK a will reveal the contents of address a and a+1 as a 16 bit number.
&VAR a returns the address in memory of the variable a.
|
|