]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos-common/conio/cvline.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / geos-common / conio / cvline.s
index ade7f34c98f038f012b6782fd3689a7838476996..c12b8764b6e5a1a64dfcf0192040c4d4cf559949 100644 (file)
@@ -7,7 +7,7 @@
 ; void cvline (unsigned char length);
 
             .export _cvlinexy, _cvline
-            .import popa, _gotoxy, fixcursor
+            .import gotoxy, fixcursor
             .importzp cursor_x, cursor_y, cursor_r
 
             .include "jumptab.inc"
@@ -15,8 +15,7 @@
 
 _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
 
 _cvline: