************************************************************************** - THE LEGENDARY >> SUBSOFTWARE << IN 90 !!! =========================================== - CONTACT US - BP: 36 - - 1380 REBECK - - BELGIUM - - DON'T SEND ANY DISKS - ************************************************************************** This little toy is designed to allow you to examine the sector allocation on your disks. Instead of using the DOS to find files, it uses the trackdisk.device and examines the sectors directly, traversing the filesystem "by hand." This is written for the Manx compiler; conversion to Lettuce may or may not be trivial. To make this beastie, first download all the files, then do this: 1> make Simple, isn't it? SYNOPSIS fm [device [file]] DESCRIPTION fm is a utility that allows you to examine the sector allocation of files on your disk. Unallocated sectors are the background color; file control blocks are rendered in color 1; data blocks are color 2; and sectors allocated by other things show up as color 3. Files to be examined are entered in the filename gadget. All filenames must be a full path from the root. When entered, the program will then attempt to find the file and display its allocation on the screen. If an error occurs, the program will inform you. Errors may or may not be fatal. However, the program does clean up after itself rather well. To change devices, enter a new device name in the device gadget. The program will then load the bitmap off the new device and display it. If you wish to examine a different disk in the same device, you *must* hit the device gadget and then press RETURN. Failing to do this causes (non- destructive) problems, since the bitmap sector number is cached. To re-display the current device/file, hit the refresh gadget. This is useful if another task is running concurrently and writing to the disk. Hitting refresh allows you to see the changes made to the disk. -------- Enjoy! _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ________ ___ \ /___--__ Leo L. Schwab ___ ___ /\ ---##\ ihnp4!ptsfa!well!ewhac / X \_____ | __ _---)) ..or.. / /_\-- -----+==____\ // \ _ well ---\ ___ ( o---+------------------O/ \/ \ dual ----> !unicom!ewhac \ / ___ \_ (`o ) hplabs -/ ("AE-wack") ____ \___/ \_/ Recumbent Bikes: "Work FOR? I don't work FOR The _O_n_l_y Way To Fly! anybody! I'm just having fun." I have used the Manx C compiler, with 16-bit int mode to compile this program. It crashes the machine when compiled with 32-bit int mode. -Fred