]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/gotoxy.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / atari / gotoxy.s
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