Page 1 of 1

Virtual Filesystem

Posted: Sat Feb 24, 2007 10:17 pm
by pcmattman
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)

Posted: Sat Feb 24, 2007 11:11 pm
by bubach
I'm gonna start by asking you why you post (almost) the same thing in 3 diffrent threads?
Anyway, is there any reason for not using DMA? With DMA it's easier to find documentation and it doesn't use as much CPU time.

Posted: Sat Feb 24, 2007 11:49 pm
by pcmattman
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)

Posted: Sun Feb 25, 2007 12:43 am
by B.E
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.)