diff --git a/PDP11/pdp11_dl.c b/PDP11/pdp11_dl.c index 8570e274..41c90775 100644 --- a/PDP11/pdp11_dl.c +++ b/PDP11/pdp11_dl.c @@ -160,7 +160,7 @@ DEVICE dli_dev = { 1, 10, 31, 1, 8, 8, NULL, NULL, &dlx_reset, NULL, &dlx_attach, &dlx_detach, - &dli_dib, DEV_UBUS | DEV_QBUS | DEV_DISABLE | DEV_DIS + &dli_dib, DEV_UBUS | DEV_QBUS | DEV_DISABLE | DEV_DIS | DEV_MUX }; /* DLO data structures @@ -219,7 +219,7 @@ DEVICE dlo_dev = { DLX_LINES, 10, 31, 1, 8, 8, NULL, NULL, &dlx_reset, NULL, NULL, NULL, - NULL, DEV_UBUS | DEV_QBUS | DEV_DISABLE | DEV_DIS | DEV_MUX + NULL, DEV_UBUS | DEV_QBUS | DEV_DISABLE | DEV_DIS }; /* Terminal input routines */ diff --git a/scp.c b/scp.c index a1be25a4..00c5369a 100644 --- a/scp.c +++ b/scp.c @@ -3664,7 +3664,8 @@ if (uptr->flags & UNIT_ATT) /* already attached? */ return r; } else - return SCPE_ALATT; /* Already attached */ + if (!(uptr->dynflags & UNIT_ATTMULT)) + return SCPE_ALATT; /* Already attached */ sim_trim_endspc (cptr); /* trim trailing spc */ return scp_attach_unit (dptr, uptr, cptr); /* attach */ }