RobSmithDev / ArduinoFloppyDiskReader

DrawBridge aka Arduino Amiga Floppy Disk Reader/Writer - Hardware and software interface for accessing Amiga disks (read/write ADF and SCP) on non-Amiga hardware
https://amiga.robsmithdev.co.uk
GNU General Public License v3.0
227 stars 53 forks source link

Question-WD1793FDC compatible use? #1

Closed drencorxeen closed 6 years ago

drencorxeen commented 6 years ago

This is not really a issue, but more of a question.

With the code you have here for working with Amiga disks. How hard would it be to modify the code to work with floppy disks that were formatted by WD1793FDC's?

The reason I ask is that I am trying to find a way to read and write to old Tandy/TRS-80 Color Computer floppy disks. This includes both the 250Kbps mode of 5.25"/3.5" and the 8" 500Kbps drives. The default sector size is 256 Bytes.

Thanks for any information you might have on this crazy question.

RobSmithDev commented 6 years ago

Hi yes it’s possible I guess.
Without checking I would imagine the 500kbps is MFM encoded and the 250kbps being FM encoded. The software will decide the MFM format, and FM is really simple

The Arduino code is basically sending pulse data back to the computer so could read these disks, however you would have to change the timer/math calculations to take into account the different data rate (off the top of my head it’s currently set for 300kbps)

drencorxeen commented 6 years ago

Thanks for the information.

Yeah the 250Kbps and 500Kbps are both MFM in this case.