EasyManua.ls Logo

Radio Shack TRS-80 X-PAD GT-116 - 4; Its a Bird, Its a Plane; No Its... X-Pad!; This Doesnt Look Like Kansas Anymore, Cursor!

Radio Shack TRS-80 X-PAD GT-116
65 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...
4/ It's
a
Bird,
It's
a
Plane;
No
It's
.
.
.
X-Pad!
'11
be
There are
11
types of
programming
functions we
r
discussing in this manual:
Display data
Set a point
Draw
a line
Draw
a box
Display
the
Cursor
"Free-form" drawing
Finding the length
Finding the area
Drawing
a circle
Painting
Compiling a
Menu
Each of
these
functions
requires a separate program
which you can type in
and
save on cassette. While the
X-Pad can't leap tall buildings in
a
single
bound, its
programs are easy and quick to
use
(but not quite as
fast
as
a
speeding
bullet!).
We've gone through a few programs with you and perhaps
you've seen some programming trends (using GOSUBs,
PEEKing memory addresses, using SCREEN, etc
J.
We've also shown you how to draw points, lines, boxes,
and display data. Next, we're going to show you how to
display the Cursor.
This
Doesn't Look
Like
Kansas
Anymore, Cursor!
The
X-Pad's Cursor
appears
on
the Screen as
a small
blinking dot. The following Cursor program is especially
fun (and useful!) to use because it works by reading
the
location of the Pen and displaying its
equivalent
position
on the Computer Screen.
If the Pen is within about
6"
of the Writing Surface,
the
15