]> git.sur5r.net Git - cc65/commitdiff
call setcursor to update cursor settings
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Nov 2002 21:32:08 +0000 (21:32 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 26 Nov 2002 21:32:08 +0000 (21:32 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1656 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/gotox.s
libsrc/atari/gotoxy.s
libsrc/atari/gotoy.s

index 3b3efe01b166cdefba704839029827dceb47b67d..385eead2b0b46e73dad11e3bbed639673693dc8e 100644 (file)
@@ -6,9 +6,10 @@
 
        .include        "atari.inc"
        .export         _gotox
+       .import         setcursor
 
 _gotox:
        sta     COLCRS          ; Set X
        lda     #0
        sta     COLCRS+1
-       rts
+       jmp     setcursor
index 6716298332132fb62c4b9dba907c749d95c99c6b..47342d74bee1d5f5813a1d3a552f74d37c048c19 100644 (file)
@@ -8,6 +8,7 @@
 
        .export         _gotoxy
        .import         popa
+       .import         setcursor
 
 _gotoxy:                       ; Set the cursor position
        sta     ROWCRS          ; Set Y
@@ -15,4 +16,4 @@ _gotoxy:                      ; Set the cursor position
        sta     COLCRS          ; Set X
        lda     #0
        sta     COLCRS+1        ;
-       rts             
+       jmp     setcursor
index 73593afabcc9cba2d6e8ab4c05772ccf4dc9cdad..229ba95db707247cf790465b34006d894ed32565 100644 (file)
@@ -6,7 +6,8 @@
 
        .include        "atari.inc"
        .export         _gotoy
+       .import         setcursor
 
 _gotoy:
        sta     ROWCRS          ; Set Y
-       rts
+       jmp     setcursor