Trailing-Edge
-
PDP-10 Archives
-
AP-4178E-RM
-
swskit-sources/proks.mac
There are 25 other files named proks.mac in the archive. Click here to see a list.
;<3A.MONITOR>PROKS.MAC.30, 4-May-78 01:15:08, Edit by MCLEAN
;PUT CHNON/CHNOFF BACK IN PROLOG
;<3A.MONITOR>PROKS.MAC.29, 27-Apr-78 21:05:43, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.28, 15-Apr-78 16:18:43, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.27, 15-Apr-78 00:41:10, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.26, 10-Apr-78 18:16:28, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.25, 9-Apr-78 14:24:41, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.24, 9-Apr-78 14:15:42, Edit by MCLEAN
;<3A.MONITOR>PROKS.MAC.23, 17-Mar-78 12:34:48, Edit by MCCLURE
; ADD KMCADR
;<3A.MONITOR>PROKS.MAC.22, 10-Feb-78 15:41:57, Edit by MCLEAN
;FIX CD11BA FOR CORRECT CARDREADER EXTERNAL PAGE ADDRESS
;<3A.MONITOR>PROKS.MAC.21, 29-Jan-78 23:54:28, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.20, 15-Dec-77 16:38:49, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.19, 5-Dec-77 20:09:13, EDIT BY OSMAN
;ADD LPTUBN
;<3.SM10-RELEASE-3>PROKS.MAC.18, 5-Dec-77 00:27:02, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.17, 29-Nov-77 01:09:27, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.16, 16-Nov-77 00:21:33, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.15, 12-Nov-77 00:35:26, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.14, 6-Nov-77 15:40:50, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.13, 6-Nov-77 15:02:22, Edit by MCLEAN
;ADD TIMWRD
;<3.SM10-RELEASE-3>PROKS.MAC.12, 1-Nov-77 00:03:23, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.11, 1-Nov-77 00:02:40, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.10, 31-Oct-77 23:28:22, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.9, 31-Oct-77 23:15:45, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.8, 31-Oct-77 23:09:25, Edit by MCLEAN
;ADD PI CONTROL DEFINITIONS
;<3.SM10-RELEASE-3>PROKS.MAC.7, 29-Oct-77 19:54:03, Edit by MCLEAN
;CHANGE DZMAX FROM 1 TO 4
;<3.SM10-RELEASE-3>PROKS.MAC.6, 27-Oct-77 00:49:36, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.5, 26-Oct-77 19:34:42, Edit by MCLEAN
;<3.SM10-RELEASE-3>PROKS.MAC.4, 25-Oct-77 14:49:02, EDIT BY MURPHY
;<3.SM10-RELEASE-3>PROKS.MAC.3, 24-Oct-77 11:31:38, EDIT BY MURPHY
;<3.SM10-RELEASE-3>PROKS.MAC.2, 21-Oct-77 17:54:39, EDIT BY MURPHY
;KS10 PROCESSOR SPECIFIC DEFINITIONS FILE CREATED
;THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY ONLY BE USED
; OR COPIED IN ACCORDANCE WITHT THE TERMS OF SUCH LICENSE.
;
;COPYRIGHT (C) 1977 BY DIGITAL EQUIPMENT CORPORATION
UNIVERSAL PROKS
SALL
SEARCH MONSYM,MACSYM
IF2,< ;ONLY ONE PASS NEEDED
; EXTERNAL PAGE DEFINITIONS FOR UNIBUS ADAPTER
UBAEXP==:1763000 ;ADDRESS OF UNIBUS ADAPTER (FIRST ADDRESS)
UB1EXP==:3763000 ;ADDRESS OF UNIBUS ADAPTER (SECOND ADDRESS)
UNBSTW==:763100 ;BASIC UNIBUS STATUS REGISTER ADDRESS (MINUS UNIT NUMBER)
UNBSTS==:100 ;ADDRESS OF STATUS WORD (FIRST UNIBUS ADAPTER)
; BIT DEFINITIONS FOR STATUS WORD
UNBTMO==:1B18 ;NON EX DEVICE (TIMEOUT)
UNBBME==:1B19 ;BAD MEMORY
UNBBPE==:1B20 ;SM10 BUS PARITY
UNBNED==:1B21 ;NON EX CPU DEVICE
UNBACL==:1B26 ;AC OR DC LOW (POWER FAIL ON UNIBUS)
UNBENI==:1B27 ;ENABLE INTERNAL INTERRUPT
UNBDTR==:1B28 ;DISABLE TRANSFER ON UNCORRECTABLE DATA
UBINIT==:1B29 ;UNIBUS INIT
UBAMUL==:4000 ;MULTIPLIER FOR UNIBUS ADDRESSES / PAGE RAM
UBAPGS==:100 ;NUMBER OF MAPPING REGISTERS
MXUBWN==:100 ;MAX MAPPING REGISTER
MXSMCH==:3 ;MAX UNIBUS ADAPTER (ONLY ONE LEGAL FOR NOW)
UNBPAR=100000 ;UNIBUS ADAPT PARITY BIT
UNBRPW==:400000 ;READ/PAUSE/WRITE
UNBD18==:200000 ;DISABLE 18 BIT MODE TRANSFER (16 BIT TRANSFERS)
UNB36B==:100000 ;36 BIT MODE TRANSFERS
UNBVBT==:40000 ;VALID TRANSFER BIT
;PHYSICAL CORE DEFINITIONS FOR SM10 CTY AND KLINIK SERVICE
; AND PHYSICAL CORE LOCATIONS FOR OTHER FRONT-END FUNCTIONS
TIMWD1==:27
RLWORD==:31 ;RELOAD WORD
DEFSTR KSRLD,RLWORD,4,1 ;RELOAD REQUEST
DEFSTR KPACT,RLWORD,5,1 ;KEEP ALIVE ACTIVE
DEFSTR KLACT,RLWORD,6,1 ;KLINIK ACTIVE
DEFSTR PAREN,RLWORD,7,1 ;PARITY ERROR DETECT ENABLED
DEFSTR CRMPAR,RLWORD,8,1 ;CRAM PAR ERR DETECT ENABLED
DEFSTR DRMPAR,RLWORD,9,1 ;DRAM PAR ERR DETECT ENABLED
DEFSTR CASHEN,RLWORD,10,1 ;CACHE ENABLED
DEFSTR MILSEN,RLWORD,11,1 ;1MSEC ENABLED
DEFSTR KPALIV,RLWORD,28,8 ;KEEP ALIVE WORD
DEFSTR PWRFAL,RLWORD,33,1 ;POWER FAIL
DEFSTR FORREL,RLWORD,34,1 ;FORCED RELOAD
DEFSTR KEPFAL,RLWORD,35,1 ;KEEP ALIVE FAILURE
CTYIWD==:32 ;CTY INPUT WORD
DEFSTR CTYICH,CTYIWD,35,8 ;CTY INPUT CHARACTER
DEFSTR CTYIVL,CTYIWD,27,1 ;INPUT VALID BIT
CTYOWD=33 ;CTY OUTPUT WORD
DEFSTR CTYOCH,CTYOWD,35,8 ;CTY OUTPUT CHARACTER
DEFSTR CTYOVL,CTYOWD,27,1 ;OUTPUT VALID FLAG
KLIIWD==:34 ;KLINIK INPUT WORD
DEFSTR KLIICH,KLIIWD,35,8 ;KLINIK INPUT CHARACTER
DEFSTR KLIIVL,KLIIWD,27,1 ;KLINIK INPUT VALID
KLICHR==:1B27 ;KLINIK CHARACTER
KLIINI==:2B27 ;KLINIK INITED
KLICAR==:3B27 ;CARRIER LOST
KLIOWD==:35 ;KLINIK OUTPUT WORD
DEFSTR KLIOCH,KLIOWD,35,8 ;KLINIK OUTPUT CHARACTER
DEFSTR KLIOVL,KLIOWD,27,1 ;KLINIK OUTPUT VALID
KLOCHR==:1B27 ;KLINIK CHARACTER AVAILABLE
KLIHUP==:2B27 ;KLINIK HANGUP REQUEST
; DZ11 DEFINITIONS
DZUBAD==:3763000 ;ADDRESS OF UNIBUS ADAPTER
DZ110V==:340 ;INTERRUPT VECTOR ADDRESS FOR FIRST DZ11
DZ11BA==:3760010 ;BASE ADDRESS FOR FIRST DZ11
DZUBN==:3 ;UNIBUS ADAPTER NUMBER FOR DZ33'S
DZMNV==:10 ;SIZE OF EXTERNAL PAGE ADDRESSES
DZMAX==:4 ;MAX NUMBER OF DZ11'S THAT ARE LEGAL
DZCTLN==:1 ;CTY LINE NUMBER FOR CTYTCR
;CSR BIT DEFINITIONS
DZTRDY==:1B20 ;TRANSMIT READY
DZTIEN==:1B21 ;TRANSMIT INTERRUPT ENABLE
DZSILO==:1B22 ;SILO ALARM
DZSIEN==:1B23 ;SILO ALARM ENABLE
DZTXLN==:7B27 ;TRANSMIT LINE NUMBER
DZRRDY==:1B28 ;RECEIVE READY
DZRIEN==:1B29 ;RECIEVE INTERRUPT ENABLE
DZMSCN==:1B30 ;MASTER SCAN ENABLE
DZCLR==:1B31 ;CLEAR (RESET)
;RECEIVER BUFFER DEFINITIONS
DZRDVL==:1B20 ;DATA VALID
DZROVR==:1B21 ;OVER RUN
DZRFRM==:1B22 ;FRAME ERROR
DZRPAR==:1B23 ;PARITY ERROR
DZRLIN==:7B27 ;LINE NUMBER
;LINE PARAMETER DEFINITIONS
DZ1RXO==:1B23 ;RECEIVE ON
DZ1FRQ==:4B27 ;LINE FREQUENCY
DZ1OPA==:1B28 ;ODD PARITY
DZ1PEN==:1B29 ;PARITY ENABLE
DZ1STP==:0 ;STOPCODE
DZ2STP==:1B30 ;STOPCODE 2 BITS
DZ1CHL==:3B32 ;CHARACTER LENGTH
DZ8BIT==:30 ;8BIT CHARACTER DEFINITION
DZ1LNO==:7B35 ;LINE NUMBER
;DZ11 OFFSET INTO DEVICE DEFINITIONS
DZCSR==:0 ;CONTROL AND STATUS
DZRBUF==:2 ;RECEIVER BUFFER
DZLPR==:2 ;LINE PARAMETER REGISTER
DZTCR==:4 ;TRANSMIT CONTROL
DZDTR==:5 ;DATA TERM READY FLAGS (HIGH BYTE OF TCR
DZRNG==:6 ;RING INDICATOR
DZCAR==:7 ;CARRIER
DZTBUF==:6 ;TRANSMITTER BUFFER
DZBRK==:7 ;BREAK (HIGH OF TBUF)
;KMC11 DEFINITIONS
KMCADR==:3760540 ;ADDRESS OF KMC11
KMCUBN==:3 ;UNIBUS NUMBER TO USE FOR KMC11
KMCVEC==:000540 ;VECTOR OF KMC11
;RH11 DEFINITIONS
RH11CA==:1776700 ;FIRST ADDRESS OF RH11
RH21CA==:3772440 ;SECOND RH11
RH11IV==:254 ;INTERRUPT VECTOR ADDRESS
RH21IV==:224 ;INTERRUPT VECTOR ADDRESS OF 2ND RH
RH11UB==:1 ;UNIBUS NUMBER FOR FIRST RH11
RH21UB==:3 ;UNIBUS NUMBER FOR SECOND RH11
;
;LP20 DEFINITIONS
LPTUBN==:3 ;UNIBUS NUMBER TO USE FOR LINEPRINTER
LP11CA==:3775400 ;EXTERNAL PAGE ADDRESS OF FIRST LP20
LP11IV==:754
LPEXPE==:20 ;SIZE OF EXTERNAL PAGE ADDRESSES
; OFFSETS INTO THE EXTERNAL PAGE REGISTERS
LPCSRA==:0 ;CONTROL AND STATUS REGISTER A
LPCSRB==:2 ;CONTROL AND STATUS REGISTER B
LPBSAD==:4 ;BUS ADDRESS REGISTER (CURRENT ADDRESS)
LPBCTR==:6 ;BYTE COUNT REGISTER (2'S COMPLEMENT)
LPPCTR==:10 ;PAGE COUNTER
LPRAMD==:12 ;RAM DATA REGISTER
LPCBUF==:14 ;(BYTE) CHARACTER BUFFER REGISTER
LPCCTR==:15 ;(BYTE) COLUMN COUNT REGISTER
LPTDAT==:16 ;(BYTE) PRINTER DATA REGISTER
LPCKSM==:17 ;(BYTE) CHECKSUM REGISTER
;WORD BIT DEFINITIONS IN LPCSRA
LPWDON==:000200 ;LP DONE
LPWIEN==:000100 ;LP INTERRUPT ENABLE
LPWA17==:40 ;B17 OF PDP-11 ADDRESS (EXTENDED)
LPWA16==:20 ;B16
LPWDVU==:000010 ;LOAD DAVFU
LPWTM==:000004 ;TEST MODE
LPWPEN==:000002 ;PARITY ENABLE
LPWGO==:000001 ;GO
LPWERR==:<200>B<35-8> ;ERROR (COMPOSITE)
LPWPZR==:<100>B<35-8> ;PAGE COUNTER REACHED 0
LPWCI==:<40>B<35-8> ;UNDEFINED CHARACTER INTERRUPT
LPWDR==:<20>B<35-8> ;DAVFU READY
LPWOL==:<10>B<35-8> ;ON LINE
LPWDH==:<4>B<35-8> ;DELIMITER HOLD
LPWRSE==:<2>B<35-8> ;RESET ERROR
LPWINT==:<1>B<35-8> ;LP INITIALIZE
;BYTE BIT DEFINITIONS IN LPCSRA
LP1DON==:000200 ;LP DONE
LP1IEN==:000100 ;LP INTERRUPT ENABLE
LP1A17==:40 ;B17 OF PDP-11 ADDRESS (EXTENDED)
LP1A16==:20 ;B16
LP1DVU==:000010 ;LOAD DAVFU
LP1TM==:000004 ;TEST MODE
LP1PEN==:000002 ;PARITY ENABLE
LP1GO==:000001 ;GO
;BYTE BIT DEFINITIONS IN LPCSRA+1 (-11 LPCSRA BITS 15,14,13,12,11,10,9,8)
LP1ERR==:200 ;ERROR (COMPOSITE)
LP1PZR==:100 ;PAGE COUNTER REACHED 0
LP1CI==:40 ;UNDEFINED CHARACTER INTERRUPT
LP1DR==:20 ;DAVFU READY
LP1OL==:10 ;ON LINE
LP1DH==:4 ;DELIMITER HOLD
LP1RSE==:2 ;RESET ERROR
LP1INT==:1 ;LP INITIALIZE
;WORD LPCSRB BIT DEFINITIONS
LPWOFL==:000200 ;OFF LINE
LPWDVN==:000100 ;DAVFU NOT READY
LPWPER==:000040 ;LINE PRINTER PARITY ERROR
LPWMPE==:000020 ;MEMORY PARITY ERROR
LPWRPE==:000010 ;RAM PARITY ERROR
LPWSYE==:000004 ;MASTER SYNC ERROR
LPWDME==:000002 ;DEMAND TIME-OUT ERROR
LPWGOE==:000001 ;GO ERROR
LPWVDT==:200B<35-8> ;VALID DATA
LPWPNR==:40B<35-8> ;PRINTER NOT READY
LPWDPE==:20B<35-8> ;LINE PRINTER DATA PARITY ERROR
LPWOVF==:10B<35-8> ;OPTICAL VFU
;BYTE LPCSRB BIT DEFINITIONS
LP1OFL==:000200 ;OFF LINE
LP1DVN==:000100 ;DAVFU NOT READY
LP1PER==:000040 ;LINE PRINTER PARITY ERROR
LP1MPE==:000020 ;MEMORY PARITY ERROR
LP1RPE==:000010 ;RAM PARITY ERROR
LP1SYE==:000004 ;MASTER SYNC ERROR
LP1DME==:000002 ;DEMAND TIME-OUT ERROR
LP1GOE==:000001 ;GO ERROR
;BYTE LPCSRB+1 BIT DEFS
LP1VDT==:200 ;VALID DATA
LP1PNR==:40 ;PRINTER NOT READY
LP1DPE==:20 ;LINE PRINTER