EasyManua.ls Logo

Commodore 1541-II - Initializing

Commodore 1541-II
104 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...
files,
with
loss
of
all
their
contents
when
other
files
are
added.
Unless
specifically
instructed
otherwise,
never
collect
a
diskette
containing
direct
access
files.
(Note:
these
are
not
the
same
as
the
relative
files
described
in
Chapter
6.
Collect
may
be
used
on
relative
files
without
difficulty.)
FORMAT
FOR
THE
COLLECT
COMMAND
COLLECT
Ddrive
#,Udevice
#
where
"D"
is
the
drive
number
(always
0
on
the
1541,)
and
"U"
the
device
number.
As
usual,
if
omitted
they
default
to
drive
0
and
device
8
respectively.
EXAMPLE:
COLLECT
DO
INITIALIZING
One
command
that
should
not
often
be
needed
on
the
1541,
but
is
still
of
occasional
value
is
Initialize.
On
the
1541,
and
nearly
all
other
Commodore
drives,
this
function
is
performed
automatically,
whenever
a
new
diskette
is
inserted.
(The
optical'
write-protect
switch
is
used
to
sense
when
a
diskette
is
changed.
>'
The
result
of
an
Initialize,
whether
forced
by
a
command,
or
done
automatically
by
the
disk,
is
a
re-reading
of
the
current
diskette's
BAM
(Block
Availability
Map)
into
a
disk
buffer.
This
information
must,
of
course,
always
be
correct
in
order
for
the
disk
to
store
new
files
properly.
However,
since
the
chore
is
handled
automatically,
the
only
time
you'd
need
to
use
the
command
is
if
something
happened
to
make
the
information
in
the
drive
buffers
unreliable.
Even
so,
you
may
use
the
command
for
reassurance,
as often
as
you
like,
so
long
as
you
close
all
your
files
except
for
the
command
channel
first.
FORMAT
FOR
THE
INITIALIZE
COMMAND
EXAMPLE:
PRINT#15,ttINITIALIZEdrive
#"
PRINT#
15,"INITIALIZE
0"
or
it
may
be
abbreviated
to
PKINT#15,''Idrive
#"
PRINT#15,t<I0"
where
the
command
channel
is
assumed
to
be
opened by
file
15,
and
"drive
#"
is
0
on
the
1541.
40

Table of Contents

Related product manuals