DOCUMENTATION FOR Pdraw by C. HEILMAN Pdraw is a high resolution graphic screen editor for user and programer alike with pop-up menus and keyboard commands that control over 42 actions. Connect any track ball or joystick to control port number 2. Use a 1541 compatible disk drive and an MPS 801 compatible printer. To Load: LOAD "PDRAW",8,1 then RUN Press the fire button or space bar quickly twice to turn on the menu. --OTHER COMMANDS-- [Run/Stop] - turns menu off or cancels last action. [\] - lists command keys. [Shift-\] - displays 'help statement' for the current choice from the menu. [Shift-Clr] - clears the screen. --CURSOR CONTROL-- Faster ------ + Show cursor ------ / Slower ------ - Cursor size ------ E Draw -------- [F1] Text mode -------- W Erase ------- [F3] Airbrush mode ---- A Switch ------ [F5] Cancel mode ------ [Run/Stop] -----UTILITIES----- Disk access(save/load) --- [F7] Meter set ------ M Disk Directory ----------- = Meter on/off --- . Help --------------------- [Shift-\] Top pad -------- U Set color ---------------- C Bottom pad ----- J Set up ------------------- Pad on/off ----- Z Clear screen ------------- [Shift-Clr] Print ---------- P Quit program ------------- [Shift-Q] ------THE MENU------ more -------- displays second part of menu fast -------- '+' for faster cursor movement slow -------- '-' for slower cursor movement draw -------- (see 'pen' below) select draw mode with [F7] erase ------- (see 'pen' below) select erase mode with [F3] switch ------ (see 'pen' below) select switch mode with [F5] To undo most actions (except fillin) select the action again while in the switch mode. center ------ sets and marks the center of a circle. 'Circle' draws the circle. Keyboard command: * for center; @ for circle. circle ------ set cursor at desired radius and press fire button or '@' to draw. firstline --- sets and marks the beginning position for a line endline ----- draws a line from the starting position to the selected position. newline ----- draws a line, then resets the starting position to the end of the previous line. top box ----- sets top left corner of box open box ---- sets lower right corner of box full box ---- sets lower right corner of a box that will be filled in when drawn. In erase mode 'full box' can be used for area clearing or for clearing the pad. a'brush ----- the 'airbrush' sprays 'ink' on in dots. Control the flow with '+' and '-' for shading, freehand drawing, etc. fillin ------ fills in an area. So as not to fill the wrong part of the drawing, the program looks for openings or breaks and stops filling if any are found. size -------- sets cursor size to 10 pixels. 'E' toggles between large and small. The large cursor is the easiest way to do surgical erasures or fill in holes. pen --------- select this option and hold the 'fire' button down to draw freehand. print ------- prints to Commodore MPS 801 compatible printers. 'P' also prints. [Run/Stop] cancels printing. mtr.tog ----- a pixel meter that can be enabled, zeroed and the origin marked. The meter reads in pixels the horizontal and vertical distance of cursor movement from the origin. Toggle meter off without resetting the origin for faster response speed. Keyboard command: M - meter set; - meter toggle on/off mtr.set ----- see above top pad The scratch pad is a second screen area at any location or bot pad ----- of any size. Define the area by selecting top pad for the pad tog top left corner and bot pad for the lower right corner. A frame appears and the contents are saved to the pad. Toggle the pad on/off with pad tog. If the frame is displayed, the pad can be edited. Turn the pad off then load a new drawing to transfer an image. Keyboard commands: U - top left; J - bottom right Z - toggle on/off top copy Define an area to be copied by setting the upper left bottom copy - corner with top copy and the lower right corner with bottom new copy copy. The area to be copied is then marked in reverse video. The new copy can be identical ('new copy'), expanded horizontally ('x-exp'), expanded vertically ('y-exp'), rotated to the right ('90cw'), or rotated to the left ('90ccw'). Use switch mode to undo if you want to move the copy later. Place the cursor at the position where the copy is to be made and press fire button. Keyboard commands: T - top copy B - bottom copy N - new copy L - x-exp K - y-exp H - 90cw G - 90ccw x-exp y-exp 90cw -------- see above 90ccw words ------- Used to type text on the screen. Position cursor at desired starting position. Use [CTRL-6] and [CTRL-8] to select small or large fonts. Keyboard commands: [RUN/STOP] cancels text mode setup ------- Set up is a hook for programmers to use for their own codes; eg. non-Commodore printer routines. The code must start at $0334 and end with the RTS ($60) instruction. Zero page from $73 to $7B is available. Keyboard command: runs a user subroutine catalog ----- displays disk directory. Use [F7] to load or save. Keyboard command: = displays directory -- SYNOPSIS OF KEYBOARD COMMANDS -- Start line ---------- . Top copy -------- T End line ------------ : Bottom copy ----- B New line ------------ ; New copy -------- N Center -------------- * x-expand -------- L Circle -------------- @ y-expand -------- K Top box ------------- S 90 Left(ccw) ---- G Open box ------------ X 90 Right(cw) ---- H Full box ------------ D Fill in --------- F Point erase --------- [Space] Point plot ---------- [Return] ----- NOTES ----- A. It may be necessary to clear the screen when the program is first activated. B. !! Accidentally selecting 'set up' will crash the program !! C. It is best to make color selections, using [C], when first starting to use the program. Pressing any key will change colors. D. Printing speed is somewhat slow; be patient. E. Using keyboard commands can, at times, be quicker than making choices from the menu using the joystick. LeeM4