BK-0011M HDD image format
Posted: Tue Jul 14, 2020 12:15 pm
Hi,
I am working on an HDI to VHD conversion utility, in order to mount HDI disk images in MiSTER under the BK-0011М core. I have a couple of questions:
After looking into the sources of bkhdutil.exe, I got the following understanding of the disk image file format.
The first 512 byte block of the image is reserved for the logical disk's table ("partition" table). The format of this block is as follows:
Byte Offset: Length, Description
===================================
0: 4, "BKHD" (ascii)
4: 1, 0x01 (version number)
5-15: 11, 0x00 (reserved)
16: 4, offset to first logical disk (C:), in units of 512 byte blocks (DWORD)
20: 4, offset to second logical disk (D:) ....
.....
Remaining bytes in the block are set to 0x00. Although bkhdutil.exe supports up to 64 logical disks, there is space for up to (512 - 16) / 4 = 124 logical disk records in the table. I suppose, all these records can be used, if needed? Also, is the above description correct?
BR,
Stanislav
I am working on an HDI to VHD conversion utility, in order to mount HDI disk images in MiSTER under the BK-0011М core. I have a couple of questions:
After looking into the sources of bkhdutil.exe, I got the following understanding of the disk image file format.
The first 512 byte block of the image is reserved for the logical disk's table ("partition" table). The format of this block is as follows:
Byte Offset: Length, Description
===================================
0: 4, "BKHD" (ascii)
4: 1, 0x01 (version number)
5-15: 11, 0x00 (reserved)
16: 4, offset to first logical disk (C:), in units of 512 byte blocks (DWORD)
20: 4, offset to second logical disk (D:) ....
.....
Remaining bytes in the block are set to 0x00. Although bkhdutil.exe supports up to 64 logical disks, there is space for up to (512 - 16) / 4 = 124 logical disk records in the table. I suppose, all these records can be used, if needed? Also, is the above description correct?
BR,
Stanislav