There are a number of different file item types that can be stored within a virtual disk.
For example, PRG, SEQ, REL, USR. The main file type we are interested in are PRG,
which are program files that can be loaded and run directly from BASIC.
LOADING AND RUNNING A PROGRAM FROM DISK
If you see a PRG file on a disk that you wish to load (e.g. JOYTEST), then you can
type the following command to load and run the program.
LOAD "JOYTEST",8,1
Not all programs automatically run using the ,1 command. Some need the RUN
command
after
the program has loaded from disk.
Many disks load and run automatically by typing the following command without
needing to see the directory first.
LOAD "*",8,1
This command loads and runs either the first file it finds on the disk OR the most
recently run file (if the disk has been accessed since you launched BASIC in the same
session). Typically, the main program or the main program loader runs using this
command.
Enjoy using your loaded program.
SAVING A PROGRAM TO DISK
To save a BASIC program (e.g. JOYTEST2) to the currently inserted disk, type the
following command:
SAVE "JOYTEST2",8
You can verify that the program on the disk matches the program in memory by typing
the following command immediately afterwards:
VERIFY "JOYTEST2",8
73