First post, by h-a-l-9000
Imgmake is a DOSBox command that can create floppy or harddisk images, formatted or not formatted. It can also write a batch file with the needed imgmount command and read real floppy drives on the Windows platform.
For floppy images there are only predefined types, harddisk images can either be predefined or with custom size. The maximum supported size is 2GB.
Example:
'imgmake c:\floppy.img -t fd_1440' creates a formatted 1.4MB floppy image
'imgmake c:\harddisk_2gb.img -t hd_2gig' creates a formatted 2GB harddisk image
'imgmake c:\harddisk.img -t hd -size 123' creates a formatted ~123MB harddisk image
'imgmake c:\floppy.img -source a' reads the image from the disk in the A: drive
The path where the image should be created is on the host, not on mounted DOSBox drives.
For additional information and predefined image geometries type 'imgmake -?'.
Download: http://home.arcor.de/h-a-l-9000/dosbox_files/imgmake.zip (source + windows binary)
The patch also includes:
Changes to the imgmount command:
- when mounting an image as a, b, 0, 1 assume -t floppy if not otherwise specified
- drive parameters auto detection: extract drive parameters from MBR if possible instead of assuming bximage geometry (no need to pass parameters with formatted images created by imgmake)
- refuse image if it is too large or geometry was passed that could not be handled by INT13
Changes to the boot command:
- don't boot if the MBR / boot sector signature is missing as a real BIOS would do
1+1=10