1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-15 10:29:00 +00:00
cc65/libsrc/creativision/cgetc.s

18 lines
191 B
ArmAsm
Raw Normal View History

2013-12-05 11:40:44 +00:00
;* cgetc
.export _cgetc
.include "creativision.inc"
_cgetc:
lda #$80
L1:
bit ZP_KEYBOARD
bpl L1
lda ZP_KEYBOARD
and #$7f
rts