EasyManua.ls Logo

Commodore 1541-II - Saving Programs

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...
Note:
the
"0:"
at
the
start
of
file
names
is
a
holdover
from
the
days
when
all
Commodore
disks
had
two
drives
in
the
same
cabinet.
Although
the
1541
will
normally
default
to
drive
0
(not
having
a drive
1,)
it
is
best
to
specify
the
drive
number
whenever
saving
or
writing
a
file.
This
avoids
potential
confusion
in
DOS
(the
Disk
Operating
System.)
SAVING
PROGRAMS:
BASIC
3.5
Before
you
can
save
a
program
to
diskette,
the
diskette
must
be
formatted,
as
described
earlier.
Saving
to
diskette
is
just
like
saving
to
cassette,
except
that
the
device
number
of
the
disk
drive
is
not
optional.
FORMAT
FOR
THE
DSAVE
COMMAND
DSAVE
"file
name",Ddrive
#,Udevice
#
where
"file
name"
is
any
string
expression
of
up
to
16
characters,
optionally
followed
by
the
drive
number
(the
"D"
parameter,
always
0
on
the
1541),
and
the
device
number
of
the
disk
drive
(the
"U"
parameter).
If
omitted,
the
drive
number
defaults
to 0,
and
the
device
number
to
8.
However,
it
will
not
work
in
copying
programs
that
are
not
in
the
Basic
text
area,
such
as
"DOS
5.1"
for
the
Commodore
64.
To
copy
it
and
similar
machine
language
programs,
you
will
need
the
.S
command
of
the
machine
language
monitor
built
into
the
Commodore
16
and
Plus/4.
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
1541;
"file
name"
is
any
valid
file
name
up
to
14
characters
long
(leaving
2
for
the
drive
number
and
colon);
"device
#"
is
a
two
digit
device
number,
normally
08
on
the
1541
(the
leading
0
is
required);
and
the
addresses
to
be
saved
are
given
in
Hexadecimal
(base
16,)
but
without
a
leading
dollar
sign
($).
Note
that
the
ending
address
listed
must
be
1
location
beyond
the
last
location
to
be
saved.
EXAMPLE:
Here
is
the
required
syntax
to
save
a
copy
of
"DOS
5.1"
S"0:DOS
5.1",08,CC00,CF5A
29

Table of Contents

Related product manuals