$7f (delete) character is a null char. drop it (and $00) when checking the read queue.

This commit is contained in:
Kelvin Sherlock 2022-01-28 23:21:13 -05:00
parent acfe94a4c7
commit 71993497ea

View File

@ -163,6 +163,11 @@ modem_int
* doesn't access direct page.
* check/clear overrun?
*
* n.b. - vt100 would drop $00 and $7f characters here - I drop them later.
*
mx %11
phb
@ -242,6 +247,13 @@ modem_io ent
beq :nope
lda read_buffer,x
inc read_q_tail
* $00 and $7f dropped here.
and #$7f
beq :read
cmp #$7f
beq :read
plp
sec
rts