1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00
2017-02-01 20:09:03 +01:00

15 lines
224 B
ArmAsm

;* cgetc
.export _cgetc
.include "creativision.inc"
_cgetc:
lda #$80
L1: bit ZP_KEYBOARD
bpl L1
lda ZP_KEYBOARD
and #$7F
rts