04-15-84 This is version 2 of LDIR.MAC. IMPROVEMENTS/FIXES: 1. Fixed a bug which pulled in 4 times as much as needed (directory size * 4). 2. Made external link automatic, renamed SORT.REL to MYSORT.REL 3. Added CRC verification of directory. LDIR will now report an error if the directory CRC does not match the one recorded in the LBR. LDIR assumes LU 2.xx used if CRC=0000. New procedure to assemble/link: A>m80 =ldir2 A>l80 /p:100,ldir2,ldir2/n/e OR A>link ldir2 MYSORT.REL and SYSLIB.REL must be on the default drive! USE OF LDIR: A>LDIR2 filename[.lbr] no other arguments are allowed. LDIR2 prints the sorted library directory. CUSTOMIZATION: 3 variables can be changed: 0103 COLUMNS set to number of columns desired (default 4) 0104 MAXDR highest drive +1 (A=2, B=3...) 0105 MAXUSR highest user area +1