From 188982b55dbe353d8a75765870ae56af54b45ef4 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Thu, 10 Feb 2022 20:52:32 -0500 Subject: [PATCH] KA10: Fix bug in RH20 during transfer. --- PDP10/kx10_rh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PDP10/kx10_rh.c b/PDP10/kx10_rh.c index 3ca0ab9..3fec450 100644 --- a/PDP10/kx10_rh.c +++ b/PDP10/kx10_rh.c @@ -933,7 +933,6 @@ void rh_finish_op(struct rh_if *rhc, int nxm) { if (rhc->imode != 2) #endif rhc->status &= ~(BUSY); -// rhc->xfer_drive = -1; rh_writecw(rhc, nxm); rh_setirq(rhc); #if KL @@ -995,6 +994,8 @@ void rh20_setup(struct rh_if *rhc) rhc->wcr = 0; rhc->xfer_drive = rhc->drive; rhc->status &= ~RH20_CHAN_RDY; + rhc->status |= BUSY; + rhc->drive = drv; } #endif