Open-source code to decode FM and MFM floppies using a Catweasel. But the code's retargetable (see the previous bookmark), and contains excellent documentation of how the encoding schemes work. (I now find myself wanting a CW/Discferret to play with...)