I am now uploading the source code... I hope it can be helpful to those learning DOS, Windows, disk systems, and programming.
It includes three versions: pure DOS, WIN32 Console, and WIN32 GUI. The backup files generated by these versions can be used across any version.
Main functions: Backup/restore/replace/compare/print partition tables, partition boot sectors, file allocation tables, and CMOS.
USB disks are not supported.
The DOS version includes all functions.
The WIN32 Console version has not yet enabled the print function and CMOS operations.
The WIN32 GUI version has not yet enabled the compare function, print function, and CMOS operations.
The modules for the unimplemented functions in the WIN32 versions are complete. If you wish to use them, you can manually enable the call switches or add a few lines of calling code. I will add them in the future when I have time...
(In Windows, the print function cannot directly use DOS code; it needs to first send content to the edit box buffer for display... Those interested can implement this themselves...) Since this was just converted from DOS code to Windows, the program prompts have not been fully adapted to Windows, and functions like printf() remain, but they do not affect compilation. They can be rewritten when time permits. Due to time constraints, there are no detailed comments, but variable names were generally chosen based on their functions during writing, so the code structure should be relatively easy to understand.
[ Last edited by GOTOmsdos on 2007-9-22 at 08:44 AM ]
It includes three versions: pure DOS, WIN32 Console, and WIN32 GUI. The backup files generated by these versions can be used across any version.
Main functions: Backup/restore/replace/compare/print partition tables, partition boot sectors, file allocation tables, and CMOS.
USB disks are not supported.
The DOS version includes all functions.
The WIN32 Console version has not yet enabled the print function and CMOS operations.
The WIN32 GUI version has not yet enabled the compare function, print function, and CMOS operations.
The modules for the unimplemented functions in the WIN32 versions are complete. If you wish to use them, you can manually enable the call switches or add a few lines of calling code. I will add them in the future when I have time...
(In Windows, the print function cannot directly use DOS code; it needs to first send content to the edit box buffer for display... Those interested can implement this themselves...) Since this was just converted from DOS code to Windows, the program prompts have not been fully adapted to Windows, and functions like printf() remain, but they do not affect compilation. They can be rewritten when time permits. Due to time constraints, there are no detailed comments, but variable names were generally chosen based on their functions during writing, so the code structure should be relatively easy to understand.
[ Last edited by GOTOmsdos on 2007-9-22 at 08:44 AM ]
Recent Ratings for This Post
( 3 in total)
Click for details
| Rater | Score | Time |
|---|---|---|
| hapeacock | -1 | 2007-08-22 20:46 |
| yangzhiyi | +2 | 2008-03-12 12:15 |
| johnsonlam | +1 | 2008-03-12 18:39 |
Attachments


