I'll be receiving my first RaspberryPI later this week and while looking over the documentation and tutorials on the net, it seems like quite a simple and versatile platform. Actually, I find the arm assembly to be easier than the x86 one.
So I was thinking on starting a project to keep me occupied for a while and learn some new stuff on the way as well: getting a floppy drive working through GPIO.
As a first step I was thinking on hooking up a Intel 8272 controller to Raspberry and issuing it some basic commands like querying the drive status.
To keep things simple I won't be using DMA just interrupts. And here I have no idea how the ARM11 compliant CPU in this device handles interrupts. The lack of standardisation compared to the x86 world is something I'll have to face.
I've found this article from Broken Thorn to be quite illuminating as to how the 8272 works. I reckon I should be able to write a driver in assembly to talk to it.
Do you think its reasonably possible? Is there anything in particular I should be especially careful of when working with the FDC (I haven't written any drivers for floppies not even on x86 so I don't have any experience in this) ?
Furthermore if you know of a more suitable controller than the 8272, something that's easier to program, I'm open to alternatives.
So I was thinking on starting a project to keep me occupied for a while and learn some new stuff on the way as well: getting a floppy drive working through GPIO.
As a first step I was thinking on hooking up a Intel 8272 controller to Raspberry and issuing it some basic commands like querying the drive status.
To keep things simple I won't be using DMA just interrupts. And here I have no idea how the ARM11 compliant CPU in this device handles interrupts. The lack of standardisation compared to the x86 world is something I'll have to face.
I've found this article from Broken Thorn to be quite illuminating as to how the 8272 works. I reckon I should be able to write a driver in assembly to talk to it.
Do you think its reasonably possible? Is there anything in particular I should be especially careful of when working with the FDC (I haven't written any drivers for floppies not even on x86 so I don't have any experience in this) ?
Furthermore if you know of a more suitable controller than the 8272, something that's easier to program, I'm open to alternatives.