]> git.sur5r.net Git - cc65/commitdiff
Saved even one more byte.
authorIrgendwerA8 <c.krueger.b@web.de>
Sat, 26 May 2018 17:53:44 +0000 (19:53 +0200)
committerIrgendwerA8 <c.krueger.b@web.de>
Sat, 26 May 2018 17:53:44 +0000 (19:53 +0200)
libsrc/vic20/cgetc.s

index 05f2f68dc0d9c916432f18cca4100984a7c97846..d5af9a9f602637bea22cb98993dab47f64f1e743 100644 (file)
@@ -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