80-Bus News

  

March–April 1983, Volume 2, Issue 2











Page 25 of 55











NAS-GRAPHPAC SYSTEM MANUALPage 4

The following chart may help you to understand the physical relationship between graphica co-ordinates.



NAS-GRAPHPAC SYSTEM MANUALPage 5

APPENDIX 1

The following commands are included in NAS-GRAPHPAC. Detailed descriptions on each command are given in the Command Manual. The standard BASIC “SCREEN” statement remains operational and therefore the documentation in the Command Manual relating to the Graphpac “SCREEN” command should de ignored.

GRAPHICS COMMAND SUMMARY

GCLRClear screen of graphic characters
FCONCause FCerr when plotting off the screen
FCOFFPlotting off screen is not trapped
PSET X,YSet bright the specified pixel
PRESET X,YReset dark the specified pixel
STARTAT X,Y
SA X,Y
Position CAP at specified co-ordinate
PENUP
PU
This pen mode causes no action while moving CAP
PENDOWN
PD
Prepare to set pixels following the CAP’s movement
PENFLIP
PF
Prepare to invert pixels
PENERA
PE
Prepare to erase pixels
PENRET
PR
Restore previous CAP co-ordinates
DRAWTO X,YMove CAP to new X,Y
DRAW X,YMove the CAP relative to the current X,Y
PLOT A,DMove the CAP to new X,Y based on Angle, Distance
DOCAPThe pixel at the CAP is set, reset or inverted
RATIO nCorrection factor for CIRCLE and PLOT
CIRCLE R,A1,A2Draw a circle or arc
CAPPrint CAP on the screen
PTEST X,Y:PEEK(4177)Test specified pixel using location 1051 hex.

This is an OCR’d version of the scanned page and likely contains recognition errors.











Page 25 of 55