Changes

Jump to: navigation, search

HDCPM

6 bytes added, 18:21, 3 August 2022
/* CP/M Plus disk image files */
==CP/M Plus disk image files==
A CP/M Plus disk image file is a raw binary image of a CP/M hard disk or partition. Its name must be in the form CPMDSK0x.IMG where x=1, 2, 3 or 4 in order to be recognized by HDCPM. The size of the file depends on the Disk Parameter Block of the virtual hard disk it represents and for the initial release of HDCPM it is fixed and equal to 1 reserved track * 256 sectors per track * 512 bytes per sector + 8MB data = 8519680 bytes. If possible create your CPMDSK01.IMG file in a modern computer and copy it in the root directory of your FAT formatted medium. You can use the free online hex editor [https://hexed.it/ hexed.it] or any hex editor capable of creating binary files filled with a specific pattern.<br />
In case of hexed.it select 'New file' fill in 'Size of the new file = 8519680' and 'Fill Pattern = 0xE5' and press apply. Save the file as CPMDSK01.IMG <br />If you have a FAT capable DOS installed in your AMSTRAD you can use the provided MAKEIMG.BAS utility to create your image file. Keep in mind that it takes more than 1.5 hour for a 8MB image file to be created that way.<br />
CP/M disk image files can be accessed by a modern computer with [http://www.moria.de/~michael/cpmtools/ cpmtools]. Use the command |HDDEF to see the record you must insert in the diskdefs file.<br />
181
edits