EasyManua.ls Logo

Commodore 1581 - Save With Replace Command; Verify 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
SAVE
WITH
REPLACE
DSAVE
"@file
name"
[,Ddrive#]
[,Udevice#]
The
actual
procedure
is
this—the
new
version
is
saved
complete
ly,
then
the
old
version
is
scratched
and
its
directory
entry
altered
to
point
to
the
new
version.
Because
it
works
this
way,
there
is
little
danger
a
disaster
such
as
having
the
power
going
off
midway
through
the
process
would
destroy
both
the
old
and
new
copies
of
the
file.
Nothing
happens
to
the
old
copy
until
after
the
new
copy
is
saved
properly.
VERIFY
This
command
makes
a
byte-by-byte
comparison
of
the
program
currently
in
memory
against
a
program
on
diskette.
This
comparison
includes
the
BASIC
line
links,
which
may
be
different
for
different
types
of
memory
configurations.
What
this
means
is
that
a
program
saved
to
disk
on
a
C64
and
reloaded
into
a
C128
wouldn't
verify
properly
because
the
line
links
point
to
different
memory
locations.
If
the
disk
copy
of
the
program
differs
at
all
from
the
copy
in
memory,
a
"VERIFY
ERROR"
will
be
displayed.
This
doesn't
mean
either
copy
is
bad,
but
if
they
were
supposed
to
be
identical,
there
is
a
problem.
FORMAT
FOR THE
DVERIFY
COMMAND
DVERIFY
"file
name"
[,Ddrive#]
[,Udevice#]
The
following
version of
the
command
verifies
a
file
that
was
just
saved:
DVERIFY
"*"
This
command
won't
work
properly
after
SAVE-WITH-REPLACE,
because
the
last
file
used
was
the
one
deleted
and
the
drive
will
try
to
compare
the
deleted
file
to
the
program
in
memory.
No
harm
will
result,
but
"VERIFY
ERROR"
will
always
be
announced.
To
use
DVER
IFY
after
@SAVE,
include
at
least
part
of
the
file
name
that
is
to
be
verified
in
the
pattern.
COPY
The
COPY
command
allows
you
to
make
a
spare
copy
of
any
program
or
file
on
a
diskette.
However,
on
a
single
drive
like
the
1581,
29

Table of Contents

Other manuals for Commodore 1581

Related product manuals