EasyManua.ls Logo

Radio Shack TRS-80 X-PAD GT-116 - Page 19

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...
X-Pad
Pen
Status
Signal
Sent to
Computer
Meaning
4
1
2
5
6
8
g
10
12
13
14
15
Pen not
down,
out of range of
Pad
(Pen
out
of proximity)
Pen
down,
oft Pad
Pen
near
Surface
{within
1")
(Pen
proximity
only)
Pen down
on
Display
Area
or
on bottom
margin
(Pen
down
and proximity)
Pen not
within
1"
of X-margin
(left or
right
margin)
X-margin
and Pen
down
Pen
touching
paper on
X-margin (left
or
right
margin)
but Pen not
down
(X-margin
and
proximity)
Pen
down
on X-margin
(left or
right
margin)
(X-margin, Pen
down,
and
proximity)
Pen not
within
1
"
of the
Y-margin
(top
margin)
Y-margin
and Pen
down
Pen
within
1"
of Y-margin
(top
margin)
(Y-margin
and
proximity)
Pen down
on
Y-margin
(top
margin)
(Y-margin
T
Pen
down,
and
proximity)
X-
and
Y-margin
X-
and
Y-margin and Pen
down
Pen
touching
paper in
upper-right
or
upper-left X-Y corner but Pen
not down
(X- and
Y-margin
and
proximity)
Pen
down
in
upper-right
or
upper-left
X-Y corner
(X- and Y-margin,
Pen
down,
and
proximity)
Table
2
Status 1
might
be confusing
("Pen
down, off Pad").
This
Status
means the
tip of the
Pen
is
being
held
down
but
the
Pen
is
not on
the Pad.
Type
this
one
line
program and RUN it:
10
PRINT PEEK(G537SJ
:G0T0 10
The program, which PEEKs
the
memory
address
for Pen
Status,
displays
the
current Pen Status on the far
left
side
of
your
Screen.
With the
program
running:
1. Hold
the
Pen vertically
about
4"
above the center
of
the
Display
Area
(with the
point
of
the Pen down).
A Pen
Status of
("Pen
not ready,
out
of
range
of Pad")
will
be in
effect.
2.
Slowly
move the
Pen
downward
towards
the
Display
Area. When
you
are
about
1"
from the
Surface,
the
Status
changes
to
2
CPen
near
Display
Area"),
3.
Move
the
Pen
onto
the
Surface
and
apply
slight
pressure.
The Pen
Status
changes
to 3 ("Pen down on
Display
Area
or on Bottom Margin").
To
show
you
the Pen
Status
of
the margins,
keep
the
same
one-line
program (10
PR
I
NT
PEEKC65378) :G0T0 10) *
1.
Press
the
Pen down
on
the
center of X-Pad
(reading:
3,
"Pen down on Display
Area
or on Bottom
Margin").
2. From
the
center,
move
the
Pen
diagonally to
the
lower
right corner (reading:
7,
"Pen down on X
margin")
and
press
down,
3.
Then
move
the Pen
vertically
up the right
margin
(reading:
7)
to the upper right
corner
(reading:
15
t
"Pen
down
in
upper
right or
upper
left
X-Y
corner").
Press
down.
4.
Move the
Pen
across the top
margin
(reading:
11,
"Pen
down
on Y
margin")
to the
upper
left corner (reading:
15) and
press
down.
5.
Then move
the
Pen
down
the
left margin
(reading;
7)
to
the
lower
left corner
(reading:
7).
Press down.
6.
Move the
Pen
across
the
bottom
margin
(reading: 3)
to
the lower
right
corner
(reading: 7).
12