KA10: Fix RH10/20 to allow access to registers during transfer.

This commit is contained in:
Richard Cornwell 2023-12-31 11:18:56 -05:00 committed by Paul Koning
parent e0b08b3894
commit e425c75d0d

View file

@ -522,10 +522,6 @@ t_stat rh_devio(uint32 dev, uint64 *data) {
case DATAI:
*data = 0;
if (rhc->status & BUSY && rhc->reg != 04) {
rhc->status |= CC_CHAN_ACT;
return SCPE_OK;
}
if (rhc->reg < 040) {
int parity;
if (rhc->dev_read(dptr, rhc, rhc->reg, &drdat))
@ -668,10 +664,6 @@ t_stat rh_devio(uint32 dev, uint64 *data) {
case DATAI:
*data = 0;
if (rhc->status & BUSY && rhc->reg != 04) {
rhc->status |= CC_CHAN_ACT;
return SCPE_OK;
}
if (rhc->reg == 040) {
if (rhc->dev_read(dptr, rhc, 0, &drdat))
rhc->status |= CR_DRE;