The keyboard routine to read a single character without echo returns the
EBCDI code for all normal keys. The code also depends on whether the
keyboard is in uppercase/APL mode or lowercase/uppercase mode (this can
be selected with HOLD shift-down or HOLD shift-up).
Codes that begin with -- are trapped in the keyboard routine and
are not returned.
The top row of codes is for keys pressed together with the CMD key, the
middle row for keys together with the shift key and the bottom row for
the key alone.
CMD-A to CMD-Z returns a code of $01 (1) to $1A (26) much like Ctrl-A
to Ctrl-Z on ASCII keyboards.
1C 1D 1E 1F 20 21 22 23 24 25 75 26 3F 3C 2F 44 47 -- 72 A0 4C 8C 7E AE 6E BE 78 71 60 B8 3E 3B 2F 43 46 -- F1 F2 F3 F4 F5 F6 F7 F8 F9 F0 4E B6 3D 3A 2F 42 45 -- +---+---+---+---+---+---+---+---+---+---+---+---+---+---+ +---+---+---+ +---+ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | x | <-| ->| |ATN| ^ | v | |HLD| +---+---+---+---+---+---+---+---+---+---+---+---+---+---+ +---+---+---+ +---+ 11 17 05 12 14 19 15 09 0F C0 1B A1 2E 37 38 39 9E 6F B4 B1 B3 80 8A 8B B2 9D 5C 8F 5F 2E CC CE EC FC D8 E6 C5 D9 E3 E8 E4 C9 D6 D7 9F 7E 2E F7 F8 F9 29 +---+---+---+---+---+---+---+---+---+---+---+---+-----+ +---+---+---+ +---+ | Q | W | E | R | T | Y | U | I | O | P | | = | EXE | | 7 | 8 | 9 | | / | +---+---+---+---+---+---+---+---+---+---+---+---+-+ | +---+---+---+ +---+ | | +---+ 01 13 04 06 07 08 0A 0B 0C C0 D0 6A 34 35 36 FA B0 8D 8E 6D BA BB AF 7D 90 4D 5D 7C 76 B5 77 B9 C1 E2 C4 C6 C7 C8 D1 D2 D3 AD BD 7B F4 F5 F6 2B +---+---+---+---+---+---+---+---+---+---+---+---+ +---+---+---+ +---+ | A | S | D | F | G | H | J | K | L | [ | ] | # | | 4 | 5 | 6 | | * | +---+---+---+---+---+---+---+---+---+---+---+---+ +---+---+---+ +---+ 1A 18 03 16 02 0E 0D 79 E0 4A 5A 32 32 33 54 9B 9A AA AB AC BC 28 5E 7A B7 50 27 A0 9C 7F E9 E7 C3 E5 C2 D5 D4 6B 4B 61 5B F1 F2 F3 60 +-----+---+---+---+---+---+---+---+---+---+---+---+-----+ +---+---+---+ +---+ |Shift| Z | X | C | V | B | N | M | , | . | / | $ |Shift| | 1 | 2 | 3 | | - | +-----+---+---+---+---+---+---+---+---+---+---+---+-----+ +---+---+---+ +---+ FF 30 DB 55 41 E1 6C 74 40 F0 4B 4E +-------------------------------+ +-------+---+ +---+ | S p a c e | | 0 | . | | + | +-------------------------------+ +-------+---+ +---+