]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/cputc.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / plus4 / cputc.s
index a83a9c60beaad68aa2f8ae9c8b0ba3a5be0f578e..49b3a84dd7bab4a5840d67ce4ff24bc5f8a40d41 100644 (file)
@@ -7,7 +7,7 @@
 
         .export         _cputcxy, _cputc, cputdirect, putchar
         .export         newline, plot
-        .import         popa, _gotoxy
+        .import         gotoxy
         .import         PLOT
 
         .include        "plus4.inc"
@@ -15,8 +15,7 @@
 
 _cputcxy:
         pha                     ; Save C
-        jsr     popa            ; Get Y
-        jsr     _gotoxy         ; Set cursor, drop x
+        jsr     gotoxy          ; Set cursor, drop x and y
         pla                     ; Restore C
 
 ; Plot a character - also used as internal function