]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos-common/conio/chline.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / geos-common / conio / chline.s
index 328d01a0195e6a30a45605b07efcc7a380e6f37c..1cf7a41f00d1d8088d31a067f4a6aa41d408d009 100644 (file)
@@ -7,7 +7,7 @@
 ; void chline (unsigned char length);
 
             .export _chlinexy, _chline
-            .import popa, _gotoxy, fixcursor
+            .import gotoxy, fixcursor
             .importzp cursor_x, cursor_y, cursor_c
 
             .include "jumptab.inc"
@@ -15,8 +15,7 @@
 
 _chlinexy:
         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
 
 _chline: