W8SDZ@SIMTEL20.ARPA (Keith Petersen) (07/29/85)
SAP v44, the sort & pack directory program is now available from SIMTEL20 as: Filename Type Bytes CRC Directory MICRO:<CPM.DIRUTL> SAP44.LBR.1 BINARY 16128 073EH THIS PROGRAM READS THE DISK DIRECTORY TRACKS, SORTS THEM ALPHABETICALLY THEN REPLACES THEM ON THE DISK. ALL UNUSED OR ERASED AREAS ON THE DIRECTORY TRACK ARE REFORMATTED WITH CONTINUOUS 'E5' CHARACTERS. (THIS ERASES PREVIOUS FILE NAMES WHICH HAVE BEEN DEACTIVATED.) SORTING THE DIRECTORY IN THIS MANNER OFFERS MANY ADVANTAGES. SOME OF THEM ARE: 1) ALLOWS 'DIR' TO SHOW AN ALPHABETIZED LISTING 2) ELIMINATES POTENTIAL PROBLEMS WITH "UNERASE" PROGRAMS 3) SPEEDS UP ACCESS VIA 'SD' AND OTHER SPECIAL PROGRAMS 4) ASSISTS ON WORKING DIRECTLY ON THE DISK WITH 'DU', ETC. 5) REMOVES FILES FROM THE DISK SOMEBODY ELSE COULD RECOVER 6) OPTIONALLY ERASES ALL FILES OF ZERO LENGTH (EXCEPT THOSE STARTING WITH '-' FOR CATALOG USE WITH MAST.CAT) Here is information about the past few updates: 07/25/85 - v44 - Added some pushes and pops so that the switch routine will swap the entire contents of the two directory entries. Previously it only swapped the part after it found a difference which sometimes resulted in flag bits moving from one file to another.- Bob Clyne 03/20/85 - v43 - Inserted my name where it belonged under the v42 release notice, added conditional assembly option for verbose mode which will, if selected, permit the program to assemble in under 1k. Added conditional assembly option for CP/M-only mode which suppresses check for MP/M and CP/M+. - Dennis Quinn 03/06/85 - v42 - Removed "trash directory" feature to make program more user-friendly, made "delete zero-length files" an assembly-time option, as there are more programs than MCAT which make use of zero-length files.- Dennis Quinn (added in v43) 02/28/85 - v41 - Minor cleanup, made compatible with all assemblers. - Irv Hoff 09/17/84 - v40 - Added 'Previously sorted' statement that was included in v37 but got dropped from v38 when the Shell-Metnzer sort was put in. It still rewrites the directory even if previously sorted, to insure erased programs at end of directory are properly cleared.- Irv Hoff 07/27/84 - v39 - Corrected sorting of last directory entry. - WOD 10/16/83 - v38 - Now using a Shell-Metzner sort which speeds the sorting time considerably, especially on large directories. - Sigi Kluger 07/27/83 -v37 - Shows an error flag for MP/M and CP/M+ both. Rewrites the directory even if previously sorted, to insure erased programs at end of directory are properly cleared. - Irv Hoff --Keith