mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 01:31:33 +00:00
Fixed bug with %N in printf()
This commit is contained in:
parent
0ad6894a5b
commit
720db5a2d8
@ -163,7 +163,9 @@ PRINTB: CMP #'B ;'Else If "b" or "B"
|
||||
JMP PRINTY ; and Continue Printing String
|
||||
PRINTN: CMP #'N ;'Else If "n" or "N"
|
||||
BNE PRINTS
|
||||
STY TEMP0 ; Save Index
|
||||
JSR NEWLIN ; Execute Newline Function
|
||||
LDY TEMP0 ; Restore Index
|
||||
JMP PRINTY ; and Continue Printing String
|
||||
PRINTS: CMP #'S ;'Else If "s" or "S"
|
||||
BNE PRINTW
|
||||
|
Loading…
Reference in New Issue
Block a user