home *** CD-ROM | disk | FTP | other *** search
-
- These two progs come from the May '86 issue of PC Tech
- Journal in an article, written by Glenn F. Roberts, called
- "Finding Disk Parameters". The article gives a good overview
- of the DOS disk structure, including: the boot record, the file
- allocation table (FAT), and root directory. The progs show use
- of (yet another) undocumented DOS function, 32H, to determine
- the FAT's size and location.
-
- An interesting outcome of this for me was that if I
- turned off optimization (-Od), as Microsoft recommends for
- debugging with Codeview, the bloody progs don't work! Compile
- normally and everything is fine. You pay your money, and you
- take your chances...
-