PDP10: Change incorrect interrupt bits defined for DMC/DMR device which conflicted with KMC/KDP device. Fixes issue #107

Also removed unreferenced defines for shared Unibus devices which get address and vectors through autoconfiguration.
This commit is contained in:
Mark Pizzolato 2014-02-12 13:47:01 -08:00
parent c8991a4084
commit 22bce48689

View file

@ -657,8 +657,6 @@ typedef struct pdp_dib DIB;
#define IOBA_RP (IO_UBA1 + 0776700) /* RH11/disk */
#define IOLN_RP 050
#define IOBA_DZ (IO_UBA3 + 0760010) /* DZ11 */
#define IOLN_DZ 010
#define IOBA_TCU (IO_UBA3 + 0760770) /* TCU150 */
#define IOLN_TCU 006
#define IOBA_UBMAP3 (IO_UBA3 + IOBA_UBMAP) /* Unibus 3 map */
@ -667,20 +665,10 @@ typedef struct pdp_dib DIB;
#define IOLN_UBCS3 001
#define IOBA_UBMNT3 (IO_UBA3 + 0763101) /* Unibus 3 maint reg */
#define IOLN_UBMNT3 001
#define IOBA_XU (IO_UBA3 + 0774510) /* DEUNA/DELUA */
#define IOLN_XU 010
#define IOBA_CR (IO_UBA3 + 0777160) /* CD/CR/CM */
#define IOLN_CR 010
#define IOBA_RY (IO_UBA3 + 0777170) /* RX211 */
#define IOLN_RY 004
#define IOBA_TU (IO_UBA3 + 0772440) /* RH11/tape */
#define IOLN_TU 034
#define IOBA_LP20 (IO_UBA3 + 0775400) /* LP20 */
#define IOLN_LP20 020
#define IOBA_PTR (IO_UBA3 + 017550) /* PC11 reader */
#define IOLN_PTR 004
#define IOBA_PTP (IO_UBA3 + 017554) /* PC11 punch */
#define IOLN_PTP 004
#define IOBA_AUTO 0 /* Set by Auto Configure */
/* Common Unibus CSR flags */
@ -709,8 +697,8 @@ typedef struct pdp_dib DIB;
#define INT_V_TU 7 /* RH11/TM03/TU45 */
#define INT_V_KMCA 8 /* KMC11 */
#define INT_V_KMCB 9
#define INT_V_DMCRX 8 /* DMC11/DMR11 */
#define INT_V_DMCTX 9
#define INT_V_DMCRX 10 /* DMC11/DMR11 */
#define INT_V_DMCTX 11
#define INT_V_DZRX 16 /* DZ11 */
#define INT_V_DZTX 17
#define INT_V_RY 18 /* RX211 */
@ -742,7 +730,8 @@ typedef struct pdp_dib DIB;
#define IPL_TU 6
#define IPL_KMCA 5
#define IPL_KMCB 5
#define IPL_XU 5
#define IPL_DMCRX 5
#define IPL_DMCTX 5
#define IPL_DZRX 5
#define IPL_DZTX 5
#define IPL_RY 5
@ -762,13 +751,8 @@ typedef struct pdp_dib DIB;
#define INT_IPL4 0x7FF00000
#define VEC_Q 0000 /* vector base */
#define VEC_PTR 0070 /* interrupt vectors */
#define VEC_PTP 0074
#define VEC_XU 0120
#define VEC_TU 0224
#define VEC_CR 0230
#define VEC_TU 0224 /* interrupt vectors */
#define VEC_RP 0254
#define VEC_RY 0264
#define VEC_LP20 0754
#define VEC_AUTO 0 /* Set by Auto Configure */