mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 20:30:56 +00:00
don't re-enable the cursor blink while there is still pending modem data. this improves performance and visuals.
This commit is contained in:
parent
8fa8d8d1fa
commit
f486bbfb1b
@ -37,7 +37,6 @@ main debug main
|
|||||||
stz SCANINT ; reset 1-sec interrupt
|
stz SCANINT ; reset 1-sec interrupt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
loop
|
loop
|
||||||
bit LOCAL
|
bit LOCAL
|
||||||
bmi :kb
|
bmi :kb
|
||||||
@ -49,6 +48,13 @@ loop
|
|||||||
jsr vt100
|
jsr vt100
|
||||||
:kb
|
:kb
|
||||||
jsr keypress
|
jsr keypress
|
||||||
|
|
||||||
|
*
|
||||||
|
* if there is pending modem data, don't re-enable the cursor yet.
|
||||||
|
*
|
||||||
|
lda read_q_head
|
||||||
|
cmp read_q_tail
|
||||||
|
bne loop
|
||||||
jsr enable_cursor
|
jsr enable_cursor
|
||||||
bra loop
|
bra loop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user