Commodore 128 System Manual page 269

Table of Contents

Advertisement

D0PEN#2, "RECIPES",D1.U9
Open the sequential file number 2 (RECIPES) for a read operation
on device number 9, drive 1.
DOPEN#3,"BOOKS",L128
Open the relative file number 3 (BOOKS) for READ or WRITE on
unit 8 drive 0. Record length is 128 characters.
DRAW
Draw dots, lines and shapes at specified positions on
screen
DRAW [color source],X1,Y1[TO X2, Y2]...
This statement draws individual dots, lines, and shapes. Here are
the parameter values:
Color source
X1,Y1
X2,Y2
Also see the LOCATE command for information on the pixel
cursor
EXAMPLES:
DRAW 1,100, 50
DRAW ,10,10 TO 100,60
DRAW , 10,10 TO 10,60 TO 100,60 TO 10,10
You may omit a parameter but you still must include the comma
that would have followed the unspecified parameter.
DSAVE
Save a BASIC program file to disk
DSAVE "filename" [,Ddrive number] [<ON | ,>Udevice number]
=
0 Bit map background
1 Bit map foreground
2 Multicolor 1 >
3 Multicolor 2>
Starting coordinate, scaled
Ending coordinate, scaled
Draw a dot
Draw a line
GRAPHICS modes
3 and 4
Draw a triangle
17-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

128d

Table of Contents