;
;	VIRTUAL DISK PACKAGE
;
; Bob Denny  02-Aug-82
;
; This command file requires the following device assignments:
;
;	SY0:	Source disk - VDDRV.MAP goes here
;	LI0:    Listings device
;	LB0:	System library disk
;	TG0:	Target disk
;
; NOTE, TG0: is used to supply the executive configuration and
; symbol table file. The resulting tasks and drivers are placed
; are left in this UIC.
;
; If the current device assignments are correct, answer the next
; question 'YES'. If 'NO', the command file will pause while you
; make the assignments. The current assignments are shown below:
;
.ENABLE SUBSTITUTION
.SETS $C ""
.IF <CLI> NE "MCR" .SETS $C "MCR "
'$C'ASN
;
.ASK FLAG Assignments correct
.IFT FLAG .GOTO 100
.PAUSE
.100: ;
;
; The file LB:[11,10]RSXMC.MAC must have been edited to include
; definitions for the symbol V$$D11 equal to the number of units
; desired, and the symbol LD$VD defined (=0)  if this is to be
; a loadable driver (ALMOST ALWAYS!).
;
.ASK OK Has LB:[11,10]RSXMC.MAC been edited
.IFT OK .GOTO 101
; Pausing to allow the edit
.PAUSE
.101:
;
.ASKS PAR Name of partition for VDDRV
;
.ASK $RESLB Build AVD and DVD with FCSRES?
;
; ASSEMBLE VIRTUAL DISK SOURCES.
;
'$C'MAC AVD,LI:AVD/-SP=LB0:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,SY0:'<UIC>'VDPRE,AVD
'$C'MAC DVD,LI:DVD/-SP=LB0:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,SY0:'<UIC>'VDPRE,DVD
'$C'MAC VDDRV,VDDRV/-SP=LB0:[1,1]EXEMC/ML,[11,10]RSXMC,SY0:'<UIC>'VDPRE,VDDRV
'$C'MAC VDTAB,VDTAB/-SP=LB0:[1,1]EXEMC/ML,[11,10]RSXMC,SY0:'<UIC>'VDPRE,VDTAB
;
; BUILD VIRTUAL DISK TASKS AND DRIVER.
;
.SETS TKBSW "/-SP/MA"
.;
.OPEN VDDRV.TKB
.DATA ; Built by VDXGEN.CMD on '<DATE>' at '<TIME>'
.DATA VDDRV/-MM/-HD,VDDRV'TKBSW',VDDRV=VDDRV,VDTAB
.DATA TG0:[1,54]RSX11M.STB/SS
.DATA TG0:[1,1]EXELIB/LB
.DATA /
.DATA STACK=0
.DATA PAR='PAR':120000:14000
.DATA //
.CLOSE
'$C'TKB @VDDRV.TKB
.OPEN AVD.TKB
.DATA ; Built by VDXGEN.CMD on '<DATE>' at '<TIME>'
.DATA AVD/MM/CP/-FP/PR:5=AVD,VDDRV.STB/SS
.DATA TG0:[1,54]RSX11M.STB/SS
.DATA /
.DATA UNITS=3
.DATA ASG=TI:2
.DATA ASG=SY:3
.DATA TASK=...AVD
.DATA PRI=100
.DATA PAR=GEN
.IFT $RESLB .DATA LIBR=FCSRES:RO:6
.DATA /
.CLOSE
'$C'TKB @AVD.TKB
.OPEN DVD.TKB
.DATA ; Built by VDXGEN.CMD on '<DATE>' at '<TIME>'
.DATA DVD/MM/CP/-FP/PR:5=DVD,VDDRV.STB/SS
.DATA TG0:[1,54]RSX11M.STB/SS
.DATA /
.DATA UNITS=3
.DATA ASG=TI:2
.DATA ASG=SY:3
.DATA TASK=...DVD
.DATA PRI=100
.DATA PAR=GEN
.IFT $RESLB .DATA LIBR=FCSRES:RO:6
.DATA /
.CLOSE
'$C'TKB @DVD.TKB
;
; ALL DONE, EXIT.
;
