]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/gotox.s
Merge remote-tracking branch 'upstream/master' into something_to_pull
[cc65] / libsrc / atari / gotox.s
index 3b3efe01b166cdefba704839029827dceb47b67d..d849bc71a27deec8e4a21bedae71b92d139f01fd 100644 (file)
@@ -4,11 +4,12 @@
 ; void gotox (unsigned char x);
 ;
 
-       .include        "atari.inc"
-       .export         _gotox
+        .include        "atari.inc"
+        .export         _gotox
+        .import         setcursor
 
 _gotox:
-       sta     COLCRS          ; Set X
-       lda     #0
-       sta     COLCRS+1
-       rts
+        sta     COLCRS          ; Set X
+        lda     #0
+        sta     COLCRS+1
+        jmp     setcursor