From: Stephan Mühlstrasser Date: Mon, 23 Feb 2015 18:17:27 +0000 (+0100) Subject: Loading A once before the loop is sufficient. X-Git-Tag: V2.15~20^2~6^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=83f16425c9d2dd2d84b4f6932826538e8b7bd01a;p=cc65 Loading A once before the loop is sufficient. --- diff --git a/libsrc/osic1p/cputc.s b/libsrc/osic1p/cputc.s index 058964573..4e16e92df 100644 --- a/libsrc/osic1p/cputc.s +++ b/libsrc/osic1p/cputc.s @@ -58,8 +58,9 @@ scroll: lda SCRNBASE+$00A5,x sta SCRNBASE+$0285,x inx bne scroll -bottom: + lda #' ' ; Clear bottom line of screen +bottom: sta SCRNBASE+$0385,x inx cpx #SCR_LINELEN+1