1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-05 07:33:56 +00:00

PDP11,VAX: Minor change in pdp11_cr.c

This commit is contained in:
Jordi Guillaumes i Pons
2014-03-01 01:20:09 +01:00
parent 8c9a76bf5a
commit f046887e0c

View File

@@ -1042,13 +1042,12 @@ t_stat cr_wr ( int32 data,
crs |= CSR_ERR | (curr_crs & (CRCSR_SUPPLY | CRCSR_RDCHK | crs |= CSR_ERR | (curr_crs & (CRCSR_SUPPLY | CRCSR_RDCHK |
CRCSR_OFFLINE)); CRCSR_OFFLINE));
if (crs & CSR_IE) SET_INT(CR); if (crs & CSR_IE) SET_INT(CR);
}
if (blowerState != BLOW_ON) {
blowerState = BLOW_START;
sim_activate_after (&cr_unit, spinUp);
} else { } else {
if (blowerState != BLOW_ON) { sim_activate_after (&cr_unit, cr_unit.wait);
blowerState = BLOW_START;
sim_activate_after (&cr_unit, spinUp);
} else {
sim_activate_after (&cr_unit, cr_unit.wait);
}
} }
} }
if (DEBUG_PRS (cr_dev)) if (DEBUG_PRS (cr_dev))