PDP11: Fix regression where, depending on CPU model, the SR register disappears
This change fixes #623.
This commit is contained in:
parent
3736f4c385
commit
a9061b0332
1 changed files with 4 additions and 2 deletions
|
@ -414,7 +414,9 @@ for (i = 0; i < (int32) dibp->lnt; i = i + 2) { /* create entries */
|
|||
if ((dibp->rd == NULL) && (dibp->wr == NULL) && (dibp->vnum == 0))
|
||||
iodibp[idx] = NULL; /* deregister DIB */
|
||||
else {
|
||||
if (dibp->rd)
|
||||
iodispR[idx] = dibp->rd; /* set rd dispatch */
|
||||
if (dibp->wr)
|
||||
iodispW[idx] = dibp->wr; /* set wr dispatch */
|
||||
iodibp[idx] = dibp; /* remember DIB */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue