]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari5200/cputc.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / atari5200 / cputc.s
index 4bee0fba2742a46663ec26e438b6b2db7cb541fd..860eea88d253ce9ef9e0ac64a1f47153e8a2c940 100644 (file)
@@ -10,7 +10,7 @@
 
         .export         _cputcxy, _cputc
         .export         plot, cputdirect, putchar
-        .import         popa, _gotoxy, mul20
+        .import         gotoxy, mul20
         .importzp       ptr4
         .import         setcursor
 
@@ -21,8 +21,7 @@ screen_setup    = screen_setup_20x24
 
 _cputcxy:
         pha                     ; Save C
-        jsr     popa            ; Get Y
-        jsr     _gotoxy         ; Set cursor, drop x
+        jsr      gotoxy         ; Set cursor, drop x and y
         pla                     ; Restore C
 
 _cputc: