Commodore 128 Programmer's Reference Manual page 384

Hide thumbs Also See for 128:
Table of Contents

Advertisement

374
COMMODORE 128
0
In these formats:
b" is the memory bank number (0 through 15)
s" is the starting address
e" is the ending address
"s"
EXAMPLE:
BSAVE' 'filename'' ,B2,P3584 TO P4096
Li
This saves the binary file named "filename" from memory bank 2, in the range of
memory between 3584 to 4096 decimal.
The following command saves a BASIC program in either C128 or C64 modes:
^-
SAVE "filename",8
where 8 represents the device number.
jj,
REPLACING A FILE OR PROGRAM
n
When re-saving a program under the same filename, you must use the at sign (@) in the
^
SAVE command format, as follows:
In BASIC 7.0: DSAVE"©program name"
\ I
In BASIC 2.0: SAVEt4@0:program narne",8
The @ symbol tells the computer to store this program in place of the one of the
c
same name. Without this symbol, the disk drive will not allow the new program to be
j
stored. Note that during the replace process, the new program is saved first, then the old
one is automatically deleted and the directory updated. Use VERIFY to make sure you
are saving correctly.
j
VERIFYING A PROGRAM OR FILE
You may want to verify that a program was accurately saved on the disk. The VERIFY
jj
command compares the program in memory with the program on the disk. If the
programs are identical byte for byte, an OK message is displayed.
In BASIC 7.0, use the following:
j j
DVERIFY4'filename"
or
r /
DVERIFY"filename",D0,U9
j ]
The first command above verifies a program using a single disk drive assigned as Unit 8,
and the second command above verifies a program using a single disk drive assigned as
unit 9.
In 2.0 BASIC, use:
VERIFY"filename",8
or
VERIFY"filename",8,l

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents