?login_element?
?pathlinks? – Rev 1863
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| Download
module Console
KEY_UP = nos.key_up
KEY_DN = nos.key_down
KEY_LT = nos.key_left
KEY_RT = nos.key_right
BACKSPACE = nos.key_backspace
getC:
call inkey
.loop
push af
call inkey
pop bc
cp b
jr z, .loop
.exit
ret
peekC:
inkey
ld c,nos.CMD_YIELD
call nos.BDOS
rst 0x08
ld a,c
cp nos.key_esc
jp z,0x0000
ret
waitForKeyUp
call inkey
or a
ret z
jr waitForKeyUp
ENDMODULE