Dec 152017
Mark disk bad spots.
File SCAV31.ZIP from The Programmer’s Corner in
Category HD Utilities
Mark disk bad spots.
File Name File Size Zip Size Zip Type
SCAV30.ASM 14208 5096 deflated
SCAV31.ASM 13473 5101 deflated
SCAV31.COM 1459 1035 deflated
SCAVENGE.DOC 2973 1388 deflated
TPCREAD.ME 199 165 deflated

Download File SCAV31.ZIP Here

Contents of the SCAVENGE.DOC file

title scavenge Copyright (c) T. Jennings 1983

*Mark bad blocks on MSDOS *
*as allocated in the FAT.*
*T. Jennings 5 June 82*
* created 15 Sept. 82*
*Modified 14 December 1984*
* by David Gwillim*


SCAV2XX was modified by David Gwillim to dynamically allocate
memory to the variables BLKBUF and FATBUF when the program
is started - this drastically reduced the size of the .COM file
from 17K on disk to just over 1K, while still allowing the
checking of disks with block sizes up to 16K Bytes. Also
changed was the access to disk to determine its statistics
(Number of Blocks, Blocksize etc) this is now done AFTER the
pause command when the program is first started, permitting
the program to be run with a single floppy drive. Code was
also added to display the block size of the disk in bytes
as part of the statistics, plus some alert tones for various
parts of the program.

I also added a more graceful exit than via ^C or Cntrl-Break
as this would often leave you on the wrong drive if you aborted
mid way through the block check and also would not give you the
chance to update the FAT with any bad blocks found so far.

A logical improvement to the program would be to add to the
code so the program could report the names of the files which
contain any bad blocks found, so the user could handle those
files, or at least be aware that the data in them was corrupted.

This is a very useful program and can give you great peace of
mind if you own a hard disk and want to be sure that all is OK.
If anyone takes a crack at doing the improvements I mentioned
or finds and fixes any bugs, I would be delighted to hear of

David Gwillim
1414 N. Catalina Street
Los Angeles CA 90027


Reads all sectors in logical MSDOS blocks and marks the file allocation
tables such that the blocks are permanently allocated where CHKDSK will
not deallocate them.

This version works on any 2.xx MSDOS or PCDOS, on any media type, fixed
or removable.
| [At least through my PC-DOS v3.1 and my Seagate ST251]

One (major) limitation: it will not map out blocks that are already allocated
to a file; it will say "block used", but won't tell you which file it is in.

If SCAVENGE finds any bad blocks, it will ask you whether or not you want the
disk updated. You can safely run it just to see if the disk is OK.

- Slightly tweaked
- Removed some small system functions, placing them inline.
- Separated extensive documentation (the above) from the .ASM source,
placing it in a separate SCAVENGE.DOC file.
- No functional changes.
David Kirschbaum
Toad Hall
[email protected]

 December 15, 2017  Add comments

Leave a Reply