fix bug in return from printf
This commit is contained in:
1 parent
5f19f62ab8
commit
83fbaeffe2
1 file changed
+2
-1
+2
-1
@@ -46,6 +46,7 @@ printf_loop:
|
|||||||
lda $7f0
|
lda $7f0
|
||||||
ldx $7f1
|
ldx $7f1
|
||||||
ldy $7f2
|
ldy $7f2
|
||||||
|
plp
|
||||||
rts
|
rts
|
||||||
|
|
||||||
printf_continues:
|
printf_continues:
|
||||||
@@ -58,4 +59,4 @@ printf_nextchar:
|
|||||||
bne +
|
bne +
|
||||||
inc $7f6
|
inc $7f6
|
||||||
*
|
*
|
||||||
jmp print_loop
|
jmp printf_loop
|
||||||
Reference in new issue
Block a user