mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 20:30:56 +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.
|
* doesn't access direct page.
|
||||||
|
|
||||||
* check/clear overrun?
|
* check/clear overrun?
|
||||||
|
|
||||||
|
*
|
||||||
|
* n.b. - vt100 would drop $00 and $7f characters here - I drop them later.
|
||||||
|
*
|
||||||
|
|
||||||
mx %11
|
mx %11
|
||||||
|
|
||||||
phb
|
phb
|
||||||
@ -242,6 +247,13 @@ modem_io ent
|
|||||||
beq :nope
|
beq :nope
|
||||||
lda read_buffer,x
|
lda read_buffer,x
|
||||||
inc read_q_tail
|
inc read_q_tail
|
||||||
|
|
||||||
|
* $00 and $7f dropped here.
|
||||||
|
and #$7f
|
||||||
|
beq :read
|
||||||
|
cmp #$7f
|
||||||
|
beq :read
|
||||||
|
|
||||||
plp
|
plp
|
||||||
sec
|
sec
|
||||||
rts
|
rts
|
||||||
|
Loading…
Reference in New Issue
Block a user