Commands Commands
HGET {sx,sy)-{ex,ey),buffer
Stores arectangle that is on the high-resolution
graphics screen into abuffer previously set up by
the HBUFF command for future use by the HPUT
command.
sx,sy First corner of rectangle
ex,ey Opposite corner of rectangle
buffer Number of buffer
HGET (21 f32)-(28,37) ,1
HLINE (x1,y1)-(x2,y2),c,a
Draws aline on the high-resolution graphics
screen.
(x1,y1) Starting point of line. If omitted the
line starts at the last ending point, or
the center of the screen.
-{x2.y2) Ending point of HLINE.
cDefines color (Required). PSET
selects current foreground color.
PRESET selects current background
color.
aBox action (Optional). If omitted,
BASIC draws aline. If Bis used,
BASIC draws abox, using the
starting and ending points as
opposite corners of the box. If BF is
used, BASIC draws asolid box.
HLINE (22 f33)-(100 f90) ,3,BF
HPAINT (x,y),c1,c2
Paints an area on the high-resolution graphics
screen.
x,y Starting point
dPaint color
c2 Border color
HPAINT (55,66) ,2,3
HPRINT (x,y),message
Prints message on high-resolution graphics
screen.
x,y Starting character position
message String to print
HPRINT (20,12) /'HELLO!"
HPUT (sx,sy)-(ex,ey),b,a
Copies graphics from abuffer to arectangle on
the high-resolution graphics screen.
sx,sy First corner of rectangle
ex,ey Opposite corner of rectangle
bBuffer number
aAction used. Actions include:
PSET, PRESET AND, OR, NOT
HPUT <22,33)-(28,37) ,1 ,PSET
HRESET (x,y)
Resets apoint on the high-resolution graphics
screen to the background color.
HRESET (22,33)
HSCREEN mode
Selects ahigh-resolution graphics screen mode.
Modes 1-4 also clear the high-resolution graphics
screen.
mode Mode number. Mode numbers are:
—Low resolution
1—320 X192, 4-coior
2-320 X192, 16-color
3—640 X192, 2-color
4—640 X192, 4-color
HSCREEN 4
HSET (x,y,c)
Sets point x,y on the high-resolution graphics
screen to Color c. If you omit c, BASIC uses the
foreground color.
HSET (22,33,2)
HSTAT v1,v2,v3,v4
Returns information regarding the high-resolution
text screen cursor to variables v1,v2,v3, and v4.
v1 Character code
v2 Character attribute
v3 Cursor Xcoordinate
v4 Cursor Ycoordinate
HSTAT C,A,X,Y
IF test THEN mELSE 02
Performs atest. If the results are true, the
computer executes the first instruction (#1). If the
results are false, the computer executes the
second instruction (#2).
IF A<N THEN PRINT "A<N" ELSE PRINT "A> =N"