EasyManua.ls Logo

Commodore 128D - Page 285

Commodore 128D
427 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...
LOAD
—Load
a
program
from
a
peripheral
device
such
as
the
disk
drive
or
Datassette
LOAD
"filename"
[,device
number
[^relocate
flag]]
This
is
the
command
used
to
recall
a
program
stored
on
disk
or
cas
sette
tape.
Here,
the
filename
is
a
program
name
up
to
16
charac
ters
long,
in
quotes
or
a
string
variable.
The
name
must
be
followed
by
a
comma
(outside
the
quotes)
and
a
device
number
to
determine
where
the
program
is
stored
(disk
or
tape).
If
no
number
is
supplied,
the
Commodore
128
assumes
device
number
1
(the
Datassette
tape
recorder).
The
relocate
flag
is
a
number
(0
or
1)
that
determines
where
a
pro
gram
is
loaded
in
memory.
A
relocate
flag
of
0
tells
the
Commodore
128
to
load
the
program
at
the
start
of
the
BASIC
program
area.
A
flag
of
1
tells
the
computer
to
LOAD
from
the
point
where
it
was
SAVEd.
The
default
value
of
the
relocate
flag
is
0.
The
program
parameter
of
1
is
generally
used
when
loading
machine
language
programs.
See
also
the
BLOAD
command.
The
device
most
commonly
used
with
the
LOAD
command
is
the
disk
drive.
This
is
device
number
8,
though
the
DLOAD
command
is
more
convient
to
use
when
working
with
disk.
See
the
DLOAD
com
mand.
If
LOAD
is
typed
with
no
arguments,
followed
by
RETURN,
the
C128
assumes
you
are
loading
from
tape
and
you
are
prompted
to
"PRESS
PLAY
ON
TAPE".
If
you
press
PLAY,
the
Commodore
128
starts
look
ing
for
a
program
on
tape.
When
the
program
is
found,
the
Commo
dore
128
prints
FOUND'1ilename",
where
the
filename
is
the
name
of
the
first
file
which
the
Datassette
finds
on
the
tape.
Press
the
Commodore
key
to
LOAD
the
found
filename,
or
press
the
spacebar
to
keep
searching
on
the
tape.
Once
the
program
is
LOADed,
it
can
be
RUN,
LISTed
or
modified.
277
BASIC
7.0
ENCYCLOPEDIA—Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals