Saving A Program In Memory Onto Disc; Catalog - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

If you have selected the For m a
t A :
option (key f8), you MUST then remember to
remove your system disc from Drive A, and instead insert the disc to be forma tted.
Don't forget - NEVER RISK OVERWRITING YOUR MASTER
CP/M
SYSTEM
DISCS.
Now that we have a formatted blank disc (or two), we can start to manipulate BASIC
programs to and from disc.
Saving a Program in Memory onto Disc
Having typed a program into the computer's memory, save it onto disc by typing in:
s a v e
"f;
Le n a me" [RETURN]
Note that the naming of the program is obligatory.
A filename on disc consists of 2 parts (fields). The first part is obligatory and can
contain up to 8 characters. Letters and numbers may be used but NO spaces or
punctuation marks. This first field usually contains the name of the program.
The second field-is optional. You can use up to 3 characters, but again no spaces or
punctuation. The 2 fields are separated by a dot.
If you do not specify a second field, the system will automatically label it with a token
of its own, such as . BA S for BASIC files or • BIN for binary (machine code) files.
As an example of saving to disc, write a short program into the memory, insert a
formatted disc, then type in:
- save" e x amp Le" [RETURNr
After a few seconds, the prompt Rea d y 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, or mistyped the command.)
Catalog
After saving the above program, type in:
cat
[RETURN]
Foundation Course
Chapter 1 Page 43

Advertisement

Table of Contents
loading

Table of Contents