don't print strange control characters. Part solution to Issue #2.
This commit is contained in:
1 parent
5292ea009b
commit
2fd27915f7
1 file changed
+8
-1
+8
-1
@@ -248,6 +248,12 @@ not_clearscreen:
|
|||||||
|
|
||||||
;; Convert PETSCII to screen code
|
;; Convert PETSCII to screen code
|
||||||
|
|
||||||
|
;; Don't print other control codes
|
||||||
|
cmp #$1f
|
||||||
|
bcs +
|
||||||
|
jmp chrout_done
|
||||||
|
*
|
||||||
|
|
||||||
;; Unshifted letters
|
;; Unshifted letters
|
||||||
cmp #$40
|
cmp #$40
|
||||||
bcc not_lower
|
bcc not_lower
|
||||||
@@ -276,9 +282,10 @@ not_upper:
|
|||||||
|
|
||||||
not_vendor:
|
not_vendor:
|
||||||
|
|
||||||
|
chrout_l1:
|
||||||
|
|
||||||
output_literal_char:
|
output_literal_char:
|
||||||
|
|
||||||
chrout_l1:
|
|
||||||
;; Write normal character on the screen
|
;; Write normal character on the screen
|
||||||
|
|
||||||
pha
|
pha
|
||||||
|
|||||||
Reference in new issue
Block a user