mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 22:28:06 +11:00
2d9a07d215
This was becoming heavy to manage.
15 lines
277 B
Plaintext
15 lines
277 B
Plaintext
( Requires KBD_MEM, KBD_PORT )
|
|
( gm -- pm, get pressed keys mask for group mask gm )
|
|
CODE _get
|
|
HL POPqq,
|
|
chkPS,
|
|
DI,
|
|
A 0xff LDrn,
|
|
KBD_PORT OUTnA,
|
|
A L LDrr,
|
|
KBD_PORT OUTnA,
|
|
KBD_PORT INAn,
|
|
EI,
|
|
L A LDrr, HL PUSHqq,
|
|
;CODE
|