]> git.sur5r.net Git - cc65/commitdiff
small optimization
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Dec 2002 04:16:51 +0000 (04:16 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Dec 2002 04:16:51 +0000 (04:16 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1842 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/conio/clrscr.s

index f50a76fef7b091bfbe034ca12282c188843eeb4f..ed8b6b0804437b81dde4f8e30a12ec46dd4495f1 100644 (file)
@@ -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