mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 12:12:52 +00:00
KA10: Fix RH10/20 to allow access to registers during transfer.
This commit is contained in:
committed by
Paul Koning
parent
e0b08b3894
commit
e425c75d0d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user