* Need Informations about RSXMC.MAC file for PDP 11/73
@ 1992-06-22 5:25 Oliver Kretzschmar
1992-06-23 10:53 ` gezelter
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Kretzschmar @ 1992-06-22 5:25 UTC (permalink / raw)
Hey,
I have simple questions to the RSXMC.MAC files, which were
generated by sysgen, when you install RSX-11M V4.2 on a
PDP. Who can tell me something about the defined symbols and
the macros in such a file (an example is appended below) ?
Exists for this symbols a.s.o. good documents or books ? Is it
possible to fit such a file for another PDP and which are the
important symbols, because our FTP TCP/IP software, which
we want to install, needs such a file and the original file
was lost. The PDP, where we want to install this FTP-software
is a PDP 11/73, running RSX-11M PLUS V4.2 and has 2 x 800 MB,
2 x 1400 MB disks, 1 SONY Optical disk with 600 MB, Q-BUS,
and 1 MB of RAM.
What function have the macros after "exec macros" ?
Are they importat ? Please mail me your informations !
Thanks for your efforts,
Oliver
***************************************************************************
.IIF NDF S$$YDF , .NLIST
.TITLE RSXMC
.IDENT /M4.2/
;
; COPYRIGHT (c) 1983, 1985 BY
; DIGITAL EQUIPMENT CORPORATION, MAYNARD
; MASSACHUSETTS. ALL RIGHTS RESERVED.
;
; THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY
; BE USED AND COPIED ONLY IN ACCORDANCE WITH THE
; TERMS OF SUCH LICENSE AND WITH THE INCLUSION OF THE
; ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR ANY OTHER
; COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE
; MADE AVAILABLE TO ANY OTHER PERSON. NO TITLE TO
; AND OWNERSHIP OF THE SOFTWARE IS HEREBY TRANSFERRED.
;
; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO
; CHANGE WITHOUT NOTICE AND SHOULD NOT BE CONSTRUED
; AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
;
; DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR
; RELIABILITY OF ITS SOFTWARE ON EQUIPMENT THAT IS
; NOT SUPPLIED BY DIGITAL.
;
;
; VERSION M4.2 BASELEVEL 38D
;
; CREATED BY SYSGEN VERSION 3.06
;
V$$RSN=42 ;RSX-11M V4.2
B$$LV1="38 ;BASELEVEL 38
B$$LV2="D ;BASELEVEL REVISION OF "D "
S$$NM1="EN ;FIRST 2 CHARS OF SYSTEM NAME
S$$NM2="ER ;SECOND 2 CHARS OF SYSTEM NAME
S$$NM3="GY ;THIRD 2 CHARS OF SYSTEM NAME
R$$TPR="83 ;TYPE OF PDP-11 PROCESSOR
A$$CPS=0 ;ACP SUPPORT
M$$FCS=0 ;FCS/FILE SYSTEM SUPPORT
F$$LVL=1 ;FILES STRUCTURE LEVEL SUPPORT
C$$CKP=4. ;CHECKPOINTING SUPPORT
D$$YNC=0 ;DYNAMIC CHECKPOINT ALLOCATION
D$$ISK=0 ;NONRESIDENT TASK SUPPORT
M$$MGE=0 ;MEMORY MANAGEMENT
D$$YNM=0 ;DYNAMIC MEMORY ALLOCATION SUPPORT
D$$SHF=0 ;AUTOMATIC DYN. MEM. COMPACTION
P$$LAS=0 ;PROGRAM LOGICAL ADDRESS EXTENTIONS
P$$SRF=0 ;SEND/RECEIVE BY REFERENCE
P$$GMX=0 ;GET MAPPING CONTEXT
A$$CHK=0 ;ADDRESS CHECKING
I$$RDN=0 ;I/O RUNDOWN
M$$MUP=0 ;MULTI-USER PROTECTION
T$$BTW=0 ;BREAKTHROUGH WRITE
A$$TRP=0 ;AST SUPPORT
C$$SMT=0 ;CANCEL SELECTIVE MARK TIMES
R$$SND=0 ;SEND/RECEIVE DIRECTIVES
D$$IAG=0 ;DIAGNOSTIC FUNCTIONS
L$$DRV=0 ;LOADABLE DRIVER SUPPORT
G$$TPP=0 ;GET PARTITION PARAMETERS DIRECTIVE
L$$ASG=0 ;LOGICAL UNIT ASSIGNMENT
M$$NET=0 ;EXTERNAL COMMUNICATIONS PRODUCTS (NETWORKS)
S$$WST=0 ;SWITCH STATE DIRECTIVE
R$$IIC=0 ;INTERNAL I/O COMPLETION
A$$CLI=3. ;ALTERNATE CLI SUPPORT; MAX NUM OF 3. CLIS
P$$CTL=0 ;POOL MONITORING TASK SUPPORT
P$$HIL=1600. ;HIGH POOL LIMIT
P$$LOL=600. ;LOW POOL LIMIT
P$$BPR=51. ;POOL BASE PRIORITY TASK CONTROL
P$$FRS=200. ;LOWEST PERMISSIBLE SIZE OF LARGEST POOL FRAGMENT
G$$TTK=0 ;GET TASK PARAMETERS DIRECTIVE
T$$KMG=0 ;TASK TERM./DEVICE NOT READY MESSAGES
A$$PRI=0 ;ALTER PRIORITY DIRECTIVE
C$$INT=0 ;CONNECT TO INTERRUPT DIRECTIVE
P$$OFF=0 ;PARENT/OFFSPRING TASKING
R$$POI=0 ;REQUEST AND PASS OFFSPRING INFO
E$$XPR=0 ;EXTEND PARTITION (TASK) DIRECTIVE
A$$BRT=0 ;SPECIFY REQUESTED EXIT AST DIRECTIVE
S$$TIM=0 ;SET SYSTEM TIME DIRECTIVE
Q$$OPT=5. ;PRE-ALLOCATE I/O PACKETS
N$$MOV=33. ;SIZE OF BLXIO 'MOV' TABLE
I$$RAR=0 ;INSTALL, REQUEST, AND REMOVE ON EXIT
T$$CCA=0 ;UNSOLICITED INPUT AST
T$$CTR=0 ;CONTROL-R SUPPORT
T$$GMC=0 ;GET TERMINAL CHARACTERISTICS
T$$SMC=0 ;SET TERMINAL CHARACTERISTICS
T$$GTS=0 ;GET TERMINAL DRIVER SUPPORT
T$$RPR=0 ;READ AFTER PROMPT
T$$RUB=0 ;CRT RUBOUT SUPPORT
T$$UTO=120. ;TIME OUT ON UNSOLICITED INPUT
T$$CUP=0 ;DEVICE INDEPENDENT CURSOR POSITIONING
T$$EIO=0 ;EXTENDED I/O FUNCTION SUPPORT
T$$TSA=0 ;NETWORK COMMAND TERMINAL SUPPORT
T$$CPW=0 ;FULL DUPLEX TERMINAL DRIVER
A$$BIO=0 ;ASYNCHRONOUS BUFFERED I/O
T$$BUF=0 ;CHECKPOINTABLE DURING TERMINAL INPUT
.IIF DF T$$CPW, T$$ACR=0
.IIF DF T$$CPW, T$$HFF=0
.IIF DF T$$CPW, T$$CCO=0
.IIF DF T$$CPW, T$$HLD=0
.IIF DF T$$CPW, T$$TRW=0
.IIF DF T$$CPW, T$$RNE=0
.IIF DF T$$CPW, T$$30P=0
.IIF DF T$$CPW, T$$VBF=0
.IIF DF T$$CPW, T$$UTB=0
.IIF DF T$$CPW, T$$SYN=0
.IIF DF T$$CPW, T$$RST=0
.IIF DF T$$CPW, T$$LWC=0
T$$ESC=0 ;ESCAPE SEQUENCE SUPPORT
T$$RED=0 ;HARDWARE RECEIVE ERROR SUPPORT
R$$EXV=0 ;EXTEND EXECUTIVE TO 20K
R$$NDC=30. ;CLOCK TICKS PER SCHEDULING INTERVAL
R$$NDH=249. ;HIGHEST PRIORITY CLASS TO CONSIDER
R$$NDL=1. ;LOWEST PRIORITY CLASS
S$$WPC=180. ;CLOCK TICKS PER SWAPPING INTERVAL
S$$WPR=5. ;SWAPPING PRIORITY
G$$WRD=0 ;INCLUDE $GTWRD CODE
P$$WRD=0 ;INCLUDE $PTWRD CODE
X$$DBT=0 ;EXECUTIVE DEBUGGING TOOL
R$$DER=0 ;CORAL DEALLOCATION ERROR CHECKING
L$$LDR=0 ;LOADABLE LOADER SUPPORT
S$$TOP=0 ;STOP BIT DIRECTIVES
C$$TTY=177564 ;REGISTER/STACK DUMP DEVICE CSR ADDRESS
C$$RSH=177564 ;CRASH REPORTING
E$$DVC=0 ;LOG DEVICE ERRORS AND TIMEOUT
E$$LOG=0 ;ERROR LOGGING
C$$ORE=1042. ;SIZE OF DYNAMIC STORAGE REGION
S$$YSZ=508.*32. ;SIZE OF PHYSICAL MEMORY IN 32W BLOCKS
M$$EXT=0 ;EXTENDED MEMORY SUPPORT
U$$MRN=170224 ;ADDRESS OF NEXT AVAILABLE UMR
U$$MHI=0 ;HIGH PART OF UNIBUS ADDRESS
U$$MLO=120000 ;LOW PART OF UNIBUS ADDRESS
N$$UMR=5*4 ;BYTES OF STATICALLY ALLOCATED UMR'S
F$$LPP=0 ;FLOATING POINT PROCESSOR SUPPORT
M$$EIS=0 ;EXTEND INSTRUCTION SET SUPPORT
L$$50H=0 ;50Hz LINE FREQUENCY
H$$RTZ=50. ;LINE FREQUENCY
K$$CSR=177546 ;LINE CLOCK CSR ADDRESS
K$$CNT=177546 ;COUNT REGISTER ADDRESS
K$$TPS=50. ;TICKS PER SECOND
K$$LDC=1 ;LOAD COUNT VALUE
K$$IEN=115 ;CLOCK INTERRUPT ENABLE (KW11-P AT LINE FREQ)
D$$WCK=0 ;DISK WRITECHECK SUPPORT
S$$WLK=0 ;SOFTWARE WRITELOCK SUPPORT
Q$$MGR=0 ;QUEUE MANAGER SUPPORT
R$$611=1. ;RK611 DISK CART CONTROLLERS
R$$X21=1. ;RX211 DISK CONTROLLERS
C$$ONS=1. ;CONSOLE DRIVER
N$$LDV=1. ;NULL DEVICE
M$$OVR=0 ;OVERLAYED MCR
M$$CRX=0 ;EXTERNAL MCR FUNCTIONS
LD$DM=0 ;LOADABLE: DMDRV
LD$DY=0 ;LOADABLE: DYDRV
LD$CO=0 ;LOADABLE: CODRV
D$$L11=4. ;DL11 A/B/C/D LINE INTERFACES
LD$TT=0 ;LOADABLE TTDRV
V$$CTR=400 ;HIGHEST INTERRUPT VECTOR
S$$HFC=30. ;MINIMUM TICKS BETWEEN SHUFFLER RUNS
M$$CRB=84. ;MCR COMMAND BUFFER LENGTH
R$$11M=0 ;RSX-11M SYSTEM
;
;
.IIF DF C$$CKP&T$$BUF!A$$BIO K$$AST=0
.IIF DF A$$BIO&T$$BUF K$$AST=0
.IIF DF P$$OFF K$$AST=0
.IIF DF P$$SRF&G$$EFN K$$AST=0
;
;
; EXEC MACROS
;
;
; ASSUME MACRO FOR CHECKING ADJACENCY AND OFFSET VALUE ASSUMPTIONS
;
.MACRO ASSUME A,B=0
.IF NE <A>-<B>
.ERROR ;EXPRESSION(S) NOT EQUAL
.ENDC
.ENDM
;
; CALL SUBROUTINE
;
.MACRO CALL SUBR ARG
.IF IDN <$INTSV>,<SUBR>
JSR R5,$INTSV
.IF DF L$$SI1
.WORD ARG
.IFF
.WORD ^C<ARG>&PR7
.ENDC
.IFF
.IF IDN <$SAVNR>,<SUBR>
JSR R5,$SAVNR
.IFF
.IF IDN <$SWSTK>,<SUBR>
EMT 376
.WORD ARG
.IFF
JSR PC,SUBR
.ENDC
.ENDC
.ENDC
.ENDM
;
; CALL AND RETURN FROM SUBROUTINE
;
.MACRO CALLR SUBR
JMP SUBR
.ENDM
;
; CRASH SYSTEM
;
.MACRO CRASH
IOT
.ENDM
;
; DIRECTIVE REGISTER SAVE AND SET PRIORITY
;
.MACRO DIRSV$
JSR R5,$DIRSV
.ENDM
;
; SET DIRECTIVE STATUS
;
.MACRO DRSTS VALUE
TRAP VALUE
.ENDM
;
; GENERATE INTERRUPT ROUTINE ENTRY POINT LABEL
;
.IF DF E$$DVC
.MACRO INTLB NUM,NAM
$'NAM'NUM'T::
.ENDM
.ENDC
;
; INTERRUPT SAVE GENERATION MACRO FOR ERROR LOGGING DEVICES
;
.MACRO INTSE$ DEV,PRI,NCTRLR,PSWSV,UCBSV,?LAB
.IF DF L$$DRV & LD$'DEV & M$$MGE
$'DEV'INT::
.IF NDF E$$DVC
.IF EQ NCTRLR-1
CLR R4
.ENDC
.ENDC
.IFF
.IF NDF E$$DVC
$'DEV'INT::INTSV$ DEV,PRI,NCTRLR,PSWSV,UCBSV
.IF EQ NCTRLR-1
CLR R4
.ENDC
.MEXIT
.IFF
$$$=0
.REPT NCTRLR
INTLB \$$$,DEV
JSR R5,$INTSE
SCBLB \$$$,DEV
.IF DF L$$SI1
.WORD PRI
.IFF
.WORD ^C<PRI>&PR7
.ENDC
.IF GT NCTRLR-$$$-1
BR LAB
.ENDC
$$$=$$$+1
.ENDR
LAB:
.ENDC
.ENDC
GTUCB$ UCBSV,NCTRLR
.ENDM
;
; INTERRUPT SAVE GENERATION FOR NON-ERROR LOGGING DEVICES
;
.MACRO INTSV$ DEV,PRI,NCTRLR,PSWSV,UCBSV
.IF NDF L$$DRV ! M$$MGE ! LD$'DEV
.IF GT NCTRLR-1
.IF B <PSWSV>
MFPS TEMP
.IFF
MFPS PSWSV
.ENDC
.IFTF
JSR R5,$INTSV
.IF DF L$$SI1
.WORD PRI
.IFF
.WORD ^C<PRI>&PR7
.ENDC
.IFT
.IF B <PSWSV>
MOV TEMP,R4
.IFF
MOV PSWSV,R4
.ENDC
BIC #177760,R4
ASL R4
.ENDC
.ENDC
GTUCB$ UCBSV,NCTRLR
.ENDM
;
; GENERATE CODE TO LOAD UCB ADDRESS INTO R5 -- CALLED
; ONLY BY INTSE$ AND INTSV$
;
.MACRO GTUCB$ UCBSV,NCTRLR
.IF NB <UCBSV>
.IF GT NCTRLR-1
MOV UCBSV(R4),R5
.IFF
MOV UCBSV,R5
.ENDC
.IFF
.IF GT NCTRLR-1
MOV CNTBL(R4),R5
.IFF
MOV CNTBL,R5
.ENDC
.ENDC
.ENDM
;
; PROCESSOR STATUS READ/WRITE
;
.IF NDF L$$SI1
.MACRO MFPS DST
MOVB @#PS,DST
.ENDM
.MACRO MTPS SRC
.IF IDN <#0>,<SRC>
CLRB @#PS
.IFF
MOVB SRC,@#PS
.ENDC
.ENDM
.ENDC
;
; SAVE NONVOLATILE REGISTERS
;
.MACRO SAVNR
JSR R5,$SAVNR
.ENDM
;
; GENERATE STATUS CONTROL BLOCK REFERENCE LABEL
;
.IF DF E$$DVC
.MACRO SCBLB NUM,NAM
.WORD $'NAM'NUM
.ENDM
.ENDC
;
; RETURN FROM SUBROUTINE
;
.MACRO RETURN
RTS PC
.ENDM
;
; SOB LOOP INSTRUCTION
;
.IF NDF M$$EIS
.MACRO SOB A,B
DEC A
BNE B
.ENDM
.ENDC
;
; STATE SWITCHING MACRO
;
.MACRO SWSTK$ ARG
CALL $SWSTK,ARG
.ENDM
;
; GET I/O PACKET MACRO -- USED FOR RSX-11M-PLUS COMPATIBILITY
;
.MACRO GTPKT$ DEV,NCTRLR,ADDR,UCBSV,SUC
CALL $GTPKT
.IF B <ADDR>
BCC 65535$
RETURN
65535$:
.IFF
BCS ADDR
.ENDC
.IF B <UCBSV>
.IFF
.IF GT NCTRLR-1
MOV R5,UCBSV(R3)
.IFF
MOV R5,UCBSV
.ENDC
.ENDC
.ENDM
;
; GENERATE THE DRIVER DISPATCH TABLE -- DDT (USED FOR RSX-11M-PLUS COMPATIBILITY)
;
.MACRO DDT$ DEV,NCTRLR,INY,INX,UCBSV,NEW
$'DEV'TBL::
.IF B <INX>
.WORD DEV'INI
.IFF
.WORD DEV'INX
.ENDC
.WORD DEV'CAN
.WORD DEV'OUT
.WORD DEV'PWF
.IF NB NEW
.ERR NEW ; UNSUPPORTED RSX-11M-PLUS FEATURE
.ENDC
.IF NB <UCBSV>
UCBSV: .BLKW NCTRLR
.ENDC
.ENDM
.IIF NDF S$$YDF , .LIST
--
______ ______
/ @@ \ / @@ \ Big Guru is watching you ....
\______// \\______/
I I wnkretz@ikesg1.energietechnik.uni-stuttgart.de
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Need Informations about RSXMC.MAC file for PDP 11/73
1992-06-22 5:25 Need Informations about RSXMC.MAC file for PDP 11/73 Oliver Kretzschmar
@ 1992-06-23 10:53 ` gezelter
0 siblings, 0 replies; 2+ messages in thread
From: gezelter @ 1992-06-23 10:53 UTC (permalink / raw)
*** My apologies to the groups for posting this when a mail reply
was requested, however, E-mail sent to Herr Kretzschmar was
bounced with an "Address Expansion Error". ***
In article <1992Jun22.052548.9081@news.uni-stuttgart.de>, wnkretz@ikesg1.energietechnik.uni-stuttgart.de (Oliver Kretzschmar) writes:
>
>From: wnkretz@ikesg1.energietechnik.uni-stuttgart.de (Oliver Kretzschmar)
>Subject:Need Informations about RSXMC.MAC file for PDP 11/73
>Date: Mon, 22 Jun 1992 05:25:48 GMT
>Message-ID:<1992Jun22.052548.9081@news.uni-stuttgart.de>
>
> Hey,
>
> I have simple questions to the RSXMC.MAC files, which were
> generated by sysgen, when you install RSX-11M V4.2 on a
> PDP. Who can tell me something about the defined symbols and
> the macros in such a file (an example is appended below) ?
> Exists for this symbols a.s.o. good documents or books ? Is it
> possible to fit such a file for another PDP and which are the
> important symbols, because our FTP TCP/IP software, which
> we want to install, needs such a file and the original file
> was lost. The PDP, where we want to install this FTP-software
> is a PDP 11/73, running RSX-11M PLUS V4.2 and has 2 x 800 MB,
> 2 x 1400 MB disks, 1 SONY Optical disk with 600 MB, Q-BUS,
> and 1 MB of RAM.
>
> What function have the macros after "exec macros" ?
> Are they importat ? Please mail me your informations !
>
> Thanks for your efforts,
>
> Oliver
>
> .... Copy of RSXMC.MAC deleted ....
--
Oliver,
By way of introduction, I have over 15 years experience with RSX
internals, and am the former RSX-11 Editor for Hardcopy magazine
(which is no longer published). I have spoken on RSX internals
in North America and overseas.
RSXMC.MAC contains a list of options and features selected to be
included in the system. The file is used as an input to MACRO-11
when assembling all of the components of the Executive, the
device drivers, and most privileged code. Both the symbol
definitions and the macros are used throughout the RSX-11M
Executive, drivers, and tasks, so the entire file is needed.
The file can be considered to consist of three components,
Executive configuration symbols, device configuration symbols,
and general macros.
The first part, the Executive configuration symbols, can
be recreated a variety of ways, depending upon which files you
have and which files you do not have. For example, the values of
some of the symbols can be ascertained by trying to use the
Executive features that they control (e.g. If you are able to use
LOGIN, and allocate devices, then your system must have symbol M$$MUP
defined). Please note that most of the tests are .IFDF or .IFNDF,
which means that the existence of the symbol is checked, not its
value.
Other symbols can be similarly verified by examining parts of the
Executive image. Another file which contains much of the
information is file SYSSAVED.DAT, which is the saved answer file
for the SYSGEN process. In the worst case, a new SYSGEN can be
performed.
The device configuration macros define which devices are present
in the system, and related parameters. They are used only in the
assembly of the device drivers, so are not likely to be relevant
in your case.
The remaining segment, the macros, are used throughout the Exec
and all other privileged code. They are needed, but in any event,
they are the same for all RSX-11M system, regardless of the
configuration options selected (the macros themselves contain
conditional text where appropriate).
I hope that the above is helpful. If I can be of further
assistance, please do not hesitate to contact me.
- Bob
+--------------------------------------------------------------------------+
| Robert "Bob" Gezelter E-Mail: gezelter@rlgsc.com |
| Robert Gezelter Software Consultant Voice: +1 718 463 1079 |
| 35-20 167th Street, Suite 215 Fax: (on Request) |
| Flushing, New York 11358-1731 |
| United States of America |
+--------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-06-23 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-06-22 5:25 Need Informations about RSXMC.MAC file for PDP 11/73 Oliver Kretzschmar
1992-06-23 10:53 ` gezelter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox