home *** CD-ROM | disk | FTP | other *** search
- Article 3664 of net.micro.amiga:
- Relay-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
- Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
- Path: well!ewhac
- From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
- Newsgroups: net.micro.amiga
- Subject: Disk Sector Mapper
- Message-ID: <1492@well.UUCP>
- Date: 24 Jul 86 05:32:32 GMT
- Date-Received: 24 Jul 86 05:32:32 GMT
- Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
- Distribution: net
- Organization: Whole Earth Lectronic Link, Sausalito CA
- Lines: 386
- Keywords: disk, trackdisk.device, sector, map, aardvark
-
- [ This line eating food contains no articifial colors or preservatives. ]
-
- I can't believe I'm the first person to write this. At least I
- think I am. If I'm wrong, let me know.
-
- This little crock displays the sector allocation on your floppy
- disks. If the box is colored in, the sector is allocated. I cooked this up
- in roughly a couple of evenings.
-
- This was written for the Manx compiler. Conversion to Lettuce
- should be trivial. To make this beastie, you say:
-
- 1> cc dm.c
- 1> ln dm.o -lc -o dm
-
- Naturally, if you keep lots of stuff in RAM:, you'll do this
- differently.
-
- The DOS manuals give *no* explanation on how the disk sector bitmap
- works. None. Nada. Zero. Zilch. Zippo. NULL. (read my lips: none!)
- So I pulled out 'DiskEd' and stared at the raw bitmap in hex for a while
- until I saw what was going on. I've included a very brief comment on how it
- works in the code.
-
- If someone at C-A sees this, could you please tell me if I got this
- right? Like I said, the manuals were no help at all.
-
- Have fun with your new crock.
-
- _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
- ________ ___
- \ /___--__ 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."
-
- ## This is not a shell archive, so you can cut anywhere you damn well please! #
- ## Although cutting here would be a good idea. ##
-