EasyManua.ls Logo

Commodore 1581 - Save Command

Commodore 1581
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FORMAT
FOR THE
SAVE
COMMAND
DSAVE
"file
name"
[,Ddrive#]
[,Udevice#]
This
command
will
not
work
in
copying
programs
that
are
not
written
in
BASIC.
To
copy
these
machine
language
programs,
you
can
use
the
BSAVE
command
or
the
built-in
Monitor
S
command.
FORMAT
FOR
THE
BSAVE
COMMAND
BSAVE
"file
name"
[,Ddrive#]
[,Udevice#]
[Bbank#]
[,Pstarting
address]
[TO
Pending
address
+1]
where
the
usual
options
are
the
same
and
bank#
is
one
of
the
16
banks
of
the
C128.
The
addresses
to
be
saved
are
given
in
decimal.
Note
that
the
ending
address
must
be
1
location
beyond
the.
last
location
to
be
saved.
To
access
a
built-in
monitor,
type
MONITOR.
To
exit
a
monitor,
type
X
alone
on
a
line.
FORMAT
FOR
A
MONITOR
SAVE
S"drive
#:file
name",device
#,starting
address,ending
address
+1
where
"drive
#:"
is
the
drive
number,
0
on
the
1581;
"file
name"
is
any
valid
file
name
up
to
14
characters
long
(16
if
you
leave
outjthe
drive
#
and
the
colon
that
follows
it);
"device
#"
is
a
two
digit
device
number,
normally
08
on
the
1581
(the
leading
0
is
required);
and
the
addresses
to
be
saved
are
given
in
Hexadecimal
(base
16,)
but
without
a
leading
dollar
sign
(for
the
Plus/4).
On
the
C128,
the
addresses
need
not
be
in
Hexidecimal.
Note
that
the
ending
address
listed
must be
1
location
beyond
the
last
location
to
be
saved.
SAVE
WITH
REPLACE
If
a
file
already
exists,
it
can't
be
saved
again
with
the
same
name
because
the
disk
drive
allows
only
one
copy
of
any
given
file
name
per
diskette.
It
is
possible
to
get
around
this
problem
using
the
RENAME
and
SCRATCH
commands
described
later
in this
chapter.
If
all
you
wish
to
do
is
replace
a
program
or
data
file
with
a
revised
version,
another
command
is
more
convenient.
Known
as
SAVE
WITH
RE
PLACE, or
@SAVE
this
option
tells
the
disk
drive
to
replace
any
file
it
finds
in
the
diskette
directory
with
the
same
name,
substituting
the
new
file
for
the
old
version.
28

Table of Contents

Other manuals for Commodore 1581

Related product manuals