From: izydorst Date: Wed, 25 Dec 2002 04:16:51 +0000 (+0000) Subject: small optimization X-Git-Tag: V2.12.0~1829 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d01a48b8731a175ffed6eb587ca810a6a16f4ef8;p=cc65 small optimization git-svn-id: svn://svn.cc65.org/cc65/trunk@1842 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/geos/conio/clrscr.s b/libsrc/geos/conio/clrscr.s index f50a76fef..ed8b6b080 100644 --- a/libsrc/geos/conio/clrscr.s +++ b/libsrc/geos/conio/clrscr.s @@ -20,13 +20,13 @@ _clrscr: sta dispBufferOn lda #0 jsr SetPattern - lda #0 - sta r3L - sta r3H - sta r2L - sta cursor_c - lda #1 - sta cursor_r + ldx #0 + stx r3L + stx r3H + stx r2L + stx cursor_c + inx + stx cursor_r jsr fixcursor ; home cursor lda #199 sta r2H