mirror of
https://github.com/cc65/cc65.git
synced 2026-03-11 23:42:18 +00:00
15 lines
236 B
ArmAsm
15 lines
236 B
ArmAsm
|
|
; FIXME: is $d610 mega65 specific?
|
|
; FIXME: this should rather use the kernal (with keyboard buffer etc)
|
|
|
|
.export _kbhit
|
|
_kbhit:
|
|
lda $d610
|
|
beq :+
|
|
|
|
lda #1
|
|
:
|
|
ldx #>$0000
|
|
rts
|
|
|