Skip to content

Commit

Permalink
VAX: M7452 Unibus window module for VAXstation 100.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff authored and markpizz committed May 9, 2023
1 parent c0f9238 commit d573965
Show file tree
Hide file tree
Showing 12 changed files with 452 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PDP11/pdp11_io_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ AUTO_CON auto_tab[] = {/*c #v am vm fxa fxv */
{ { NULL }, 1, 3, 16, 8 }, /* KMS11 */
{ { NULL }, 1, 2, 0, 8,
{004200, 004240, 004300, 004340} }, /* PLC11 */
{ { NULL }, 1, 1, 16, 4 }, /* VS100 */
{ { "UW" }, 1, 1, 16, 4 }, /* VS100 */
{ { "TQ", "TQB" }, 1, -1, 4, 4,
{014500}, {0260} }, /* TQK50 */
{ { NULL }, 1, 2, 16, 8 }, /* KMV11 */
Expand Down
3 changes: 3 additions & 0 deletions VAX/vax730_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ typedef struct {
#define INT_V_DUPTX 13
#define INT_V_RK 14
#define INT_V_CH 15
#define INT_V_UW 16

#define INT_V_LPT 0 /* BR4 */
#define INT_V_PTR 1
Expand Down Expand Up @@ -319,6 +320,7 @@ typedef struct {
#define INT_TDRX (1u << INT_V_TDRX)
#define INT_TDTX (1u << INT_V_TDTX)
#define INT_CH (1u << INT_V_CH)
#define INT_UW (1u << INT_V_UW)

#define IPL_DTA (0x16 - IPL_HMIN)
#define IPL_CR (0x16 - IPL_HMIN)
Expand All @@ -345,6 +347,7 @@ typedef struct {
#define IPL_RK (0x15 - IPL_HMIN)
#define IPL_TDRX (0x14 - IPL_HMIN)
#define IPL_TDTX (0x14 - IPL_HMIN)
#define IPL_UW (0x15 - IPL_HMIN)

/* Device vectors */

Expand Down
2 changes: 2 additions & 0 deletions VAX/vax730_syslist.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extern DEVICE xu_dev, xub_dev;
extern DEVICE dmc_dev;
extern DEVICE dup_dev;
extern DEVICE ch_dev;
extern DEVICE uw_dev;

DEVICE *sim_devices[] = {
&cpu_dev,
Expand Down Expand Up @@ -97,6 +98,7 @@ DEVICE *sim_devices[] = {
&dmc_dev,
&dup_dev,
&ch_dev,
&uw_dev,
NULL
};

Expand Down
3 changes: 3 additions & 0 deletions VAX/vax750_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ typedef struct {
#define INT_V_DUPTX 12
#define INT_V_RK 13
#define INT_V_CH 14
#define INT_V_UW 15

#define INT_V_LPT 0 /* BR4 */
#define INT_V_PTR 1
Expand Down Expand Up @@ -359,6 +360,7 @@ typedef struct {
#define INT_TDRX (1u << INT_V_TDRX)
#define INT_TDTX (1u << INT_V_TDTX)
#define INT_CH (1u << INT_V_CH)
#define INT_UW (1u << INT_V_UW)

#define IPL_DTA (0x16 - IPL_HMIN)
#define IPL_CR (0x16 - IPL_HMIN)
Expand All @@ -384,6 +386,7 @@ typedef struct {
#define IPL_RK (0x15 - IPL_HMIN)
#define IPL_TDRX (0x14 - IPL_HMIN)
#define IPL_TDTX (0x14 - IPL_HMIN)
#define IPL_UW (0x15 - IPL_HMIN)

/* Device vectors */

Expand Down
2 changes: 2 additions & 0 deletions VAX/vax750_syslist.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ extern DEVICE xu_dev, xub_dev;
extern DEVICE dmc_dev;
extern DEVICE dup_dev;
extern DEVICE ch_dev;
extern DEVICE uw_dev;

DEVICE *sim_devices[] = {
&cpu_dev,
Expand Down Expand Up @@ -102,6 +103,7 @@ DEVICE *sim_devices[] = {
&dmc_dev,
&dup_dev,
&ch_dev,
&uw_dev,
NULL
};

Expand Down
3 changes: 3 additions & 0 deletions VAX/vax780_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ typedef struct {
#define INT_V_DUPTX 12
#define INT_V_RK 13
#define INT_V_CH 14
#define INT_V_UW 15

#define INT_V_LPT 0 /* BR4 */
#define INT_V_PTR 1
Expand Down Expand Up @@ -377,6 +378,7 @@ typedef struct {
#define INT_TDRX (1u << INT_V_TDRX)
#define INT_TDTX (1u << INT_V_TDTX)
#define INT_CH (1u << INT_V_CH)
#define INT_UW (1u << INT_V_UW)

#define IPL_DTA (0x16 - IPL_HMIN)
#define IPL_CR (0x16 - IPL_HMIN)
Expand All @@ -402,6 +404,7 @@ typedef struct {
#define IPL_RK (0x15 - IPL_HMIN)
#define IPL_TDRX (0x14 - IPL_HMIN)
#define IPL_TDTX (0x14 - IPL_HMIN)
#define IPL_UW (0x15 - IPL_HMIN)

/* Device vectors */

Expand Down
2 changes: 2 additions & 0 deletions VAX/vax780_syslist.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ extern DEVICE xu_dev, xub_dev;
extern DEVICE dmc_dev;
extern DEVICE dup_dev;
extern DEVICE ch_dev;
extern DEVICE uw_dev;

DEVICE *sim_devices[] = {
&cpu_dev,
Expand Down Expand Up @@ -103,6 +104,7 @@ DEVICE *sim_devices[] = {
&dmc_dev,
&dup_dev,
&ch_dev,
&uw_dev,
NULL
};

Expand Down
Loading

0 comments on commit d573965

Please sign in to comment.