EasyManua.ls Logo

Commodore VIC-20 - Page 25

Commodore VIC-20
308 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
+1*"p
8
LOADs
first
program
from
disk.
LOAD
"AB*'\
8
Loads
first
program
beginning
with
AB.
LOAD
L1HELLO"r
S
Looks
for
a
program
on
device 8
(disk
drive},
LOAD
"71,1
Looks
for
the
first
program
on
tape,
and
LOADs
it
into
the
same
part
of
memory
that
it
came
from.
10
LOAD"NEXT'\
8
Finds
the
program
called
NEXT
on
device
8,
LOADs,
then
RUNs
it.
Because
of
possible
problems
with old
tapes
or
misaligned
recorders,
it
is
possible
that
the
program
will
not
LOAD
correctly.
The
VIC
stores
two
copies
of
the
program
on
the
tape.
If
they
don't
match,
the
message
LOAD
ERROR
is
displayed.
The
program
may
LIST
correctly,
but
probably
won't.
In
any
case,
there
is
most
likely
some
problem,
some
section
of
memory
that
is
not
right,
and
the
program
should
be
re-LOADed.
It
is
wise
to
make
an
extra
copy
of
any
program,
in
case
you
run
into
this
problem
at
some
time.
In
the
case
o1
a
very
bad
LOAD,
some
of
the
important
memory
locations
inside
the
VIC
may
be
changed.
If
you
get
weird
results
after
a
LOAD,
like
the
VIC
not
understanding
normal
BASIC
commands
anymore,
you'll
have
to
turn
the
VIC
off
and
then
on
again.
NEW
Format:
Abbreviation:
Screen
Display:
NEW
None None
NEW
is
used
to
tell
the
VIC
to
erase
a
current
program
from
memory
so a
different
program
can
be
used.
Unless
the
program
is
stored
(on
tape
or
disk),
ft
will
be
lost
unless
it
is
typed
in
again
from
the
beginning.
For
this
reason,
you
should
BE
CAREFUL
when
using
this
command!
Not
clearing
out
an
old
program
before
typing
in
a
new
one
can
result
in
a
confusing
mixing
of
the
two
programs.
NEW
can
also
be
used
as
a
statement
within
a program.
When
this
instruction
is
executed,
the
program
in
memory
Is
erased,
and
the
program
stops.
This
is
not
a
good
programming
technique,
especially
if
you
RUN
the
program
and
it
erases
itself
while
you're
writing
or
debugging
it.
EXAMPLE:
NEW
Clears
the
program
&
variables.
10
NEW
Performs
the
NEW
operation
and
stops
the
program.

Other manuals for Commodore VIC-20

Related product manuals