Commodore 128 Programmer's Reference Manual page 42

Hide thumbs Also See for 128:
Table of Contents

Advertisement

32
COMMODORE 128
Y
Character row (0-24)
string
String to print
reverse
Reverse field flag (0 = off, 1 = on)
EXAMPLE:
10 COLOR 2,3: REM MULTI-COLOR 1 = RED
20 COLOR 3,7: REM MULTI-COLOR 2 = BLUE
30 GRAPHIC 3,1
30 CHAR 0,10,10, "TEXT",0
CIRCLE
Draw circles, ellipses, arcs, etc., at specified positions on the screen
CIRCLE [color source],X,Y[,Xr][,Yr] [,sa][,ea][,angle][,inc]
where:
color source
0 = background color
1 = foreground color
2 = multi-color 1
3 = multi-color 2
X,Y
Center coordinate of the CIRCLE
Xr
X radius (scaled); (default = 0)
Yr
Y radius (sealed default is Xr)
sa
Starting arc angle (default 0 degrees)
ea
Ending arc angle (default 360 degrees)
angle
Rotation is clockwise degrees (default is 0 degrees)
inc
Degrees between segments (default is 2 degrees)
LJ
EXAMPLES:
CIRCLE1, 160,100,65,10
Draws an ellipse.
CIRCLE1, 160,100,65,50
Draws a circle.
Lj
ii
LJ
Li
u

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents