home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG036.ARC
/
D.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
2KB
|
58 lines
DIRR.COM (ALPHABETIZED DIRECTORY LISTING)
------------------------------------------
This program lists the directory in four vertically alphabetized
columns. It also shows the length of each file. It turns up an initial
new line prior to the listing and another new line after the listing.
It has a summary line which shows the following information:
1) Disk drive in use
2) Length of disk (948k for DS, DD -- 241k for SS, SD)
3) Number of files used (does not include extents used)
4) Length of files used
5) Number of files / extents remaining
6) Amount of disk space remaining
Address 0784H controls the space between the file type and the
length of the file displayed. At present it is:
0784 03
If you want more space after the file type, increase that to 04
or even 05. The following table shows the width of the display:
03 uses 69 columns
04 uses 73 columns
05 uses 77 columns
If you want the display to stop with a full screen and wait until
the space bar is depressed before it continues, change:
0103H from 80 to 16
This byte sets the number of directory lines that will show on the
CRT before the display stops with "Hit SPACE" to continue. 16H shows
twenty-three lines. If you want the complete directory to show without
stopping (it looks much better if making a hard copy print to put in
the jacket), use a large number. Using '80H' would show 512 filenames
before stopping. (You are unlikely to have that many. If you did, you
could make the number even larger.)
Byte 0789H is the "k" after each file length. You can eliminate
that (gaining four additional columns) by changing from 6B to 00. It
may appeal to some, as gives a less cluttered appearance.
Irvin M. Hoff
Los Altos Hills, CA 94022
3 April 1982
P.S. I did not write this program, nor do I have the source code.
However I did modify it extensively to suit my needs and then
called it DIRR.