80-Bus News

  

March-April 1983, Volume 2, Issue 2











Page 25 of 55











NAS-GRAPHPAC SYSTEM MANUAL

Page

4

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

Y= -32768

X= -B2TGBs ewes

Y AXIS

* . * + *

«

0,0

.

*

Y® +3276 7 cece eeee

X= -32768

X AXIS

2S MS mE a oT oe ee oe oo oe {ee Se mp ee oe oe ee om oe ae a et oe a eo {a me oa me ee or at ate oom oe SOE Sa mS ate a oe a oe es 2 ‘me em or ee om ae ee a oo te Ee oe

a gE me ee a a a

peewee

*

.

Y= -32768 Xe +32’767

ee eeenee Y= 432767

X= +32767

NAS-GRAPHPAC SYSTEM MANUAL

Page 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

GCLR FCON

FCOFF

PSET X,Y PRESET X,Y STARTAT X,Y SA X,Y

PENUP

PU

PENDOWN

PD

PENFLIP

PF

PENERA

PE

PENRET

PR

DRAWTO X,Y DRAW X,Y

PLOT A,D

DOCAP

RATIO n

CIRCLE R,A1,A2 CAP

PTEST X,Y: PEEK(4177)

Clear screen of graphic characters

Cause FCerr when plotting off the screen Plotting off screen is not trapped

Set bright the specified pixel

Reset dark the specified pixel

Position CAP at specified co-ordinate

This pen mode causes no action while moving CAP Prepare to set pixels following the CAP’s movement Prepare to invert pixels

Prepare to erase pixels

Restore previous CAP co-ordinates

Move CAP to new X,Y

Move the CAP relative to the current X,Y

Move the CAP to new X,Y based on Angle, Distance The pixel at the CAP is set, reset or inverted Correction factor for CIRCLE and PLOT

Draw a circle or are

Print CAP on the screen

Test specified pixel using location 1051 hex.

25


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











Page 25 of 55