Emulating a Disk II via rPi GPIO.

2 posts / 0 new
Last post
Lee Adamson's picture
Last seen: 2 years 3 months ago
Joined: Oct 11 2018 - 22:53
Posts: 92
Emulating a Disk II via rPi GPIO.

So, since I have an rPi in my //e anyway, and since it has plenty of spare GPIO pins, I thought maybe I'd try hooking some of them to a Disk II controller and writing a unix daemon to emulate a floppy drive.  I'd think that the rPi would be fast enough to do it all in software, especially if it was running a realtime kernel......  But I dunno.....


Some conversion from 3.3v to 5v logic would be required of course.  That got me thinking that it might just be easier to hook an MCP23017 (running at 5v) to the i2c pins through an i2c level converter, instead of messing around converting several GPIO pins to 5v.  One would think that a 400kHz i2c bus would be sufficient to emulate a Disk II in software......  Maybe?


Anyone ever mess with anything remotely like this?

Last seen: 2 days 16 hours ago
Joined: Dec 19 2008 - 21:01
Posts: 375
Probably not with Linux

Probably not with Linux running - the timing is too tight. You'd need to develop something to replace the kernal entirely, like they did with the Pi1541.


Log in or register to post comments