mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
TMXR: Added delay to assure that simulator internally generated messages get fully transmitted on TMXR lines.
This commit is contained in:
parent
fa407e678b
commit
047a6b856f
10
sim_tmxr.c
10
sim_tmxr.c
@ -3840,10 +3840,12 @@ return;
|
||||
|
||||
void tmxr_linemsg (TMLN *lp, const char *msg)
|
||||
{
|
||||
int32 len;
|
||||
|
||||
for (len = (int32)strlen (msg); len > 0; --len)
|
||||
tmxr_putc_ln (lp, *msg++);
|
||||
while (*msg) {
|
||||
while (SCPE_STALL == tmxr_putc_ln (lp, (int32)(*msg)))
|
||||
if (lp->txbsz == tmxr_send_buffered_data (lp))
|
||||
sim_os_ms_sleep (10);
|
||||
++msg;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user