1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-15 21:18:05 +11:00
collapseos/arch/z80/ti84/blk/616

15 lines
273 B
Plaintext
Raw Normal View History

2020-05-10 01:55:58 +10:00
( Requires KBD_MEM, KBD_PORT )
( gm -- pm, get pressed keys mask for group mask gm )
CODE _get
HL POP,
2020-05-10 01:55:58 +10:00
chkPS,
DI,
A 0xff LDri,
KBD_PORT OUTiA,
2020-05-10 01:55:58 +10:00
A L LDrr,
KBD_PORT OUTiA,
KBD_PORT INAi,
2020-05-10 01:55:58 +10:00
EI,
L A LDrr, HL PUSH,
2020-05-10 01:55:58 +10:00
;CODE