]> git.sur5r.net Git - cc65/blobdiff - libsrc/atmos/gotoxy.s
Added a missing label to some conio cursor movement functions.
[cc65] / libsrc / atmos / gotoxy.s
index 80d4d52510fc94c7b86912ab26cfbd8a627a4b8b..6652c94193ba40a9f28c58a72d86f91980f3bc28 100644 (file)
@@ -1,14 +1,18 @@
 ;
-; Ullrich von Bassewitz, 2003-04-13
+; 2003-04-13, Ullrich von Bassewitz
+; 2017-06-15, Greg King
 ;
 ; void gotoxy (unsigned char x, unsigned char y);
 ;
 
-        .export         _gotoxy
+        .export         gotoxy, _gotoxy
+
         .import         popa
 
         .include        "atmos.inc"
 
+gotoxy: jsr     popa            ; Get Y
+
 .proc   _gotoxy
 
         sta     CURS_Y          ; Set Y
@@ -17,5 +21,3 @@
         rts
 
 .endproc
-
-