Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Drawing Commands:
- PLOT X Y
- Plots a point at X Y. Sets Graphic Cursor to X Y
- DRAWTO X Y
- Draws a line from the current Graphics Cursor to X Y. Sets Graphic Cursor to X Y.
- LINE X1 Y1 X2 Y2
- Draws a line from X1 Y1 to X2 Y2. Sets Graphic Cursor to X2 Y2.
- CIRCLE X Y R
- Draws a Circle with radius R around X Y. Moves Graphic Cursor to X+R,Y
- ELLIP X Y R1 R2
- Draws an Ellipse with horizontal radius R1 and vertical radius R2 around X Y. Moves Graphic Cursor to X+R1,Y
- COLOR C
- Sets the current drawing color to Brush C. (See Brush). If Brush is greater than the number of brushes the system supports, then the color is set to C MOD HighestBrushSupported. (So if systems supports 3 brushes, Color 3 will set the Brush to Brush 0)
- CLEAR
- Clears screen. Resets colors back to default
- BRUSH N C
- Sets Brush N to color C. Note these use the following colors, not system colors. (If a Brush Number is greater than the number of Brushes the system supports, it will be ignored)
- 0 BLACK
- 1 RED
- 2 ORANGE
- 3 YELLOW
- 4 GREEN
- 5 BLUE
- 6 INDIGO
- 7 VIOLET
- 8 WHITE
- PIC H V D
- Clears the screen, resets the colors back to default. Sets the Canvas size to HxV. D specifies how the draw mode. (0=TOPLEFT,1=CENTER,2=STRETCH)
- ARC X Y S E R
- Arc draws an arc. Note the angle specified are bitangles for lack of a better word. 0-255 corresponds to angles (0-360). So that 0 = 0 degrees, 64 = 90 degrees,
- 128 = 180 degrees, 192 = 270 degrees.
- Draws an arc starting with angle S, through angle E with radius R, centered around X Y.
- Graphic cursor is moved depending on angle.
- EARC X Y S E R1 R2
- EArc draws an elliptical arc. Note the angle specified are bitangles for lack of a better word. 0-255 corresponds to angles (0-360). So that 0 = 0 degrees, 64 = 90 degrees, 128 = 180 degrees, 192 = 270 degrees.
- Draws an elliptical arc starting with angle S, through angle E with horizontal radius R1 and vertical radius R2, centered around X Y.
- Graphic cursor is moved depending on angle.
- Immediate Commands:
- RUN
- Executes the drawing program.
- LIST [ST][FN]
- Lists the current drawing program. If a start line is specified, it will just List the corresponding line number. If both Start Line and End Line is specified, it will list all lines between ST and FN.
- SAVE FILE
- Saves the current drawing program. The FILE should be consistent with the system naming conventions. (NOTE: Do not put quotes around filespec!!)
- LOAD FILE
- Load a drawing program. The FILE should be consistent with the system naming conventions. (NOTE: Do not put quotes around filespec!!)
- NEW
- Clears current program from memory.
- COPY FILE
- Similar to Save, but saves the program as a text file. The FILE should be consistent with the system naming conventions. (NOTE: Do not put quotes around filespec!!)
- PASTE FILE
- Similar to Load, but loads the program as a text file (see copy). The FILE should be consistent with the system naming conventions. (NOTE: Do not put quotes around filespec!!)
- Entering Programs:
- Programs lines are entered using line numbers. This may seem archaic in this day and age, but line numbers provides an easy solution to adding, editing, and deleting lines from the program.
- To edit a line, just re-enter the line with the same line number. (In the Atari version you can use the cursor keys to move up and modify lines easily)
- To delete a line, just enter the line with the line number only. (This is exactly the same way BASIC works, so none of this should be new)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement