]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/cclear.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / nes / cclear.s
index 233c112c6cf7df619e1ab38950f32ad451e41cb0..7a24138264e596914588e981a17289aa379ec059 100644 (file)
@@ -6,13 +6,12 @@
 ;
 
         .export         _cclearxy, _cclear
-        .import         popa, _gotoxy, cputdirect
+        .import         gotoxy, cputdirect
         .importzp       tmp1
 
 _cclearxy:
         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 _cclear
 
 _cclear: