EasyManua.ls Logo

Commodore 128 - Page 294

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...
EXAMPLE 1:
10 COLOR 0,1:COLOR 1,2:COLOR 2,5:COLOR 3,7
20 GRAPHIC 3,1 multicolor graphics
30 CIRCLE 1,80,100,30 draw circle in color source 1
40 CIRCLE 3,80,100,35 draw circle in color source 3
50 BOX 2,80,100,90,110,45,1 draw filled box in color source 2
60 PAINT 3,70,100,0 paint inner circle in color source 3 bounded
only by color source 3
EXAMPLE 2:
As example 1 but change line 60 to:
60 PAINT 3,70,100,1 paint inner circle bounded by non
background color source
EXAMPLE 3:
As example 2 but add lines 70 and 80:
70 COLOR 2,8 change color source to yellow
80 PAINT 2,90,110,1 Attempt to repaint the box fails because
color source in PAINT and at (90,110) are the same (2).
PLAY
Defines and plays musical notes and elements
PLAY [Vn] [On] [Tn] [Un] [Xn] [elements] [...]
where:
Vn = Voice (n=1 -3)
On = Octave (n=0-6)
Tn = Tune Envelope (n=0-9)
0 = piano
1 = accordion
2 = calliope Default envelope
3 = drum Settings (See
4 = flute ENVELOPE command)
5 = guitar
6 = harpsichord
7 = organ
8 = trumpet
9 = xylophone
17-52

Table of Contents

Other manuals for Commodore 128

Related product manuals