under the sections concerning AMSDOS and CP/M.
As an example of saving to disc, write a short program into the memory, insert a formatted disc, then type in:
save "example"
After a few seconds, the prompt Ready will appear on the screen, and the program will have been saved onto disc. (If not, check any error message on the screen to establish whether you either forgot to insert your disc into the correct drive, forgot to close the write protect hole, mistyped the command or even forgot to plug in the disc drive(s) and switch on!).
Binary, protected and ASCII text files may be saved onto disc using the normal ,b ,p and ,a suffixes as with cassette saving.
Disc filenames do not require the use of a preceeding exclamation mark ! to suppress reading/writing prompts and software messages on the screen. Any preceeding ! will be removed from the filename and ignored by AMSDOS.
Catalog
Like cassettes, discs can be catalogued, but at much greater speed. After saving the above program, type in:
cat
On the screen you will see:
Drive A: user 0
EXAMPLE.BAS
1K
The filename will be displayed, including any specified or token second field. together with the file length (to the nearest higher kbyte).
Loading From Disc
Programs may be loaded from disc then run, using the commands:
load "filename" run
or they may be run directly using the command:
run "filename"
Note that protected programs may be run directly only.
If you are operating 2 disc drives, you may specify which Drive (A or B), that you require a function to be performed on, by issuing the command a or b before the save, cat, load or run instructions.
AMSTRAD Disc Drive & Interface | Foundation 4.6 |