fix bug when printing 15th most common character in packed messages
This commit is contained in:
1 parent
c43dbe1c29
commit
a160372c60
1 file changed
+9
-1
@@ -130,6 +130,7 @@ has_lo_nybl_char:
|
|||||||
;; bytes, as these do not encode characters
|
;; bytes, as these do not encode characters
|
||||||
cpx #$f
|
cpx #$f
|
||||||
beq +
|
beq +
|
||||||
|
has_nybl:
|
||||||
cpx #0
|
cpx #0
|
||||||
beq +
|
beq +
|
||||||
|
|
||||||
@@ -156,7 +157,14 @@ is_uncommon_char:
|
|||||||
and #$0f
|
and #$0f
|
||||||
clc
|
clc
|
||||||
adc #14
|
adc #14
|
||||||
jmp has_lo_nybl_char
|
|
||||||
|
;; We need to print the low nybl char as well
|
||||||
|
tax
|
||||||
|
tya
|
||||||
|
pha
|
||||||
|
|
||||||
|
jmp has_nybl
|
||||||
|
|
||||||
|
|
||||||
done_printing_word:
|
done_printing_word:
|
||||||
rts
|
rts
|
||||||
Reference in new issue
Block a user