add tab output in printf

This commit is contained in:
drmortalwombat 2022-04-03 15:51:41 +02:00
parent 9e7139f344
commit 8bdf48faba

View File

@ -12,6 +12,9 @@ __asm putpch
bne w1 bne w1
lda #13 lda #13
w1: w1:
cmp #9
beq t1
cpx #IOCHM_PETSCII_1 cpx #IOCHM_PETSCII_1
bcc w3 bcc w3
@ -30,6 +33,18 @@ __asm putpch
and #$df and #$df
w3: w3:
jmp 0xffd2 jmp 0xffd2
t1:
sec
jsr 0xfff0
tya
and #3
eor #3
tax
lda #$20
l1:
jsr 0xffd2
dex
bpl l1
} }
__asm getpch __asm getpch