]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/cvline.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / nes / cvline.s
index 3ab93f34ab9d7c9d2c931bd38c84e878bdd806d9..d564a25cbbca0052422d5054645b5506ff8631f5 100644 (file)
@@ -6,15 +6,14 @@
 ;
 
         .export         _cvlinexy, _cvline
-        .import         popa, _gotoxy, putchar, newline
+        .import         gotoxy, putchar, newline
         .importzp       tmp1
 
         .include        "nes.inc"
 
 _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: