From f486bbfb1b86533a41bfba44e63cb4da7be2bf38 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sun, 9 Jan 2022 19:38:25 -0500 Subject: [PATCH] don't re-enable the cursor blink while there is still pending modem data. this improves performance and visuals. --- vt100.main.S | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vt100.main.S b/vt100.main.S index 272e437..bace64e 100644 --- a/vt100.main.S +++ b/vt100.main.S @@ -37,7 +37,6 @@ main debug main stz SCANINT ; reset 1-sec interrupt - loop bit LOCAL bmi :kb @@ -49,6 +48,13 @@ loop jsr vt100 :kb 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 bra loop