From d01a48b8731a175ffed6eb587ca810a6a16f4ef8 Mon Sep 17 00:00:00 2001 From: izydorst Date: Wed, 25 Dec 2002 04:16:51 +0000 Subject: [PATCH] small optimization git-svn-id: svn://svn.cc65.org/cc65/trunk@1842 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/geos/conio/clrscr.s | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.39.5