ptorric wrote:
I dont know wd1722, it seems a buffer/driver.
In your opinion, is it possible to directly drive (but a power driver) the floppy via a 6522?
I think the main problem is timing...
The WD1770/1772/177x are in fact disk drive controllers, with some (small) intelligence inside. You store a command into the command register and can then read the results in another register, or write data to another register that is written to disk.
You could probably replace the WD177x by discrete logic ICs (74LS*), similar to the first Commodore disk drives that used discrete logic (see for example the schematics for the (early) VC1541 drives
http://www.zimmers.net/anonftp/pub/cbm/ ... index.html
(note that later drives combined a lot of logic into a custom IC. With the "long board" schematics with the discrete logic you can actually see how the GCR encoding in CBM floppy drives work)
Or you can look at the even older IEEE488 dual drives like the 2040
http://www.zimmers.net/anonftp/pub/cbm/ ... index.html that use discrete logic as well (but with a different data <-> GCR en-/decoding, using a ROM chip).
The WD177x, however, use MFM as encoding, not the Commodore GCR encoding, so you would have to do the schematics yourself (or maybe find an ancient discrete logic MFM controller schematics). From a timing point of view it is only feasible by using some kind of shift registers, so that the 6502 only needs to handle data bytes, not bits. OTOH, that holds true for 1 or 2MHz 6502, maybe a 16MHz 65816 could even do the bits.
André