2020-05-09 11:55:58 -04:00
|
|
|
( Requires KBD_MEM, KBD_PORT )
|
|
|
|
( gm -- pm, get pressed keys mask for group mask gm )
|
|
|
|
CODE _get
|
2020-06-27 22:01:56 -04:00
|
|
|
HL POP,
|
2020-05-09 11:55:58 -04:00
|
|
|
chkPS,
|
|
|
|
DI,
|
2020-06-27 22:01:56 -04:00
|
|
|
A 0xff LDri,
|
|
|
|
KBD_PORT OUTiA,
|
2020-05-09 11:55:58 -04:00
|
|
|
A L LDrr,
|
2020-06-27 22:01:56 -04:00
|
|
|
KBD_PORT OUTiA,
|
|
|
|
KBD_PORT INAi,
|
2020-05-09 11:55:58 -04:00
|
|
|
EI,
|
2020-06-27 22:01:56 -04:00
|
|
|
L A LDrr, HL PUSH,
|
2020-05-09 11:55:58 -04:00
|
|
|
;CODE
|