diff --git a/libsrc/apple2/kbhit.s b/libsrc/apple2/kbhit.s index ac8d85350..c4efb38d6 100644 --- a/libsrc/apple2/kbhit.s +++ b/libsrc/apple2/kbhit.s @@ -5,11 +5,12 @@ ; unsigned char kbhit (void); ; - .export _kbhit + .export _kbhit .include "apple2.inc" -_kbhit: lda KBD ; Reading KBD checks for keypress +_kbhit: + lda KBD ; Reading KBD checks for keypress rol ; if high bit is set, key was pressed lda #$00 tax