TITLE FEDEL -- Delete tracks of front-end file system SUBTTL G.M. Uhler/GMU 17-Jul-80 ;This program zeroes the words in both HOM blocks of a disk containing ;information about the RSX20F front-end file system and then zeroes ;every 400 blocks on the pack starting at block 0 to destroy the ;front-end HOM block. This action removes all tracks that a front-end ;file system ever existed on the pack and allows a new one to be built. ;Copyright (C) 1980,1981,1982,1983 by ;Digital Equipment Corporation, Maynard, Mass. ; ; ;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. SEARCH JOBDAT,MACTEN,UUOSYM SALL FDLVER==1 ;Major version number FDLMIN==0 ;Minor version number FDLEDT==6 ;Edit number FDLWHO==0 ;Who last edited TWOSEG RELOC 400000 LOC .JBVER VRSN. (FDL) RELOC ;AC Definitions T1==1 ;First of 4 temporaries T2==2 T3==3 T4==4 P1==5 ;First of 4 preserved P2==6 P3==7 P4==10 P==17 ;PDL pointer ;Miscelaneous definitions PDLLEN==10 ;Length of PDL BLKINC==400 ;Stomp every this many blocks on the disk BLKSIZ==200 ;Size of a disk block DSK==1 ;Disk channel DEL==2 ;Channel to delete FE.SYS HOM1==1 ;Block address of first HOM block HOM2==12 ;Block address of second HOM block HOMHID==1 ;Unit ID in HOM block HOMFEB==61 ;HOM block offset of pointer to FE HOMFEL==62 ;HOM block offset of length of FE RIBSTS==17 ;RIB offset of status bits RIPNDL==1B19 ;No delete bit in RIB RIBSLF==177 ;RIB offset of RIB block number EO.ERR==1 ;Error message EO.WRN==2 ;Warning message EO.STP==4 ;Stop program on this error EO.NCR==10 ;No CRLF at the end of this error DEFINE ERROR(MSG,OPT,LABEL),< PUSHJ P,ERRMSG XLIST ..OPT==EO.ERR ;Initialize type IRP OPT,< IFIDN ,,<..OPT==..OPT!EO.STP> IFIDN ,,<..OPT==..OPT!EO.NCR> > IFB