IanJeffray wrote: Fri Oct 06, 2023
PM barks all manner of disc errors during format. Format with HForm and it's fine.
PM validates all writes, HForm doesn't. If PM is reporting disc errors, then there's an issue.
IanJeffray wrote: Fri Oct 06, 2023
Go back and re-init and re-format with PM and get "The disc write succeeded, but the data did not match when verified" error from PM. Then "Write failed ADFS 4 00000000". Oh great.
Sounds like ADFS needs patching to work with that DM. Either the write or read didn't work...which sounds suspiciously like DRQ timing issues.
Have you tried live-patching ADFS with the RiscPC patcher in my
Stardot post prior to formatting?
IanJeffray wrote: Fri Oct 06, 2023
But the disc -seems- to be ok after that - it verifies.
A verify simply checks for sector errors. I probably wouldn't trust a verify if it wasn't done immediately after a write to confirm the write was successful.
IanJeffray wrote: Fri Oct 06, 2023
I don't know if I should risk using it after this, or go back to HForm.
I wouldn't use it myself. HForm is giving you a false sense of security.
IanJeffray wrote: Fri Oct 06, 2023
Rerunning HForm gets "This drive does not currently have a valid ADFS format" warning in HForm and asks me to select the shape. Something's not sitting equally between what HForm does and what PM does, it seems.
HForm is somewhat archaic in that if the drive is already formatted, it attempts to read the geometry from contents its previously written to the drive - not the drive IDENTIFY. It's a throw-back to ST506 where the geometry isn't defined by the drive, so it's written during a format.
The format code in PM is the HForm code with bug-fixes and some tweaks to support partitions, so in theory a FileCore partitioning/FileCore format drive created using PM should be identical to an HForm format.
I don't recall what I did with the code that writes the HForm geometry to the drive - its probably still there, although its also possible I removed it as it's not relevant with modern drives - or its only written to ST506 drives.
As there's an open request to support moving drives to ADFS, I have heavily modified the code that writes the FileCore Boot record - perhaps wait for me to release that to see if this problem still occurs. It is specific to HForm though and does not affect using the drive.
IanJeffray wrote: Fri Oct 06, 2023
I should add, I've tried multiple DOMs - it's not faulty DOM hardware (works fine with ZIDEFS / ArcIn32)
I wouldn't suspect the drive as faulty - I'd suspect ADFS as the cause of the issues.