IanJeffray wrote: ↑Thu Apr 20, 2023 9:48 pm
Attached. It's probably not worthwhile doing anything to specifically support A9.
Thanks, it will take me a while to reverse engineer it and work out its limitations so I'll probably just flag it as unsupported for the time being.
Right...the good news first. Everything Partition Manager is showing you is correct:
The FUJITSU has &4A85300 512 byte sectors = 37.26 GB
The "partition" on it (A9) is &4D00000 sectors = 38.5 GB
The 2GB DOM has &3D0BF0 512 byte sectors = 1.95 GB
The "partition" on it (2GB_DOM) is &300000 sectors = 1.5 GB
Now the bad news.
Clearly the logical FileCore drive sizes do not match the physical drive sizes and in the case of "A9", it exceeded the physical drive size. Worse still, a read beyond the end of the A9 partition succeeded so IDEFS is possibly wrapping the drive. There's an issue in Partition Manager here as it should have not attempted to read beyond the size of the drive.
As Simtec doesn't have a partition table it cannot support unused space on the disc so you essentially lose the 417 MB at the end of 2GB_DOM. There is however an issue in Partition Manager as it should have shown that 417 MB as Unallocated and allowed you to add a 2nd partition.
IDETool must be rounding the partition sizes, but not doing it quite as we'd expect. It's not rounding to cylinders as a cylinder is &400 sectors on both drives. It seems to have rounded 2GB_DOM down and A9 up - I can't fathom out how it got from &4A85300 to &4D00000 on "A9" though.
Finally - again due to there not being a partition table - when initialising the drive as "Simtec partitioning" PM is going to fall-back to a full-disc FileCore drive when it refreshes the drives as it can't tell the two apart. I'll need to put my thinking cap on and figure a workaround for that issue.
Issues I need to resolve:
- Report if a partition exceeds the physical drive
- Ensure it doesn't exceed the drive size when trawling the disc for Simtec "partitions"
- Show any blank space after the last partition on Simtec
- Identify a drive that's been initialised as Simtec partitioning
- Include a recent 32bit BASIC with PM