]> git.sur5r.net Git - cc65/blobdiff - libsrc/c64/cputc.s
Merge pull request #431 from polluks/patch-2
[cc65] / libsrc / c64 / cputc.s
index 606d6f596fe2df7e620e940aeac304928dfd96db..d6b49607aa650912a1041063de81906d7762872a 100644 (file)
@@ -7,7 +7,7 @@
 
         .export         _cputcxy, _cputc, cputdirect, putchar
         .export         newline, plot
-        .import         popa, _gotoxy
+        .import         gotoxy
         .import         PLOT
 
         .include        "c64.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