Google
 

Trailing-Edge - PDP-10 Archives - BB-L014C-BM - autopatch/t20al4.ctl
There are 2 other files named t20al4.ctl in the archive. Click here to see a list.
;
;   T20AL4.CTL -- Patch and rebuild TOPS-20-KL-ARPA-V4
;   Version 1(1)
;	July 14, 1980  / DRB
;
 
;
; COPYRIGHT (c) 1980, 1981, 1982 BY
;	    Digital Equipment Corporation, Maynard, MA.
;
;   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  which is not
;   supplied by Digital.
;

;
;   This .CTL file applies the  patches  to  the  libraries  of
;   TOPS-20-KL-ARPA-V4 and rebuilds MONITR.EXE and EXEC.EXE.
;
;   For this .CTL file to run, the connected directory must  be
;   the patching directory (Logical name PAT:).
;
;   This control file is expected to run without errors.
;

@DEFINE UNV: ASL:
;
@PEPB
*INITIALIZE TOPS-20-KL-ARPA-V4
*EXIT
;
;
@DELETE PAT:AMON.*,PAT:AMONITR.*,PAT:MONITR.*,PAT:EXEC.*
@DELETE PAT:VERSIO.REL,PAT:STG*.REL
@EXP PAT:

;
;	Apply patches to the library files
;

@TYPE PAT:T20AL4.MKL
;
@R ASL:MAKLIB
*@PAT:T20AL4.MKL
@EXP PAT:

;
;	Build the monitor
;

@R ASL:MACRO
*PAT:VERSIO=ASL:NAMAM0.MAC,ASL:VERSIO.MAC
*PAT:STGAN=ASL:KLPRE.MAC,ASL:PARAM0.MAC,ASL:PARAMS.MAC,ASL:STG.MAC
;
@COPY ASL:LDINIT.REL PAT:LDINIT.REL
@COPY ASL:MONSYM.REL PAT:MONSYM.REL
;
@TYPE ASL:T20LM4.LNK
;
@R ASL:LINK
*@ASL:T20LM4.LNK
@EXP PAT:
@GET AMON
@START 140
=BUGHLT<HLTADR12B
=BUGCHK<CHKADR11B
=G
;
@RENAME PAT:AMONITR.EXE PAT:MONITR.EXE
@DELETE PAT:AMON.*
@EXP PAT:

;
;	Build the EXEC
;

@COPY ASL:MACREL.REL PAT:MACREL.REL
;
@TYPE ASL:T20EX4.LNK
;
@R ASL:LINK
*@ASL:T20EX4.LNK
@START
*Y

;
;	Signal success
;

@EXP PAT:
@PEPB
*SIGNAL-SUCCESS TOPS-20-KL-ARPA-V4
*EXIT
@GOTO EXIT

;
;	Signal failure on error
;

%ERR::
@EXP PAT:
@PEPB
*SIGNAL-FAILURE TOPS-20-KL-ARPA-V4
*EXIT

EXIT::
%FIN::