EasyManua.ls Logo

Husky Hunter - Hunters Graphics

Husky Hunter
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC PROGRAMMING
SECTION 4,7
4,7. 1
HUNTER'S GRAPHICS
HUNTER supports a graphics display of 240 x 64 pixels. Each
point can be set to either white or black with the appropriate
statement, Entering graphics mode is via the SCREEN statement,
but this may be unnecessary since most of the functions which
operate in graphics mode will automatically invoke the graphics
screen,
The graphics statements in Basic are:-
CHAR
CIRCLE
CLS
LINE
LOCATE
POINT
PRESET
PSET
SCREEN
1 enters graphics mode but also defaults the current
character set to CHARO and clears the display,
The origin of the graphics screen is the top left hand corner,
with the co-ordinates (O,O). So PSET(O,O) will set the corner
pixel black, The origin for the LOCATE function, to determine
the starting point for displaying ASCII characters, is
(1,1) in
the top left hand comer.
Co-ordinates when specified are always absolute, ranging 0-239
for x and 0-63 for y. If two pairs of co-ordinates are
required, then the first pair may be defaulted to the last
plotted position.
The above functions can be made to draw characters or lines in
either white on black or black on white, This is achieved by
appending another parameter after the command. For example, to
print inverse characters of medium size use:-
CHAR 2, 1
The
'1' means inverse.
A detailed description of the above graphics commands can be
found in Part 5, BASIC FUNCTIONS.
NOTE: Graphics mode on the HUNTER does not directly support the
simple cursor manipulation codes, e.g: backspace, line feed,
etc. The operating system generates the required cursor move-
ments,
VER.V09F
PAGE 4 - 15