On Mon, 21 Apr 2008, Ralph Corderoy wrote:
Hi Alexander,
Hello all. Is there a way to do a read track, i.e. reading whole tracks including the gaps and data/address marks, on a PC running Linux ?
A standard fd-controller does not support that. The best you could do is scan the layout of a track of the floppy using readID commands. You can partially reconstruct the layout if you have accurate timing information.
Has this changed over time? Only I thought Acorn's RISC PC switched to using an SMSC 37C665GT:
http://www.smsc.com/main/datasheets/37c665gt.pdf High-Performance Multi-Mode Parallel Port Super I/O Floppy Disk Controllers
which, at the time, was the kind of thing used in PCs. That had a Read a Track command, see page 54 of the PDF.
Hi, Interesting! However it seems quite useless to me :-/. Only the contents of the data field is sent to the host, and it will only return data for which all the ID except sector number match the command. There seems to be no way of correlating data <-> sector number either.
Has it been dropped as PC hardware's moved on?
It seems to be available on the NEC µPD765, so I expect it to be present on just about any fdc. It does not return whole tracks including the gaps and data/address marks, though. Greetings, Alexander
I guess another alternative is to get an old floppy controller that supports the formats you're interested in and drive it directly.
Cheers,
Ralph.
-- Alexander van Heukelum, Institute for Theoretical Physics, Utrecht University, Leuvenlaan 4, 3584 CE Utrecht, The Netherlands. Room: MG307, Phone: (+31) (30) 253 4622, Fax: (+31) (30) 253 5937. .''`. "I also prepended comments to [...] defining what : :' : 'left' and 'right' means." -- Joe Korty `. `' (Patch accepted for inclusion in linux 2.6.6!)