mirror of
https://github.com/simh/simh.git
synced 2026-02-18 13:28:16 +00:00
CONSOLE/SERIAL: Properly rate limit output to console port
When the console is connected to a serial port or telnet sessions enable speed setting, the bits being output are now paced a the desired speed. Multi-line mux I/O is also correctly rate limited on all lines. This should address the problems described in #545
This commit is contained in:
@@ -2842,9 +2842,7 @@ if (!sim_con_ldsc.conn) { /* no Telnet or serial c
|
||||
if (tmxr_poll_conn (&sim_con_tmxr) >= 0) /* poll connect */
|
||||
sim_con_ldsc.rcve = 1; /* rcv enabled */
|
||||
}
|
||||
if (sim_con_ldsc.xmte == 0) /* xmt disabled? */
|
||||
r = SCPE_STALL;
|
||||
else r = tmxr_putc_ln (&sim_con_ldsc, c); /* no, Telnet output */
|
||||
r = tmxr_putc_ln (&sim_con_ldsc, c); /* Telnet output */
|
||||
tmxr_poll_tx (&sim_con_tmxr); /* poll xmt */
|
||||
return r; /* return status */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user