mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
PDP10, PDP11, VAX: Revert effort to Avoid returning "Line Unit" test failed after DMC/DMR master clear if a line is not attached. To be addressed more thoroughly later.
This commit is contained in:
parent
340e7eb40b
commit
709016c356
@ -2309,12 +2309,18 @@ while ((control = controller->control_out)) {
|
||||
controller->control_out = NULL;
|
||||
dmc_setreg(controller, 0, 0, DBG_RGC);
|
||||
if (controller->dev_type == DMR) {
|
||||
/* Indicates microdiagnostics complete */
|
||||
if (((*controller->csrs->sel0 & DMC_SEL0_M_UDIAG) != 0) ^
|
||||
(dmc_microdiag[controller->index]))
|
||||
dmc_setreg(controller, 2, 0x8000, DBG_RGC);/* Microdiagnostics Complete */
|
||||
else
|
||||
dmc_setreg(controller, 2, 0x4000, DBG_RGC); /* Microdiagnostics Inhibited */
|
||||
if (dmc_is_attached(controller->unit)) {
|
||||
/* Indicates microdiagnostics complete */
|
||||
if (((*controller->csrs->sel0 & DMC_SEL0_M_UDIAG) != 0) ^
|
||||
(dmc_microdiag[controller->index]))
|
||||
dmc_setreg(controller, 2, 0x8000, DBG_RGC);/* Microdiagnostics Complete */
|
||||
else
|
||||
dmc_setreg(controller, 2, 0x4000, DBG_RGC); /* Microdiagnostics Inhibited */
|
||||
}
|
||||
else {
|
||||
/* Indicate M8203 (Line Unit) test failed */
|
||||
dmc_setreg(controller, 2, 0x0200, DBG_RGC);
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* preserve contents of BSEL3 if DMC-11 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user