]> git.sur5r.net Git - cc65/blobdiff - libsrc/c64/soft80mono_cputc.s
Introduced internal gotoxy that pops both parameters.
[cc65] / libsrc / c64 / soft80mono_cputc.s
index c89362cb5dba1d7c65f665c5bda4d57c80695a07..252de031970411be771b8a7087a68e8de598d6a5 100644 (file)
@@ -11,7 +11,7 @@
         .export         soft80mono_cputdirect, soft80mono_putchar
         .export         soft80mono_newline, soft80mono_plot
 
-        .import         popa, _gotoxy
+        .import         gotoxy
 
         .import         soft80mono_kplot
         .import         soft80mono_internal_bgcolor, soft80mono_internal_cellcolor
@@ -24,8 +24,7 @@
 
 soft80mono_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