PDP11, Unibus and Qbus VAX: Fix character completion with differing line speeds

This commit is contained in:
Mark Pizzolato 2020-02-18 14:51:59 -08:00
parent 08d2bafb28
commit 46500ec75e

View file

@ -1383,7 +1383,7 @@ static void doDMA ( int32 vh,
pa = lp->tbuf1; pa = lp->tbuf1;
pa |= (lp->tbuf2 & TB2_M_TBUFFAD) << 16; pa |= (lp->tbuf2 & TB2_M_TBUFFAD) << 16;
status = 0; status = 0;
while (lp->tbuffct) { while (tmxr_txdone_ln (lp->tmln) && (lp->tbuffct > 0)) {
uint8 buf; uint8 buf;
if (lp->lnctrl & LNCTRL_TX_ABORT) { if (lp->lnctrl & LNCTRL_TX_ABORT) {
lp->tbuf2 &= ~TB2_TX_DMA_START; lp->tbuf2 &= ~TB2_TX_DMA_START;