Google
 

Trailing-Edge - PDP-10 Archives - bb-l014w-bm_tops20_v7_0_atpch_23 - autopatch/t26v70.ctl
There is 1 other file named t26v70.ctl in the archive. Click here to see a list.
;
;   T26V70.CTL -- Patch and rebuild TOPS-20-2060-V7-0
;   Version 1(0)
;	July 19, 1988 / HAH
;
 
;
; COPYRIGHT (c) 1988 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-2060-V7-0 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.
;

@PEPB
*INITIALIZE TOPS-20-2060-V7-0
*EXIT

@DEFINE DSK: ASL:
@DEFINE R: ASL:
@DEFINE SYS: ASL:

@SET DEFAULT COMPILE-SWITCHES . /MAC
@SET DEFAULT COMPILE-SWITCHES MAC /COMPILE

@DELETE PAT:*MON.*,PAT:MONITR.*,PAT:EXEC.*
@DELETE PAT:VERSIO.REL,PAT:STG*.REL
@EXPUNGE PAT:

;
;	Build the monitor
;

@COMPILE NAMAM0+VEDIT+VERSIO VERSIO
@COMPILE PARAM0+PARLM0+PARAMS+STG STG
;
;
@TYPE LNKLM0.CCL
@RUN LINK
*@LNKLM0.CCL
*@LNKINI.CCL
*LN2070/S, -
*/NOLOCALS, -
*/SYSLIB, -
*/COUNTERS, -
*/G
@EXPUNGE PAT:
@GET MON
@START 142
*0^[6M
=BUGHLT<HLTADR^[12B
=BUGCHK<CHKADR^[11B
=^[G
@IF (NOERROR) @GOTO OK
TRY2::
@NOERROR
@DELETE MON.*,STG.REL
@EXPUNGE PAT:
@TYPE LNKNEW.CCL
@TYPE PARNEW.MAC
@COMPILE PARAM0+PARNEW+PARAMS+STG STG
@ERROR
@RUN LINK
*@LNKNEW.CCL
*@LNKINI.CCL
*LN2070/S, -
*/NOLOCALS, -
*/SYSLIB, -
*/COUNTERS, -
*/G
@EXPUNGE PAT:
@GET MON
@START 142
*0^[6M
=BUGHLT<HLTADR^[12B
=BUGCHK<CHKADR^[11B
=^[G
@COPY LNKLM0.CCL.0 LNKLM0.OLD
@COPY PARLM0.MAC.0 PARLM0.OLD
@COPY LNKNEW.CCL LNKLM0.CCL
@COPY PARNEW.MAC PARLM0.MAC
OK::
;
@DELETE PAT:MON.*
@EXPUNGE PAT:

;
;	Build the EXEC
;

@COMPILE EXECF0+EXECCA EXECC0

@RUN LINK
*TTY:/LOG/LOGL:5
*EXEC/SAVE
*T20EX7.REL
*EXECC0.REL
*MACREL.REL
*/G

@RUN EXEC
*Y

;
;	Signal success
;

@DEFINE DSK:
@DEFINE SYS:

@EXPUNGE PAT:
@PEPB
*SIGNAL-SUCCESS TOPS-20-2060-V7-0
*EXIT
@GOTO EXIT

;
;	Signal failure on error
;

%ERR::
@DEFINE DSK:
@DEFINE SYS:
@EXPUNGE PAT:
@PEPB
*SIGNAL-FAILURE TOPS-20-2060-V7-0
*EXIT

EXIT::
%FIN::