Hello all, I've tried (but failed) to implement a floppy driver into my operating system. Such simple things as reading sectors just don't turn out to be that simple anymore...
Instead of writing a floppy driver, I'm writing a virtual filesystem that's mounted into RAM.
This works really well and I like it, but if anyone out there knows (or has source code) how to read sectors of a floppy disk WITHOUT using DMA, please tell me.
(Also any reccomendations on the VFS I'm implementing now would be good)
Virtual Filesystem
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
I've posted into 3 different threads because none of them are getting the results I need, and once you reach a certain point people stop replying .
I guess I'll just have to look into DMA programming then...
(btw this post was also asking for suggestions on my vfs as well, not just about floppy drivers)
I guess I'll just have to look into DMA programming then...
(btw this post was also asking for suggestions on my vfs as well, not just about floppy drivers)
You are better off using DMA. but if you really want to use PIO than look at the 82077AA controller manual (should give you the information you need.)
Microsoft: "let everyone run after us. We'll just INNOV~1"