Difference between revisions of "Z80:Scan Codes"
From Learn @ Cemetech
Jump to navigationJump to search (Initial automated import) |
KermMartian (talk | contribs) |
||
Line 1: | Line 1: | ||
− | Scan codes for direct hardware input. Horizontal values are the scan code and vertical values are the group codes. To activate a group, set the bit to '0'. Note that although you can activate multiple groups at a time, you won't be able to distinguish between scan codes returned as keys from one group or another group. Inactive group keys will not be sent at all. To learn more about direct input, see this [[Z80:Direct | + | Scan codes for direct hardware input. Horizontal values are the scan code and vertical values are the group codes. To activate a group, set the bit to '0'. Note that although you can activate multiple groups at a time, you won't be able to distinguish between scan codes returned as keys from one group or another group. Inactive group keys will not be sent at all. To learn more about direct input, see this [[Z80:Direct Input/Output|page]]. |
Ex: %11100111 would activate both groups %11101111 and %11110111. %00000000 would activate all groups. | Ex: %11100111 would activate both groups %11101111 and %11110111. %00000000 would activate all groups. |
Latest revision as of 07:49, 6 February 2016
Scan codes for direct hardware input. Horizontal values are the scan code and vertical values are the group codes. To activate a group, set the bit to '0'. Note that although you can activate multiple groups at a time, you won't be able to distinguish between scan codes returned as keys from one group or another group. Inactive group keys will not be sent at all. To learn more about direct input, see this page.
Ex: %11100111 would activate both groups %11101111 and %11110111. %00000000 would activate all groups.
Binary
11111110 | 11111101 | 11111011 | 11110111 | 111011111 | 11011111 | 10111111 | 01111111 | |
---|---|---|---|---|---|---|---|---|
11111110 | DOWN | LEFT | RIGHT | UP !! !! !! !! | ||||
11111101 | ENTER | + | - | × | ÷ | ^ | CLEAR !! | |
11111011 | (-) | 3 | 6 | 9 | ( | TAN | VARS !! | |
11110111 | . | 2 | 5 | 8 | ) | COS | PRGM | STAT |
11101111 | 0 | 1 | 4 | 7 | , | SIN | APPS | X, T, θ, n |
11011111 !! | STO | LN | LOG | X^^2^^ | X^^-1^^ | MATH | ALPHA | |
10111111 | GRAPH | TRACE | ZOOM | WINDOW | Y= | 2ND | MODE | DEL |
Hexadecimal
FE | FD | FB | F7 | EF | DF | BF | 7F | |
---|---|---|---|---|---|---|---|---|
FE | DOWN | LEFT | RIGHT | UP !! !! !! !! | ||||
FD | ENTER | + | - | × | ÷ | ^ | CLEAR !! | |
FB | (-) | 3 | 6 | 9 | ( | TAN | VARS !! | |
F7 | . | 2 | 5 | 8 | ) | COS | PRGM | STAT |
EF | 0 | 1 | 4 | 7 | , | SIN | APPS | X, T, θ, n |
DF !! | STO | LN | LOG | X^^2^^ | X^^-1^^ | MATH | ALPHA |
|