DPW2 GRAPHIC ASSEMBLER

by Robert Glavas

from ZX Computing May 1987



PICASSO



A drawing utility by Robert Glavas.



[I've no idea why the magazine decided to title this program "Picasso", as]

[it bears no relation to the actual title given by the author.        JimG]





Some machine code routines make this stand out from most of the drawing

programs we receive. Included are: a synchronized cursor (interrupt

driven), fast drawing, Kempston / keyboard operation and user-defined grids.



Type in the listing and SAVE it. Run it and make any necessary

corrections then save the final version with SAVE "PICASSO" LINE 1 so

that future loadings autorun.





Menu



The program is menu driven and the options are:



1. EDIT

This is the main drawing screen; you control the cursor either by the

keyboard (the keys are user definable from option 'R') or a Kempston

compatible Joystick and Interface.



The ENTER key is used to switch between modes. The current state is

displayed at the bottom right of the screen and the modes are activated

by pressing the fire button or pressing the selected fire key.



The modes are:



PLOT: Plots a point on the screen at the current cursor position in the

selected INK colour.

DRAW: Draws a line from the last point plotted or previously drawn to,

to the present cursor position.

CIRC: Defines the present cursor position as the centre of a circle,

then use Left/Right to increase or decrease the Radius. Pressing fire

draws the circle or Space exits the routine.

DEL.: Deletes the last thing drawn on the screen.



To return to the menu press the space bar.



2. ALTER GRID

Allows you to specify the grid size.



3. PRINTOUT

Produces a printer copy of either the drawings or the program that will

create it. Tested on ZX compatible printers, ZX LPRINT 3 and KEMPSTON

interfaces.



4. VIEW PROGRAM

Lists the program commands on the screen.



5. SAVE

Saves the picture to tape.



6. LOAD

Loads a picture from tape.



0. NEW

Resets the program.



J. JOYSTICK/KEYBOARD

Changes mode of control.



R. REDEFINE KEYS

Set up the control keys to suit yourself.



7. ALTER TIME DELAY

Specifies the cursor speed.



C. CHANGE COLOUR

Allows you to select INK and PAPER colours.



G. GRID ON/OFF

Toggles the grid facility.



There is a display of the status shown on the menu page which will

remind you of the existing settings.





--

Another Fine Product transcribed by:

Jim Grimwood, Weardale, England (http://www.users.globalnet.co.uk/~jimg/)

--

