EasyManua.ls Logo

Commodore 128D - Page 271

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...
ELSE
END
ENVELOPE
NOTE:
If
a
graphic
area
is
allocated
or
deallocated
after
a
SAVE,
an
error
occurs.
Because
BASIC
text
is
moved
from
its
original
(SAVEd)
location
when
a
bit
mapped
graphics
area
is
allocated
or
dealloca
ted,
the
original
location
where
the
C128
verified
the
SAVEd
program
changes.
Hence,
VERIFY,
which
performs
byte-to-byte
comparisons,
fails,
even
though
the
program
is
valid.
Make
sure
to
VERIFY
or
DVERIFY
immediately
after
issuing
the
SAVE
command
to
avoid
this
problem.
To
verify
Binary
data,
see
VERIFY
"filenamen,8,1
format,
under
VERIFY
command
description.
EXAMPLES:
DVERIFY
"C128"
Verifies
program
"C128"
on
drive
0,
unit
8.
DVERIFY
"SPRITES",D0,U9
Verifies
program
"SPRITES"
on
drive
0,
device
9.
See
IF/THEN/ELSE
—Define
the
end
of
program-execution
END
When
the
program
encounters
the
END
statement,
it
stops
RUNning
immediately.
The
CON'T
command
can
be
used
to
restart
the pro
gram
at
the
next
statement
(if
any)
following
the
END
statement.
—Define
a
musical
instrument
envelope
ENVELOPE
n[,[atk][,[dec][,[sus][,[rel][,[wf][,pwnnn
where:
n...,
Envelope
number
(0-9)
atk
Attack
rate
(0-15)
dec
Decay
rate
(0-15)
sus
Sustain
(0-15)
rel
Release
rate
(0-15)
wf
Waveform:
0
=
triangle
1
=
sawtooth
2
=
variable
pulse
(square)
3
=
noise
4
=
ring
modulation
pw
Pulse
width
(0-4095)
263
BASIC
7.0
ENCYCLOPEDIA—Basic
Commands
and
Statements

Table of Contents

Other manuals for Commodore 128D

Related product manuals