Returns key down status.
Entry Conditions
A
path number
B
SS.KySns ($27)
Exit Conditions
A
keyboard scan information
Additional Information
Bit
Key
0
SHIFT
1
CTRL or CLEAR
2
ALT or @
3
Up Arrow
4
Down Arrow
5
Left Arrow
6
Right Arrow
7
Space Bar
The bits can be masked with the following equates:
SHIFTBIT
equ
%00000001
CNTRLBIT
equ
%00000010
ALTERBIT
equ
%00000100
UPBIT
equ
%00001000
DOWNBIT
equ
%00010000
LEFTBIT
equ
%00100000
RIGHTBIT
equ
%01000000
SPACEBIT
equ
%10000000