Tandy 1000
Technical Reference Manual
Status Register
The
4-bit "read only" register provides video and light pen
status.
It
is
addressed
by a read operation
at
30A.
(The video array address register
is
not used to
select this port.) The following table gives the register's bit functions:
Bit Status
o Display Inactive
1 Light Pen Trigger Set
2 Light
Pen
Switch Made*
3 Vertical Retrace
Status Register
Bit 0 When bit 0
is
(0), the display
is
active. When
(1),
this indicates video
is
not displayed.
Bit 1 When bit 1
is
"high,"
this indicates that the light pen input has a
positive-going edge, and
has
set
the light
pen
trigger. When this trigger
is
"low,"
during a system power-on,
it
may be cleared by perform-
ing
an
I/O command to address 30B. No specific data
is
required
due to address-activated action.
Bit 2
Bit
2
is
the status of the light pen switch. When bit 2
is
"low,"
the
light pen switch
is
on.
The switch
is
not latched or debounced.
Bit 3 When bit 3 is
"high,"
this indicates that the vertical retrace is active.
56