home *** CD-ROM | disk | FTP | other *** search
- ;;05-27-85
-
- DR.DOC v1.6
- 05/31/85
-
- Eric Gans
- French Dep't UCLA
- Los Angeles, CA 90024
-
- Version 1.6
-
- Faster file search routine (based on wild-card extent byte);
- shows set high bits in f1-8 as well as t1-3 (v1.3 did this).
-
- Versions 1.5 and 1.5x
-
- Corrected a long-lived bug in the fcb-setting routine and saved a
- couple of bytes in the output routine. The video addresses in 1.5
- (not in 1.5x) are one byte higher than in 1.4.
-
- Versions 1.4 and 1.4x
- Changes from v1.3/1.2: Prints file mask, '.' before filetype for
- readability; allows aborting by ^C at [More] prompt. Uses BIOS
- conout function for faster output.
-
- Version 1.6 is suitable for those who had problems with versions
- 1.0 and 1.1. Instead of using BIOS calls to read the directory,
- it uses the CP/M search first/next functions, which are slower
- but more reliable. Version 1.5x uses the BIOS, and if it works on
- your system, it will give the fastest performance around; the
- faster console output now puts it still farther ahead of other
- directory programs. If it doesn't, DR 1.6 is almost as fast and
- provides the same functions (although it won't find erased files
- at the end of the directory).
-
- If you don't have an ADM 3A terminal, you will want to change or
- zero out the inverse video commands that show set high bits:
-
- Hex Addresses
- DR 1.6 DR 1.5x SEQUENCE
-
- inv vid on 7CE-7D0 813-815 ESC B0 (1B,42,30)
- inv vid off 7D2-7D4 817-819 ESC C0 (1B,43,30)
-
-
- The distinctive feature of this alphabetical directory
- program is that it gives the number of 128-byte records/sectors
- in each file as well as the number of K in its allocation blocks.
- This information is useful when composing file libraries, sending
- files via modem, or checking for different versions of a file.
-
- Format: dr [d][u]:[filemask] or dr [filemask]
-
- Other features:
-
- - files alphabetized in vertical columns (66 files/screen).
-
- - ZCPR drive/user syntax: either drive, user, or both can
- precede the colon (a3: 5: d:). No colon gives default drive/user.
- A file mask may be included; if not, all files (*.*) are shown.
-
- - [d]*: will list all files on drive d: specifying the user
- for each.
-
- - [d]#: will list all erased files in the directory on drive
- d: (useful before running unerase programs which usually allow
- only unambiguous file names). NB: Version 1.5x will show all
- erased filenames; v1.6, since it depends on the BDOS, will miss
- names at the end of the directory that are not followed by a non-
- erased file.
-
- - to abort output before reaching the last screen, type ^C
- at the [More] prompt.
-
- - gives number of files, KBytes in files & on drive, and
- remaining free space.
-
- - inverse video indicates high bits set (Addresses at
- beginning of this file).
-
- - the program occupies less than 2 K (15 sectors, as opposed
- to 24 for D.COM/DI.COM and 32 for SD.COM). It creates a linked
- list using 2-byte pointers for a total storage requirement of 16
- bytes/file (18 K for 1000 files).
-
-