Need a FDC Example not a Tutorial

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
PlayOS

Need a FDC Example not a Tutorial

Post by PlayOS »

Hi guys,

I have seen alot of tutorials and stuff come through here on how to program a FDC driver. The problem is they tell you all this stuff and then they say so do this

Step 1.
Step 2.
...........

But this is silly, what I am after is a simple example of a DMA transfer between floppy and memory or vice-versa. It only needs to transfer even 1 byte just something that I can use to understand the process.

When it comes to waiting for an IRQ I dont need anything like that just say something like now wait for the IRQ.

Maybe someone has some easy to understand code that they could post, I dont want a complete driver, I actually want to code my own, but I just need something that will show an actual transfer.

Thanks.
Ozguxxx

Re:Need a FDC Example not a Tutorial

Post by Ozguxxx »

Hi I want to ask a question. Is that FDC driver going to do data transfer(e.g. read sectors, write sectors. etc)?
grey wolf

Re:Need a FDC Example not a Tutorial

Post by grey wolf »

you could try looking through these docs: http://www.0xfi.com/oslib/topx.html#Floppy
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Need a FDC Example not a Tutorial

Post by Pype.Clicker »

grey wolf wrote: you could try looking through these docs: http://www.0xfi.com/oslib/topx.html#Floppy
very valuable link !!
Post Reply