Auto configure documentation and updates for PDP10 system

This commit is contained in:
Mark Pizzolato 2012-12-29 07:57:57 -08:00
parent 53c537b8dd
commit bdcfe994e0
5 changed files with 7 additions and 4 deletions

View file

@ -634,7 +634,7 @@ typedef struct pdp_dib DIB;
/* I/O page layout */
#define IOPAGEBASE 0760000 /* I/O page base */
#define IOPAGEBASE (IO_UBA3) /* I/O page base */
#define IOBA_UBMAP 0763000
#define IOBA_UBMAP1 (IO_UBA1 + IOBA_UBMAP) /* Unibus 1 map */

View file

@ -97,7 +97,7 @@ int32 ubcs[UBANUM] = { 0 }; /* status registers */
int32 ubmap[UBANUM][UMAP_MEMSIZE] = { 0 }; /* Unibus maps */
int32 int_req = 0; /* interrupt requests */
int32 autcon_enb; /* auto configure enabled */
int32 autcon_enb = 1; /* auto configure enabled */
/* Map IO controller numbers to Unibus adapters: -1 = non-existent */
@ -723,12 +723,15 @@ dptr = find_dev_from_unit (uptr);
if (dptr == NULL)
return SCPE_IERR;
dibp = (DIB *) dptr->ctxt;
if ((dibp == NULL) || (dibp->ba <= IOPAGEBASE))
if (dibp == NULL)
return SCPE_IERR;
if (((dibp->ba>>IO_V_UBA) != 1) &&
((dibp->ba>>IO_V_UBA) != 3))
return SCPE_IERR;
fprintf (st, "address=%07o", dibp->ba);
if (dibp->lnt > 1)
fprintf (st, "-%07o", dibp->ba + dibp->lnt - 1);
if (dibp->ba < IOPAGEBASE + AUTO_CSRBASE + AUTO_CSRMAX)
if ((dibp->ba & ((1 << IO_V_UBA) - 1)) < AUTO_CSRBASE + AUTO_CSRMAX)
fprintf (st, "*");
return SCPE_OK;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.