fix ubyte number print bug for 100-109 and 200-209 missing the tens digit

This commit is contained in:
Irmen de Jong 2020-03-22 01:49:05 +01:00
parent 4929c198ba
commit 4fbdd6d570

View File

@ -852,11 +852,14 @@ _print_byte_digits
beq +
tya
jsr c64.CHROUT
pla
jsr c64.CHROUT
jmp _ones
+ pla
cmp #'0'
beq +
beq _ones
jsr c64.CHROUT
+ txa
_ones txa
jsr c64.CHROUT
ldx c64.SCRATCH_ZPREGX
rts