.ENABLE SUBSTITUTION
;TEMPLATE COMMAND FILE FOR GENERATING VE: PACKAGE
;ASSUMES BOTH EXEMC.MLB AND RSXMC.MAC ARE IN LB:[1,1]
;AND THAT ALL FILES ARE IN THIS AREA. BE SURE THAT
;VEPRE.MAC IS EDITED TO NUMBER OF VE: LUNS WANTED
;
;THIS FILE CAN HANDLE VE: AS A SINGLE-FILE-PER DISK VIRTUAL DISK
;(THE OLD STYLE) OR ALLOW MULTIPLE FILES ASSOCIATED WITH EACH
;VIRTUAL DISK. THE LATTER CAN WORK WITH 1 FILE IN A DISK, BUT ALLOWS
;UP TO 8 (EDIT SRC TO GET MORE). THE SINGLE FILE STYLE LOCKS THE CONTAINER
;FILE AND CHECKS FOR THE CONTAINER ASSIGNED; THE MULTIPLE FILE VERSION
;DOES LESS CHECKS AND IT CAN EASILY CAUSE ERRORS.
.ASK MVE DO YOU WANT THE MULTI-FILE VIRTUAL DISK FLAVOR
;YOU CAN HAVE AS MANY UNITS AS YOU LIKE OF VE: AND SOME OF THEIR
;NUMBER (THE LAST "N") CAN BE SINGLE-DIRECTORY STRUCTURES (HANDY IF YOU
;WANT EVERYONE TO BE ABLE TO ACCESS A DIRECTORY STRUCTURE WITHOUT NEEDING A
;UIC).
.ASKN VE11 HOW MANY UNITS OF VE: DO YOU WANT
.ASKN NVDS HOW MANY OF THESE UNITS SHOULD BE SINGLE-DIRECTORY DEVICES
;THE VE: PACKAGE CAN SUPPORT RSX11M OR RSX11M+. THIS VERSION IS KNOWN TO
;WORK IN RSX11M V3.2, RSX11M+ V1, AND RSX11M+ V2 AND BELIEVED TO BE SET
;UP CORRECTLY FOR RSX11M V4. YOU MUST HOWEVER SPECIFY IF YOU HAVE ONE OF
;THE NEWER VERSIONS. NOTE FOR M+ V2: THE EXTRA VERSIONS OF AVE,AVEX, AND DVE
;WITH MODIFIED FILE NAMES ARE EXPERIMENTAL VERSIONS THAT MAY ALLOW THEM
;TO BE BUILT WITH EXTERNAL HEADERS; TRY THEM IF YOU LIKE. THIS FILE BUILDS
;THE NON-EXTERNAL-HEADER ONES.
.ASK RMV4 IS THIS VE: FOR RSX11M V4
.ASK RMPV2 IS THIS VE: FOR RSX11M+ V2
.OPEN VESYM.MAC
.DATA X..DF.=0
.DATA V$$E11='VE11'
.DATA N$VDS='NVDS'
.IFT MVE .DATA M$VE$$=0
.IFT MVE .DATA $M$VE$=0
.IFT RMV4 .DATA R$MV4=0
.IFT RMPV2 .DATA R$MPV2=0
.CLOSE
.ASK AGU ASSEMBLE AVE,DVE,AVEX UTILS
.IFF AGU .GOTO VQQ
MAC AVE=LB:[1,1]EXEMC/ML,RSXMC,SY:'<UIC>'VESYM,VEPRE,AVE
MAC AVEX=LB:[1,1]EXEMC/ML,RSXMC,SY:'<UIC>'VESYM,VEPRE,AVEX
MAC DVE=LB:[1,1]EXEMC/ML,RSXMC,SY:'<UIC>'VESYM,VEPRE,DVE
.VQQ:
.ASK VGA ASSEMBLE VETBL,VEDRV?
.IFF VGA .GOTO VQR
MAC VETBL=LB:[1,1]EXEMC/ML,RSXMC,SY:'<UIC>'VESYM,VEPRE,VETBL
MAC VEDRV=LB:[1,1]EXEMC/ML,RSXMC,SY:'<UIC>'VESYM,VEPRE,VEDRV
.VQR:
.ASK BD BUILD ALL?
.IFF BD .GOTO DDDN
.ASK MM2 IS THIS RSX11M+ V2 (OR M V4?)
.SETS XHH ""
.IFT MM2 .SETS XHH "/-XH"
;BUILD NOW
.OPEN VEBLD.TKB
.DATA AVE'XHH'/PR/CP/-FP=AVE,LB:[1,54]RSX11M.STB/SS,[1,1]EXELIB/LB
.DATA /
.DATA ASG=TI:2
.DATA TASK=...AVE
.DATA /
.DATA AVEX'XHH'/PR/CP/-FP=AVEX,LB:[1,54]RSX11M.STB/SS,[1,1]EXELIB/LB
.DATA /
.DATA ASG=TI:2
.DATA TASK=...AVX
.DATA /
.DATA DVE'XHH'/PR/CP/-FP=DVE,LB:[1,54]RSX11M.STB/SS,[1,1]EXELIB/LB
.DATA /
.DATA ASG=TI:2
.DATA TASK=...DVE
.DATA /
.DATA VEDRV/-MM/-HD,,VEDRV=VEDRV,VETBL,LB:[1,54]RSX11M.STB/SS
.DATA LB:[1,1]EXELIB/LB
.DATA /
.DATA STACK=0
.DATA PAR=DRVPAR:120000:4000
.DATA UNITS=0
.DATA //
.CLOSE
TKB @VEBLD.TKB
.DDDN:
