From a9dac3b1efeab8da38bb86beaae55354a35b6101 Mon Sep 17 00:00:00 2001 From: jede Date: Tue, 2 Feb 2021 12:32:42 +0100 Subject: [PATCH] Fix X register for kbhit --- libsrc/telestrat/kbhit.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libsrc/telestrat/kbhit.s b/libsrc/telestrat/kbhit.s index 431b9a957..bb88af4b2 100644 --- a/libsrc/telestrat/kbhit.s +++ b/libsrc/telestrat/kbhit.s @@ -11,9 +11,11 @@ _kbhit: BRK_TELEMON XRD0 bcs @no_char_action + ldx #$00 lda #$01 rts @no_char_action: - lda #$00 + lda #$00 + tax rts