Direct access to floppy

May 13, 2009 at 5:24pm
Hello, I need to access floppy disk directly (not files but sectors). I know how to write using lseek() and write() but how about reading? I'm using windows xp and dev-c++.
May 13, 2009 at 5:44pm
This is significantly more difficult.

I searched MSDN and found a page with examples of how to do it with a CD-ROM drive:

http://support.microsoft.com/kb/138434

It says that it's the same process as it is for HDs and Floppies, so it should apply. If nothing else it'll give you a starting point for further research.
May 14, 2009 at 11:48am
Thanks!
May 16, 2009 at 7:41am
Here's a link that will probably be of use:

http://www.codeguru.com/cpp/cpp/cpp_mfc/files/article.php/c13809


Enjoy!
May 16, 2009 at 4:10pm
Great article! This gave me idea to make a floppy formater. Thanks!
Topic archived. No new replies allowed.