Page 1 of 1
floppy driver
Posted: Wed May 18, 2005 11:00 pm
by gmoney
does anyone know a site that shows you how to make / create a generic floppy driver
Re: floppy driver
Posted: Thu May 19, 2005 11:00 pm
by bubach
No, but i got a bunch of snippets and the intel manuals..
http://bos.asmhackers.net/docs/floppy/
/ Christoffer
Re: floppy driver
Posted: Thu May 19, 2005 11:00 pm
by gmoney
thanks man
Re: floppy driver
Posted: Thu May 19, 2005 11:00 pm
by gmoney
but to be honest with you i was looking for more of a c++ approch to it cause im no good at asm
Re: floppy driver
Posted: Fri May 20, 2005 11:00 pm
by bubach
can't help you then. try downloading a couple of small os'es that other members made, and look at their source?
Re: floppy driver
Posted: Fri May 20, 2005 11:00 pm
by carbonBased
Converting asm into C++ shouldn't be too daunting of a task assuming your OS has some form of DMA abstraction and simple port I/O.
If I were you, I'd take a look through the various asm snippets and grab the pieces you need and apply them appropriately to your C++ abstractions. The asm should be fairly straight forward (esp. those with good comments) and if you need help, there's a bunch of good Intel opcode references online now-a-days. Should definitly be do-able.
Cheers,
Jeff
Re: floppy driver
Posted: Sun May 29, 2005 11:00 pm
by frizzz
Look at my homepage and find a FD-driver in my OS, written new from scratch. Additionally You should find the:
82077AAFloppyControllerDatasheet.pdf
from Intel on the net (or contact me at
[email protected]
...and I will send it to You)
my homepage is:
www.rcfriz.de
Re: floppy driver
Posted: Tue May 31, 2005 11:00 pm
by blbrown
I don't know why I had trouble with this one either.
It looks like you have to have a lot setup already with your kernel including a timing driver, possibly a scheduler, and some working memory code to copy data from the floppy to memory.
I never got this working, but I have some notes:
floppy.c
floppy notes
Re: floppy driver
Posted: Thu Jun 02, 2005 11:00 pm
by gmoney
thanks for the help man, ill look over your notes
blbrown and your website frizz
Re: floppy driver
Posted: Fri Jun 03, 2005 11:00 pm
by bubach
Re: floppy driver
Posted: Wed Jun 29, 2005 11:00 pm
by gmoney
bulbach may i have a copy of your floppy source code
Re: floppy driver
Posted: Wed Jun 29, 2005 11:00 pm
by smiddy
I sent you an email with FDD.INC from Dex4u that is heavily commented. It should help you out.