EasyManua.ls Logo

Commodore 128 - Page 271

Commodore 128
448 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...
DVERIFY C128
Verifies program C128on drive 0, unit 8.
DVERITY SPRITES,DO,U9
Verifies program SPRITES on drive 0, device 9.
END
Define the end of program execution.
END
When the program encounters the END statement, it stops
RUNning immediately. The CONT command can be used to
restart the program at the next statement (if any) following the
END statement.
ENVELOPE
Define a musical instrument envelope
ENVELOPE n[,atk] [,dec] [,sus] [,rel] [,wf] [,pw ]
where:
n Envelope number (0-9)
atk Attack rate (0-15)
dec Decay rate (0-15)
sus Sustain rate (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)
A parameter that is not specified will retain its predefined or
currently redefined value. Pulse width applies to the width of the
variable pulse waveform (wf=2) only and is determined by the
formula pwout = pw/40.95, so that pw = 2048 produces a
square wave and values of 0 and 4095 produce constant DC
output. The Commodore 128 has initialized the following 10
envelopes:
17-29

Table of Contents

Other manuals for Commodore 128

Related product manuals