Re: MKpart_exe for Q40 & Q60
Posted: Tue Apr 18, 2023 5:49 pm
Hi Derek,
It seems that back in the day the partition table for the Qx0 was a missed opportunity as each partition entry only occupies 12 bytes. The 4 partition table entries sit just 58 bytes from the end of the sector, the remainder of the sector apart from the magic number in the 1st 2 bytes is empty, so there would have been room to have a table of 8 entries if started lower in the sector. It's academic now with the ability to read QXL.WIN files as if they were partitions on a fat32 disk.
MKpart_exe was simple to modify once I had understood the decision logic. It required one branch condition to be changed to accept a final partition of less than the full size of the disk.
Cheers
It seems that back in the day the partition table for the Qx0 was a missed opportunity as each partition entry only occupies 12 bytes. The 4 partition table entries sit just 58 bytes from the end of the sector, the remainder of the sector apart from the magic number in the 1st 2 bytes is empty, so there would have been room to have a table of 8 entries if started lower in the sector. It's academic now with the ability to read QXL.WIN files as if they were partitions on a fat32 disk.
MKpart_exe was simple to modify once I had understood the decision logic. It required one branch condition to be changed to accept a final partition of less than the full size of the disk.
Cheers