]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/cvline.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / cbm / cvline.s
index 2cf231e982d714b38b3c5c3feba9040783151239..b6d2d86e6b863a9d72d4f51044edb6cef496919b 100644 (file)
@@ -6,13 +6,12 @@
 ;
 
         .export         _cvlinexy, _cvline
-        .import         popa, _gotoxy, putchar, newline
+        .import         gotoxy, putchar, newline
         .importzp       tmp1, cvlinechar
 
 _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:
@@ -25,6 +24,3 @@ L1:     lda     #cvlinechar     ; Vertical bar
         dec     tmp1
         bne     L1
 L9:     rts
-
-
-