From: Stephan Mühlstrasser Date: Sat, 28 Feb 2015 19:29:08 +0000 (+0100) Subject: Optimization by replacing absolute with relative jump. X-Git-Tag: V2.15~20^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1d6aa84d9a8521757c4c067feb059fc2d38109d7;p=cc65 Optimization by replacing absolute with relative jump. --- diff --git a/libsrc/osic1p/cgetc.s b/libsrc/osic1p/cgetc.s index 82857f4c6..0c7c69488 100644 --- a/libsrc/osic1p/cgetc.s +++ b/libsrc/osic1p/cgetc.s @@ -23,7 +23,7 @@ _cgetc: tax ; save character in X lda #$00 sta CHARBUF ; empty buffer - jmp restorex ; restore X and return + beq restorex ; restore X and return nobuffer: lda cursor ; show cursor? beq nocursor