KEYBOARDIOCB
(-~
Hex
Displacement Length Form Description
0
Binary Defines the device
assigned
to
the 10CB:
Hex 04
- Keyboard
("
1 Binary Specifies subdevice:
Hex 00
Not
used
for
this device
Hex
80
Communications request
("
2
Binary
I/O
codes:
X'Ol'
-
Read
3
Binary
Displacement in buffer
of
initial cursor position:
Hex
DO-Hex
3F
for
BASIC
Hex
DO-Hex
7F
for
APL
For communications and diagnostics, this byte contains
the 5100 internal code
for
the key
pressed.
For
APL,
this byte might contain the current cursor position.
(
4-5
2 Address
Buffer start
address
6-7 2
Binary
Not
used.
8
Binary
Used
to
pass
information back
to
the interpreter when one
of
the
function
keys (CMD
with
numeric), scroll
up
key,
or
scroll down key
is
pressed.
(Function keys
are
not
supported
by
APL.)
Hex 80
Scroll up key
Hex
40
Scroll
down
key
Hex 20
EXECUTE key
(
Hex
OX
Function key
(X
= 0-9)
/'
,
9
Binary
Hex 80 - Scroll
inhibit.
A-B
2 Address Address
of
keyword table.
CoD
2
Binary
Return code:
()
X'OOOO'
- Successful completion
E-"
4
Not
used.
12-13
2
Address Current buffer pointer (BASIC
only).
(~
Language
Support
6-19