Commodore 128 System Manual page 311

Table of Contents

Advertisement

important on the tape before SAVEing (see VERIFY). To give your
program a name simply enclose the chosen name in quotes (or
use a string variable) immediately after typing SAVE. A filename
can be up to 16 characters.
NOTE: When SAVEing to disk you must specify a filename or you
will get a MISSING FILE NAME ERROR.
To specify the device number (e.g. 1 for tape) place a comma
followed by the device number after the closing quote following
the filename.
The final parameter (EOT) follows the device number and is
again separated by a comma. It has no significance when used
with disk and can have one of four values when used with tape.
These options are:
0
Default - no action
1
SAVE so that the relocate function of LOAD does not work,
i.e. the file will always load back at the address from which it
was SAVEd.
2
Write an END OF TAPE marker at the end of the file —
attempts to LOAD beyond the end of a file saved in this way
will generate a FILE NOT FOUND ERROR.
3
SAVEs in non-relocatable format (1) and writes the EOT (2)
NOTE: If you specify the device number or EOT parameter
the filename (and device number) must be included. For
tape this may be a null (" " ). See the following examples.
EXAMPLES:
S A V E "HELLO"
Stores a program on tape, under the name HELLO.
SAVE A$,8
Stores on disk, with the name stored in variable A$.
SAVE "HELLO", 8
Stores on disk, with name HELLO (equivalent to DSAVE
"HELLO" ).
17-69

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents