From 83fbaeffe2a45792d86cac7374e0a7ec4c9bba6d Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Sun, 28 Apr 2019 13:44:55 +0930 Subject: [PATCH] fix bug in return from printf --- c64/basic/printf.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c64/basic/printf.s b/c64/basic/printf.s index 1f6ea1f7..a0e7d192 100644 --- a/c64/basic/printf.s +++ b/c64/basic/printf.s @@ -46,6 +46,7 @@ printf_loop: lda $7f0 ldx $7f1 ldy $7f2 + plp rts printf_continues: @@ -58,4 +59,4 @@ printf_nextchar: bne + inc $7f6 * - jmp print_loop + jmp printf_loop