Dec 092017
 
C++ routines and program for dealing with the boot record, root dictionary, and FATs.
File BOOTRCD.ZIP from The Programmer’s Corner in
Category C++ Source Code
C++ routines and program for dealing with the boot record, root dictionary, and FATs.
File Name File Size Zip Size Zip Type
BOOTRCD.CPP 2008 849 deflated
BOOTRCD.EXE 14976 8636 deflated
BOOTRCD.TXT 2139 866 deflated
BRECORD.CPP 4819 1717 deflated
BRECORD.H 2412 910 deflated
GETOPT.CPP 4245 1785 deflated

Download File BOOTRCD.ZIP Here

Contents of the BOOTRCD.TXT file








BOOTRCD.ZIP BOOTRCD.ZIP

BOOT RECORD UTILITY ROUTINES BOOT RECORD UTILITY ROUTINES

Copyright 1992, George H. Mealy




The contents of this ZIP file are:


1. BRECORD.H - Header file

2. BRECORD.CPP - Routines for dealing with the boot
record, root dictionary, and FATs.

3. BOOTRCD.CPP - Program using the above to display
the boot record of any drive and set the volume
serial number.

4. GETOPT.CPP - A file distributed with the Borland C
compilers. A few very minor changes have been
made. This is a utility routine used to take
command lines apart.


CAUTION: You are on your own when using the routines in
BRECORD.CPP! Be absolutely sure that you understand what you are
doing when you use them, and use a floppy drive for testing. I
have used these routines for writing a disk compaction program,
so I am sure that they do correctly what I intended them to do.
But, I offer no warranty concerning your own use of the routines.

This is copyrighted material. It may be used free of charge but
may be distributed only by way of BBSs or equivalent services.
It may NOT be distributed on floppy disks.

The layout of the boot record is given as part of the definition
of the class brecord. The volume serial number is undocumented,
and is displayed by the DOS5 VOL command as a hexadecimal far
pointer. I have chosen to display it in the form mmmm.nnnn, in
the style of a major and minor version number (decimal, of
course!)

By the way, Stacker will not allow me to update any STACKVOL.DSK
boot record. This is mildly interesting, but no big deal.


 December 9, 2017  Add comments

Leave a Reply