From 49a9b887343a91e2ed87da4c2c15df1c0f99b873 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Sat, 26 May 2018 19:53:44 +0200 Subject: [PATCH] Saved even one more byte. --- libsrc/vic20/cgetc.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libsrc/vic20/cgetc.s b/libsrc/vic20/cgetc.s index 05f2f68dc..d5af9a9f6 100644 --- a/libsrc/vic20/cgetc.s +++ b/libsrc/vic20/cgetc.s @@ -40,8 +40,7 @@ L3: jsr KBDREAD ; Read char and return in A bne seton ; Go set it on lda CURS_FLAG ; Is the cursor currently off? bne crs9 ; Jump if yes - inx ; X is now 1 - stx CURS_FLAG ; Mark it as off + inc CURS_FLAG ; Mark it as off lda CURS_STATE ; Cursor currently displayed? beq crs8 ; Jump if no ldy CURS_X ; Get the character column -- 2.39.5