1
0
mirror of https://github.com/simh/simh.git synced 2026-02-10 02:01:05 +00:00

Revised the VAX780 to include the pdp11_dmc device

This commit is contained in:
Mark Pizzolato
2012-09-28 15:41:49 -07:00
parent 0453a87f18
commit 35b8a40559
4 changed files with 26 additions and 1 deletions

View File

@@ -313,6 +313,8 @@ typedef struct {
#define IOLN_PTR 004
#define IOBA_PTP (IOPAGEBASE + 017554) /* PC11 punch */
#define IOLN_PTP 004
#define IOBA_DMC (IOPAGEBASE + 0760060)
#define IOLN_DMC 010
/* Interrupt assignments; within each level, priority is right to left */
@@ -325,6 +327,8 @@ typedef struct {
#define INT_V_TS 6
#define INT_V_RY 7
#define INT_V_XU 8
#define INT_V_DMCRX 9
#define INT_V_DMCTX 10
#define INT_V_LPT 0 /* BR4 */
#define INT_V_PTR 1
@@ -348,6 +352,8 @@ typedef struct {
#define INT_PTR (1u << INT_V_PTR)
#define INT_PTP (1u << INT_V_PTP)
#define INT_CR (1u << INT_V_CR)
#define INT_DMCRX (1u << INT_V_DMCRX)
#define INT_DMCTX (1u << INT_V_DMCTX)
#define IPL_DZRX (0x15 - IPL_HMIN)
#define IPL_DZTX (0x15 - IPL_HMIN)
@@ -364,6 +370,8 @@ typedef struct {
#define IPL_CR (0x14 - IPL_HMIN)
#define IPL_VHRX (0x14 - IPL_HMIN)
#define IPL_VHTX (0x14 - IPL_HMIN)
#define IPL_DMCRX (0x15 - IPL_HMIN)
#define IPL_DMCTX (0x15 - IPL_HMIN)
/* Device vectors */
@@ -386,6 +394,8 @@ typedef struct {
#define VEC_DZTX 0304
#define VEC_VHRX 0310
#define VEC_VHTX 0314
#define VEC_DMCRX 0310
#define VEC_DMCTX 0314
/* Interrupt macros */

View File

@@ -54,6 +54,8 @@ extern DEVICE tu_dev;
extern DEVICE dz_dev;
extern DEVICE vh_dev;
extern DEVICE xu_dev, xub_dev;
extern DEVICE dmc_dev[];
extern DEVICE dmp_dev[];
extern int32 sim_switches;
extern UNIT cpu_unit;
@@ -91,6 +93,11 @@ DEVICE *sim_devices[] = {
&tq_dev,
&xu_dev,
&xub_dev,
&dmc_dev[0],
&dmc_dev[1],
&dmc_dev[2],
&dmc_dev[3],
&dmp_dev[0],
NULL
};