From db18f631485eea0b1e7d6c8cf853ff4a281c2aba Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 27 May 2021 17:12:46 -0400 Subject: cash_dirty, change random seeding, now 9006 bytes --- timed_getch.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'timed_getch.s') diff --git a/timed_getch.s b/timed_getch.s index fdb0dc0..a243c20 100644 --- a/timed_getch.s +++ b/timed_getch.s @@ -69,9 +69,7 @@ _timed_getch: beq @wait4key ; user hit a key, handle it. but don't print a cursor. -_agetc_no_cursor: - jsr _cgetc - jmp finish_agetc + bne _agetc_no_cursor ; _agetc removes the inverse-video bit, and if ; a control key is pressed, it turns it into the non-control version @@ -83,6 +81,7 @@ _agetc: lda #$80 ; inverse space (putchar uses screen codes) jsr putchar +_agetc_no_cursor: jsr _cgetc ; get ATASCII code of keypress pha -- cgit v1.2.3