Page 1 of 1

Simple Generic Floppy Driver for Pmode 32bit

Posted: Mon Jul 07, 2008 2:29 pm
by Omega
Update: I published it to the OSDEV Wiki. I wasn't sure how to create a page for it so I placed it in my user page. I had to change my name to Omega because the Wiki hates underscores, but I actually like my new nick better so its all good. Now for my 32 Bit Floppy Driver Code/Guide can be found at this address until otherwise specified: http://wiki.osdev.org/User:Omega

Comments, Questions, or Concerns are welcomed. I hope you enjoy.

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Mon Jul 07, 2008 4:24 pm
by Zenith
A few things I'd like to note
  • - Implementation seems fairly complete. I like how it's more the style of a tutorial, but it would also be nice if it was more of a reference of how the FDC works and less code-specific. However, I do like how you describe each step concisely and with a fair bit of information (though more wouldn't hurt)
    - It doesn't seem that 'generic'; it's fairly focused on C, and does make some assumptions on how someone has implemented their interrupt handling. Like I said, something more of a reference style would help.
    - get_bootsector, ReadRoot, and company wouldn't be really part of this implementation - best be handled by a separate FAT (or EXT, because some floppies are formatted as such) filesystem driver
As an aside, I'm assuming this is part of your drive to dissolve the wiki, then? Since you're having a spot of trouble with reading the root directory in FAT12, this might be helpful.

Final Judgement: Other than my concerns, seems proper. A little more detail or description on some of the commands to the FDC and DMA would help clarify this for people. I'll make sure to add this information to the wiki :twisted:, or, I'll let you add it yourself.

I also don't get how you expect this to really be community code/information because we, as you should be well aware of, can't edit your posts :wink:.

Good luck!

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Mon Jul 07, 2008 4:32 pm
by Alboin
I'll make sure to add this information to the wiki :twisted:
No direct license, no addy. ;)

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Mon Jul 07, 2008 4:53 pm
by Omega
I was hoping people would simply post updates in a new thread or just pm it to me or whatever. OK, I thought about what you said and I will put my hate for the wiki aside for the sake of the community. After all, I don't want to destroy it, I just want to improve it. What does no direct license no addy imply? My license is take it freely, use it freely, blame yourself for problems. OK, I'll take the readRoot out, actually the get_bootsector could go in a separate fat12 file too. I'll make it better in the wiki. It says I need to join the wiki group? Thanks

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Tue Jul 08, 2008 2:25 am
by Omega
Hi. I have just published my guide to the Wiki. For those concerned, please see the first post in this thread for more info. Thanks

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Tue Jul 08, 2008 8:20 am
by Dex
For those that want a ASM example, you can see my code here: http://forum.osdev.org/viewtopic.php?f= ... fdd+driver

Re: Simple Generic Floppy Driver for Pmode 32bit

Posted: Wed Jul 09, 2008 12:03 am
by Omega
You should create a wiki page with that code and I will link to it as an alternative.