Hi folks,
I suspect I'm doing it wrong when it comes to converting PERQ T2 .emu files to images. My reason for thinking so is that I get a lot of bad sectors when I do that, even on disk images that I don't think are bad. Does anyone have any advice to share?
I don't have any real PERQ disks to draw images from yet, so here's what I'm doing instead: taking some .emu files for MFM hard drives from other systems and then reformatting them inside of my PERQ.
One .emu file emulates a Vertex 150 drive, and the other the mighty Maxtor XT1140. The V150 image is one that has been used in an MFM emulator in someone else's PERQ before, but its provenance is unknown to me. The XT1140 image is all my own: it's the .emu file from
here which was never an actual drive --- it started life as a late-night mid-pandemic experiment that I only dimly remember with ext2emu and an ".img" file full of zeros. Either way, it formatted fine in a Whitechapel MG-1, and the .emu file that emerged after that can be
--analyze'd and converted to a disk image without any trouble. Here's how
mfm_util declares victory:
Found cyl 0 to 917, head 0 to 14, sector 0 to 17
Expected 247860 sectors got 247860 good sectors, 0 bad header, 0 bad data
0 sectors marked bad or spare
0 sectors corrected with ECC. Max bits in burst corrected 0
So these are the .emu files that I then serve to my own PERQ 2T2 via the MFM emulator and reformat using the PERQ's own utilities. After I do that, the emulated drives appear to work just fine inside of the PERQ. But when I try to use mfm_util to dump .img files, there are loads of bad sectors, even from the XT1140 image. Here's how mfm_util confesses defeat at the end of many error messages encouraging me to try different --begin_time flag values:
Found cyl 0 to 917, head 0 to 14, sector 0 to 14
Expected sectors 16 doesn't match sectors found 15
Expected 220320 sectors got 177157 good sectors, 0 bad header, 43163 bad data
0 sectors marked bad or spare
0 sectors corrected with ECC. Max bits in burst corrected 0
The V150 image behaves differently, with most of the bad sectors concentrated in the lower-numbered cylinders, and no advice to set
--begin_time. I actually have these .emu files online already, linked near the very bottom of
https://mg-1.uk/
I'm not setting any drive parameters when I invoke mfm_util; I'm just using the -a flag. Is there something I should do differently to create good images from PERQ .emu files?
nb: In all the above, I've been working with freshly-compiled MFM source code that's up-to-date with the github repo.
Thanks for any tips --- of course, it's excellent that it's possible to have a hard drive replacement for a PERQ at all!
--T