; DLV1.CMD ; ============ ; ; Command file to deliver Package 1 ; Package 1 : RTL/2 compiler for RSX-11M/11M+ with Symbolic Debug. ; Version : 10.0 ; ; You should be logged into a privileged account. ; ; .enable substitution .enable global .disable lowercase .; .ask OK Is it OK to continue .iff OK .exit ; ; The delivery sequence requires PIP,MAC,TKB,LBR ; .doins: .sets nins "" .ifnins ...PIP .sets nins nins+"PIP " .ifnins ...TKB .sets nins nins+"TKB " .ifnins ...MAC .sets nins nins+"MAC " .ifnins ...LBR .sets nins nins+"LBR" .if nins eq "" .goto insok ; ; The following utilities should be installed: 'nins' ; .pause .goto doins .; Check user has done it properly! .; .insok: .gosub setcli ; ; The delivery consists of the following steps: ; ; (1) Build the utilities ; (2) Build the control routines. ; (3) Transfer built utilities and run-time software to your ; appointed "RTL/2" library directory .; .; Get required info from user. .; .userin: .again: ; ; Before we can proceed further, we need to know the device and ; User Directory name/UIC where the package software has been placed. ; You should have FULL ACCESS to this directory. ; .idev1: .asks DEV Name of device holding the delivered software (DDn:) .gosub chkdev .iff devok .goto idev1 .sets indev DEV ; .ift isdcl .sets dflt .iff isdcl .sets dflt .getuic: .asks [::dflt] UDIR Enter the name/UIC of the delivery directory .gosub chkuic .iff udirok .goto getuic .sets indir1 UDIR .sets indir2 UDIR .sets indir3 UDIR .sets indir4 UDIR .; .; Finished getting delivery information .; .gotinf: ; .ask DBG Do you want the Symbolic Debugger delivered ; ; ; We recommend that you keep your commonly-used RTL/2 software in ; an "RTL/2 library" User Directory ; (you should have WRITE ACCESS to this directory during this delivery). ; .odev1: .asks DEV Name of device on which to place the built utilities .gosub chkdev .iff devok .goto odev1 .sets outdev DEV ; .uico: .asks UDIR Name/UIC of directory to hold built utilities .gosub chkuic .iff udirok .goto uico .sets outdir UDIR ; ; To build the utilities certain information is required :- ; .ask MPLUS Will you be running the utilities under Micro/RSX or RSX-11M+ ; .asks [::"GEN"] PART In which partition are the utilities to run ; .sets wrkmem "DISK" .ask WRK Should utility work files be memory-resident (default is on disk) .ift WRK .sets wrkmem "MEM" .; .askfcs: .sets fcsnam "" .sets fcsres "LIB" ; .ask FCS Should utilities use memory-resident FCS (default is library) .iff FCS .goto gotfcs .sets fcsres "MEM" ; .sets fcsnam "FCSRES" .ift MPLUS .and .ift FCS .asks FSL Build utilities using FCSRES or FCSFSL (RES or FSL) .ift MPLUS .and .ift FCS .sets fcsnam "FCS"+FSL .if fcsnam ne "FCSRES" .and .if fcsnam ne "FCSFSL" .goto askfcs .; .gotfcs: ; ; To build the correct set of control routines for user programs ; we require certain information concerning the environment in ; which these programs will run (which need not be the same as ; the "host" environment in which the utilities will run). ; .start: .; .ask IANDD Will the user programs run with separate I- and D- spaces .ift IANDD .sets plusm ",rtlc12," .iff IANDD .sets plusm "," ; .ask TRAP Will the user programs use the Trap handler interface .ift TRAP .sets ztrap "rtlc13," .iff TRAP .sets ztrap "" ; .ask REALS Will the user programs ever use REAL variables .iff REALS .goto noreal ; .ask FPP Will the user programs be run on systems with the FPP co-processor .iff FPP .setf OLDFPP .ift FPP ; .ift FPP .ask OLDFPP Will the user programs need the old FPP control routines .ift OLDFPP .sets fppold "rtlc14," .iff OLDFPP .sets fppold "" .ift FPP .setf FIS .iff FPP ; .iff FPP .ask FIS Will the user programs be run on systems with FIS .ift FIS ; It is assumed that the compiler FP (FIS) option will always be used .; .noreal: .ift IANDD .sett EIS .ift IANDD .sett EISW .ift IANDD .goto setctr .; .ifndf FPP .or iff FPP .goto nofpp ; Having FPP means that EIS will also be available .sett EIS .sett EISW .goto setctr .; .nofpp: .ask EIS Will the user programs be run on systems with EIS .ift EIS .ask EISW Will the compiler EI switch always be used .; .setctr: .ift REALS .goto real .; No reals used .; EIS will not be used .iff EIS .sets contrl "1" .iff EIS .goto finctl .; EIS will be used .iff EISW .sets contrl "2" .ift EISW .sets contrl "3" .goto finctl .; Reals used .real: .; EIS will not be used .iff EIS .sets contrl "4" .iff EIS .and .ift FIS .sets contrl "7" .iff EIS .goto finctl .; EIS will be used .; FPP is available => EI switch used .ift FPP .sets contrl "11" .ift FPP .goto finctl .; FPP is not available - .; FIS available => FP option used .ift FIS .and .ift EISW .sets contrl "9" .ift FIS .and .iff EISW .sets contrl "8" .; FIS not available => FP option not used .; i.e. should always use FP option if FIS available .iff FIS .and .ift EISW .sets contrl "6" .iff FIS .and .iff EISW .sets contrl "5" .finctl: ; ; The information you have supplied will now be displayed on the screen. ; If it is not correct, type NO and re-enter the data from the start. .; .open p1log.dat .data Package 1 delivery '' '