]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/gotoxy.s
Added a blank line between .include statements and .import/.export statements
[cc65] / libsrc / atari / gotoxy.s
index 1f00c3b23c15447e7bc6f0c124ea212f3892dccc..aeaa732c09629db034e81b15e1bf6433239ede16 100644 (file)
@@ -6,14 +6,17 @@
 
         .include "atari.inc"
 
-        .export         _gotoxy
+        .export         gotoxy, _gotoxy
         .import         popa
         .import         setcursor
 
+gotoxy:
+        jsr     popa            ; Get Y
+
 _gotoxy:                        ; Set the cursor position
         sta     ROWCRS          ; Set Y
         jsr     popa            ; Get X
         sta     COLCRS          ; Set X
         lda     #0
-        sta     COLCRS+1        ;
+        sta     COLCRS+1
         jmp     setcursor