Google
 

Trailing-Edge - PDP-10 Archives - BB-J939D-BM - documents/insks.ctl
There is 1 other file named insks.ctl in the archive. Click here to see a list.
!+
!
! FUNCTION:
!    This batch file is designed to "install" BLISS-36 on a TOPS-20 KS
!    system.  By default the system files will go to SYS:, HLP:, DOC:,
!    and BLI:.  If BATCH.CMD, or BLISS.CMD,  or any file TAKEn from it
!    (commonly LOGIN.CMD) redefine these than that definition will be used.
!
! USE:
!    To use this batch file all the files (including this one) should
!    be transfered to an area with sufficient space (2500 pages).
!    Then this batch file should be run as:
!
!	@SUBMIT INS36.CTL/TIME:00:30:00/BATCH_LOG:SUPERSEDE
!
!	NOTE: If on a KS processor, use /TIME:02:30:00
!
!    When it has completed the log file should be checked for
!    any problems.  If there are any problems then corrective action
!    should be taken and the process repeated.  The file DEL36.CTL
!    may then be run, if desired.  Read the comments on its first page
!    for details.
!-
!+
! On this page logical device names are assigned to the various places
! where release files are put.  These can be modified to produce
! non-standard installations.
!-

! HELP files are put in BHLP:
!
@DEFINE BHLP: HLP:

! Other documentation files are put in BDOC:
!
@DEFINE BDOC: DOC:

! The compiler object modules are put in BCMP:
!    N.B.: The default is to throw these files away.
!
@DEFINE BCMP: NUL:

! Executable files are put in BEXE:
!
@DEFINE BEXE: SYS:

! OTS and debugging object files are put in BORL:
!   Warning:  BLISS expects to find these files in the search-path
!	defined by logical name SYS:.
!
@DEFINE BORL: SYS:

! The source (macro) files for the OTS are put in BOSR:
!
@DEFINE BOSR: BLI:

! The utility REQUIRE files are put in BURQ:
!
@DEFINE BURQ: BLI:

! The utility LIBRARY files are put in BULB:
!
@DEFINE BULB: BLI:

! The utility source files are put in BUSR:
!
@DEFINE BUSR: BLI:

! The utility object files are put in BURL:
!
@DEFINE BURL: BLI:

! The utility executable files are put in BUEX:
!
@DEFINE BUEX: SYS:
!
!
! Pick up the user-defined logical names.  If the user does not 
! define any, this file will be empty.
!
@TAKE BLISS.CMD



! Here we list all the logical names defined for this run.
@INFORMATION (ABOUT) LOGICAL-NAMES (OF) ALL
!+
! Check the processor: it must support KL10 instructions and TOPS-20
! monitor calls.
!-

! Check to see if the processor supports the KL10 instruction set.
! In particular, check for the existence of ADJBP.
@DSK:CHKMKL

! Run the appropriate GETTAB UUO from TOPS-10 or the TOPS-10 simulator
! to confirm that this is a TOPS-20 system.
@DSK:CHKMT2

!+
! Verify that all executable files run properly.
!-
@DSK:CVT10
@DSK:DMPREL
@DSK:MONINT
!+
! Build the BLISS compiler and the debugging compiler.
!-
@GET SYS:LINK
@INFORMATION VERSION

@LINK
*BLISS/SAVE
*@BLISS.LNK
@
@LINK
*DEB36/SAVE
*@DEB36.LNK
!+
! Check the resulting compiler to make sure it runs on this system.
!-
@DSK:BLISS
*CHKC2L
@
@LINK
*CHKC2L/EX/GO

!+
! Check to see if PS_INTERRUPT is working.
!-
@DSK:BLISS
*PSI20
@
@LINK
*PSI20,B362LB/S/EX/GO

! Also check to make sure it is the correct compiler.
@GET DSK:BLISS
@INFORMATION VERSION

@DSK:BLISS
*LSTCHK/LIST/VAR:1/CROS/MAST
*    MACRO EXPECTED_VERSION = '4(216)' %;
*^Z
*    MACRO LIST_FILE_NAME = 'LSTCHK.LST' %;
*^Z
@
@LINK
*LSTCHK,XPOT20/SEARCH,B362LB/SEARCH/EX/GO
!+
! Test BCREF
!-
@DSK:BCREF LSTCHK
!+
! Build the XPORT Structure Dump Generator
!-
@LINK
*XDUMP/SAV=XDUMP,XPOT20/SEARCH,B362LB/SEARCH/GO
!+
! Install the compiler, the OTS and SIX12.
!-

@COPY DSK:BLISS.EXE BEXE:BLISS.EXE
@COPY DSK:DEB36.EXE BEXE:DEB36.EXE

@COPY DSK:B361AB.REL BORL:B361AB.REL
@COPY DSK:B361AT.REL BORL:B361AT.REL
@COPY DSK:B361LB.REL BORL:B361LB.REL
@COPY DSK:B361LT.REL BORL:B361LT.REL
@COPY DSK:B362LB.REL BORL:B362LB.REL
@COPY DSK:B362PB.REL BORL:B362PB.REL
!+
! Check to make sure it will run on this system from the installed area.
!-
@BEXE:BLISS
*CHKC2L
@
@LINK
*CHKC2L/EX/GO

!+
! Check to see if PS_INTERRUPT is working.
!-
@BEXE:BLISS
*PSI20
@
@LINK
*PSI20,BORL:B362LB/S/EX/GO

!+
! Also check to make sure it is the correct compiler version.
!-
@GET BEXE:BLISS
@INFORMATION VERSION

@BEXE:BLISS
*LSTCHK/LIST/VAR:1/CROS
*    MACRO EXPECTED_VERSION = '4(216)' %;
*^Z
*    MACRO LIST_FILE_NAME = 'LSTCHK.LST' %;
*^Z
@
@LINK
*LSTCHK,XPOT20/SEARCH,BEXE:B362LB/SEARCH/EX/GO
!+
! Install the HELP files.
!-
@COPY DSK:BLISS.HLP BHLP:BLISS.HLP
@COPY DSK:BCREF.HLP BHLP:BCREF.HLP
@COPY DSK:CVT10.HLP BHLP:CVT10.HLP
@COPY DSK:DMPREL.HLP BHLP:DMPREL.HLP
@COPY DSK:TUTIO.HLP BHLP:TUTIO.HLP
@COPY DSK:SIX12.HLP BHLP:SIX12.HLP
!+
! Install other documentation files.
!-
@COPY DSK:BLISS.DOC BDOC:BLISS.DOC
@COPY DSK:BLISS.BWR BDOC:BLISS.BWR
@COPY DSK:CVT10.DOC BDOC:CVT10.DOC
@COPY DSK:MONINT.DOC BDOC:MONINT.DOC
@COPY DSK:SIX12.MEM BDOC:SIX12.MEM
!+
! Transfer the source files for the Version 2 OTS and SIX12.
!-
@COPY DSK:BLSOTS.MAC BOSR:BLSOTS.MAC
@COPY DSK:REG1AB.MAC BOSR:REG1AB.MAC
@COPY DSK:REG1AT.MAC BOSR:REG1AT.MAC
@COPY DSK:REG1LB.MAC BOSR:REG1LB.MAC
@COPY DSK:REG1LT.MAC BOSR:REG1LT.MAC
@COPY DSK:REG2LB.MAC BOSR:REG2LB.MAC
@COPY DSK:REG2PB.MAC BOSR:REG2PB.MAC
@COPY DSK:SIX12.B36 BOSR:SIX12.B36
!+
! Transfer the object libraries used to build the BLISS compilers to
! the specified destination.  (Default is device NUL:, which means
! that they are not installed).
!-
@COPY DSK:BLISS.REL BCMP:BLISS.REL
@COPY DSK:DEB36.REL BCMP:DEB36.REL
!+
! Transfer the various utilities to their destinations.
!-
@COPY TUTIO.R36 BURL:TUTIO.R36
@COPY EZIO10.B36 BUSR:EZIO10.B36
@COPY EZIO10.REL BURL:EZIO10.REL
@COPY EZIO20.B36 BUSR:EZIO20.B36
@COPY EZIO20.REL BURL:EZIO20.REL
@COPY MONSYM.R36 BURQ:MONSYM.R36
@COPY FLDDB.R36 BURQ:FLDDB.R36
@COPY MONSYM.L36 BULB:MONSYM.L36
@COPY UUOSYM.R36 BURQ:UUOSYM.R36
@COPY UUOSYM.L36 BULB:UUOSYM.L36
@COPY TENDEF.R36 BURQ:TENDEF.R36
@COPY TENDEF.L36 BULB:TENDEF.L36
@COPY MONINT.EXE BUEX:MONINT.EXE
@COPY DMPREL.EXE BUEX:DMPREL.EXE
@COPY CVT10.EXE BUEX:CVT10.EXE
@COPY CVT10.SNO BUSR:CVT10.SNO
@COPY BCREF.EXE BUEX:BCREF.EXE
@COPY XDUMP.EXE BUEX:XDUMP.EXE
@COPY XDUMP.REL BURL:XDUMP.REL
@COPY XPORT.REQ BURQ:XPORT.REQ
@COPY XPORT.L36 BULB:XPORT.L36
@COPY XPOT20.REL BURL:XPORT.REL
@COPY XPOT20.DBG BURL:XPORT.DBG
@COPY XPOT20.REL BURL:XPOT20.REL
@COPY XPOT20.DBG BURL:XPOT20.DBG
@COPY XPOT10.REL BURL:XPOT10.REL
@COPY XPOT10.DBG BURL:XPOT10.DBG
! This page sets up the banner indicating success and/or failure of
! the installation

NRMEND::
! Normal Completion
@TYPE NORMAL.BNR

%CERR::
! Error at the EXEC/BATCH level.
@TYPE ERROR.BNR
@EXPUNGE

%ERR::
! Error at the program level.
@TYPE ERROR.BNR
@EXPUNGE

%TERR::
! Ran out of time.
@TYPE ERROR.BNR
@EXPUNGE

%FIN::