TMXR: Added delay to assure that simulator internally generated messages get fully transmitted on TMXR lines.

This commit is contained in:
Mark Pizzolato 2015-06-26 11:46:49 -07:00
parent fa407e678b
commit 047a6b856f

View file

@ -3840,10 +3840,12 @@ return;
void tmxr_linemsg (TMLN *lp, const char *msg) void tmxr_linemsg (TMLN *lp, const char *msg)
{ {
int32 len; while (*msg) {
while (SCPE_STALL == tmxr_putc_ln (lp, (int32)(*msg)))
for (len = (int32)strlen (msg); len > 0; --len) if (lp->txbsz == tmxr_send_buffered_data (lp))
tmxr_putc_ln (lp, *msg++); sim_os_ms_sleep (10);
++msg;
}
return; return;
} }