]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/cvline.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / atari / cvline.s
index da6c8dca4ba1707ddc6f29d375bedc88ab5d6027..1b4ba0b1b4ce99c3ccd23b1d5c50ec5aaece73f7 100644 (file)
@@ -7,7 +7,7 @@
         .include "atari.inc"
         
         .export         _cvlinexy, _cvline
-        .import         popa, _gotoxy, putchar, setcursor
+        .import         gotoxy, putchar, setcursor
         .importzp       tmp1
 
 .ifdef __ATARI5200__
@@ -18,8 +18,7 @@ CHRCODE =       $7C             ; Vertical bar
 
 _cvlinexy:
         pha                     ; Save the length
-        jsr     popa            ; Get y
-        jsr     _gotoxy         ; Call this one, will pop params
+        jsr     gotoxy          ; Call this one, will pop params
         pla                     ; Restore the length and run into _cvline
 
 _cvline: