Virtual Filesystem

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
pcmattman
Member
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:

Virtual Filesystem

Post 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)
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Post 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.
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
pcmattman
Member
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:

Post 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)
User avatar
B.E
Member
Member
Posts: 275
Joined: Sat Oct 21, 2006 5:29 pm
Location: Brisbane Australia
Contact:

Post 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.)
Image
Microsoft: "let everyone run after us. We'll just INNOV~1"
Post Reply