Radio Shack TRS-80 Operation Manual page 46

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Computer Graphics
Operation Manual
- - - - - - - - - - T R S - B O
® - - - - - - - - - -
display on the next line. If the end of the screen is
reached, BASICG will continue the display at the beginning
of the screen without scrolling. If there is not enough room
to display at least one character at the current Graphics
Cursor, an Illegal Function Call error will result. When
displaying text in other directions, an attempt to display
text outside of the currently defined screen will cause an
Illegal Function Call
e~ror
to be given.
PSET
Sets Pixel ON (or OFF)
PSET sets a pixel either OFF
(~)
or ON (1), depending on
switch. If switch is not specified, 1 (ON) is used.
The only choice for switch with PSET is
~
and 1. If you
enter any other number, an Illegal Function Call will occur.
Values for
(~)
that are larger than the parameters of
the screen (i.e., greater than 639 for
~
and 239 for
y)
are accepted, but these points are off the screen and
therefore are not PSET.
Note: The only distinction between PRESET and PSET in BASICG
is the default value for switch. The default value for
PRESET is
~,
while the value for PSET is 1.
Examples
l~
A=l
2~
PSET
(5~,5~),A
Turns the pixel located at the specified coordinates ON.
- - - - - - - - - l I a d l O / h a e l l - - - - - - - - -
-44-

Advertisement

Table of Contents
loading

Table of Contents