mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:58:05 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
279 B
Plaintext
17 lines
279 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
|
|
|
|
|