BASLOAD is a BASIC tokenizer/compiler that runs natively on the X16.
It loads BASIC programs stored in plain text format on the SD Card, and converts them to runnable BASIC programs stored in RAM.
The purpose of the utility is to make BASIC programming more convenient:
- You may write BASIC code in the editor of your choosing; special bindings exist for X16 Edit
- Line numbers are not used; instead you define labels as targets for GOTO, GOSUB and THEN statements
Code: Select all
LOOP:
PRINT "HELLO WORLD"
GOTO LOOP
Init BASLOAD by loading and running it as a normal BASIC program (LOAD"BASLOAD" and then RUN)
Store the example program on the SD Card in plain text format as "HELLO.BAS".
Type !L and press ENTER. This will start the loader.
Type in the file name "HELLO.BAS" and press ENTER.
The tokenized program should now be loaded into RAM. You can inspect the BASIC code by typing LIST, and start it by typing RUN.
More information and help
Go to https://github.com/stefan-b-jakobsson/basload to get more information and help on using BASLOAD.
#R44