FDOS / fdisk

Fixed Disk Setup Program - manages partitions using the MBR partitioning scheme
GNU General Public License v2.0
44 stars 13 forks source link

Source differences from version 1.3.1 Beta #6

Closed micahcochran closed 3 years ago

micahcochran commented 3 years ago

This PR contains the source differences from 1.2.1 to version 1.3.1 Beta.

There seems to be a few good changes that were made in the BETA version. I'm not necessarily advocating for this to be merged.

(I anticipate that my next PR to be making sure that this compiles under Turbo C++ 3.0. The PR after that I will replace some of the inline assembly code in order to make the code a little more portable for different compilers.)

Here are some of the change in NEWS.TXT:

Current Version:
-----------------------------------------------------------------------------
Version 1.3.1   The MBR is no longer automatically written if the expected      

11/04/2008      MBR is not found.  The MBR is now only written by using
                the command line switches.

                Various warnings have been cleaned up in order to fix the 
                command-line compile.  One fix to the makefile remains.

                Error handling has been added in order to accomodate hard 
                disk and/or controller errors.

[...]

Version History:
-----------------------------------------------------------------------------
Version 1.3.0   Bug fixes provided by H. Peter Anvin in order to fix a
7/17/2003       problem with the interrupt 0x13 extensions detection code.

ALSO There was a note about the upcoming version.

Future changes planned for Version 1.3.2:
-----------------------------------------------------------------------------
TO-DO           Change the int 0x13 extension determination code.

                Add the partition id bytes.
PerditionC commented 3 years ago

Is this just an update to 1.3.1? If so I would like to merge and tag it as such. Then additional changes can be made.

micahcochran commented 3 years ago

Yes.

The code is marked BETA. There is #define BETA_RELEASE in MAIN.H that marks it as beta.

The code was downloaded from http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/base/fdisk.zip

micahcochran commented 3 years ago

I should probably run some kind of tool on PDISKIO.C, so that it does not replace lines of code that is only differ because of spacing.

micahcochran commented 3 years ago

I redid the commit so that PDISKIO.C skipped lines that don't differ for line spacing.