Using A Raspberry Pi As A Commodore 64 Disk Drive

— by


The Commodore 64’s influence continues to echo. There’s a great throwback project going on over at Insentricity involving an R-Pi being used as a disk drive for the Commodore 64. Check out the vid for a nice look at the project!

I’ve made some more progress on my software that allows the Raspberry Pi to act as a Commodore 64 disk drive. I was amazed at how much more of the IEC protocol was missing from the documents I have. One of the things that I found a little strange about the IEC protocol was there was no way to specify how much of the data you want. Once you say go, the sender is just going to send it all. It turns out that when ATN is asserted it doesn’t mean abort, it just means pause.

Took quite a bit of doing to not miss any signaling that was happening when the Raspberry Pi was in the middle of sending data. It was tricky because I had to disable interrupts for timing issues during sending bytes, and of course that caused me to miss the ATN and CLK signals that the C64 wanted to send. I’ve got it worked out now, and things seem to be working quite reliably.

Make sure to head on over to the Insentricity site to get the full scoop!

(via Hacked Gadgets)

Newsletter

Our latest updates in your e-mail.


Leave a Reply