> I would try adding call to drive_step at end of drive_seek_track0 in drive.c drive_step(DRIVE_STEP_FAST, 4, DRIVE_STEP_NO_UPDATE_CYL, DRIVE_STEP_RET_ERR); and see what happens.
Seems to be making progress. I added the call to drive_step as you suggested. I'm 99% sure this drive is 615 cylinders, 4 heads, 17 sectors. It seems to find that heads 3 and 4 are not there, so it suggests 2 heads. It then images the drive, but only half...if I'm reading this correctly.
debian@mfmemu-beagle-float:/opt/mfm/mfm$ mfm_read --analyze --emulation_file attpc_a --extracted_data_file attpc_extract
Board revision C detected
Found drive at select 1
Returning to track 0
Drive RPM 3600.3
Found matching format RQDX2: good count difference -1
Found matching format WD_3B1: good count difference 0
Found matching format CORVUS_OMNI: good count difference -1
Found matching format Souyz-Neon: good count difference -1
Retrying on cylinder 0 head 1
Found matching format RQDX2: good count difference -1
Found matching format WD_3B1: good count difference 0
Found matching format CORVUS_OMNI: good count difference -1
Found matching format Souyz-Neon: good count difference -1
Multiple matching formats found, using best
Selected head 4 found 0, last good head found 1
Read errors trying to determine sector numbering, results may be in error
Number of heads 2 number of sectors 17 first sector 0
Interleave (not checked): 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Drive didn't reach track 0 testing fast ST412 seek
Drive didn't reach track 0 testing slow ST506 seek
Seek test didn't work. Trying to read disk anyway with fast seeks.
If read successful email
d...@pdp8online.com with drive model.
Drive supports buffered seeks (ST412)
No sectors readable from cylinder 616
Stopping end of disk search due to two unreadable tracks in a row
Number of cylinders 616, 10.7 MB
Command line to read disk:
--format WD_3B1 --sectors 17,0 --heads 2 --cylinders 616 --header_crc 0xffff,0x1021,16,0 --data_crc 0xffff,0x1021,16,0 --sector_length 512 --retries 50,4 --drive 1
Returning to track 0
< various cylinder issues starting at 612...which is suspiciously 616-4>
Found cyl 0 to 615, head 0 to 1, sector 0 to 16
Expected 20944 sectors got 20807 good sectors, 128 bad header, 9 bad data
0 sectors marked bad or spare
0 sectors corrected with ECC. Max bits in burst corrected 0
Track read time in ms min 18.505333 max 125.818375 avg 42.178079
To view this discussion visit
https://groups.google.com/d/msgid/mfm-discuss/aRODEUSCqPgYFOdD%40hugin3.