From 46500ec75e179d0a5ba4df3497c53595c82a3746 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 18 Feb 2020 14:51:59 -0800 Subject: [PATCH] PDP11, Unibus and Qbus VAX: Fix character completion with differing line speeds --- PDP11/pdp11_vh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDP11/pdp11_vh.c b/PDP11/pdp11_vh.c index 3bbb88bb..efd2b6d0 100644 --- a/PDP11/pdp11_vh.c +++ b/PDP11/pdp11_vh.c @@ -1383,7 +1383,7 @@ static void doDMA ( int32 vh, pa = lp->tbuf1; pa |= (lp->tbuf2 & TB2_M_TBUFFAD) << 16; status = 0; - while (lp->tbuffct) { + while (tmxr_txdone_ln (lp->tmln) && (lp->tbuffct > 0)) { uint8 buf; if (lp->lnctrl & LNCTRL_TX_ABORT) { lp->tbuf2 &= ~TB2_TX_DMA_START;