mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 05:31:06 +00:00
$7f (delete) character is a null char. drop it (and $00) when checking the read queue.
This commit is contained in:
parent
acfe94a4c7
commit
71993497ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user