Working with Disk Image Files

To open a disk image you can either pass the filename you wish to open to DIMG on the commandline (for example, ./dimg /tmp/file.img) or select Open from the File menu.

Selecting Open from the File menu will display a standard file open dialog which you can use to locate a supported disk image file. Only raw and compressed (.IMZ, zipped) disk image files formatted with the FAT-12 filesystem are currently supported. Trying to open disk images with other filesystems or corrupt filesystems may require the FAT-12 filesystem plugin to be disabled to prevent malfunction.

Once a supported disk image has been opened its contents will be displayed in the main window such as in Figure 1.6. The name of the file loaded is shown in the title bar and the images volume label is shown in the status bar at the bottom of the main window. In this case, the volume label is STARTUP.

Figure 1.6: DIMG Main Window showing a DOS 6.22 disk image loaded
Image mainwindow-dos622

To write an image to a disk see Section 2.3.

The image can be closed again by choosing Close Image from the File Menu. This will close the disk image and return the program to how it looked before the image was open (Figure 1.1).

David Goodwin 2011-04-09