From 1d6aa84d9a8521757c4c067feb059fc2d38109d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BChlstrasser?= Date: Sat, 28 Feb 2015 20:29:08 +0100 Subject: [PATCH] Optimization by replacing absolute with relative jump. --- libsrc/osic1p/cgetc.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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