mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 23:29:55 +00:00
fix ubyte number print bug for 100-109 and 200-209 missing the tens digit
This commit is contained in:
parent
4929c198ba
commit
4fbdd6d570
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user