floppy driver

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
gmoney
Member
Member
Posts: 106
Joined: Mon Jan 03, 2005 12:00 am
Location: Texas, Usa

floppy driver

Post by gmoney »

does anyone know a site that shows you how to make / create a generic floppy driver
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: floppy driver

Post by bubach »

No, but i got a bunch of snippets and the intel manuals..
http://bos.asmhackers.net/docs/floppy/

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
gmoney
Member
Member
Posts: 106
Joined: Mon Jan 03, 2005 12:00 am
Location: Texas, Usa

Re: floppy driver

Post by gmoney »

thanks man
Just because your phone is "smart" doesn't mean the user is... ijs
gmoney
Member
Member
Posts: 106
Joined: Mon Jan 03, 2005 12:00 am
Location: Texas, Usa

Re: floppy driver

Post 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
Just because your phone is "smart" doesn't mean the user is... ijs
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: floppy driver

Post by bubach »

can't help you then. try downloading a couple of small os'es that other members made, and look at their source?
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: floppy driver

Post 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
frizzz
Member
Member
Posts: 36
Joined: Sat Oct 30, 2004 11:00 pm
Location: Germany
Contact:

Re: floppy driver

Post 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
blbrown
Posts: 2
Joined: Tue May 17, 2005 11:00 pm

Re: floppy driver

Post 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
Last edited by blbrown on Tue May 31, 2005 11:00 pm, edited 1 time in total.
gmoney
Member
Member
Posts: 106
Joined: Mon Jan 03, 2005 12:00 am
Location: Texas, Usa

Re: floppy driver

Post by gmoney »

thanks for the help man, ill look over your notes
blbrown and your website frizz
Just because your phone is "smart" doesn't mean the user is... ijs
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: floppy driver

Post by bubach »

Last edited by bubach on Fri Jun 03, 2005 11:00 pm, edited 1 time in total.
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
gmoney
Member
Member
Posts: 106
Joined: Mon Jan 03, 2005 12:00 am
Location: Texas, Usa

Re: floppy driver

Post by gmoney »

bulbach may i have a copy of your floppy source code
Just because your phone is "smart" doesn't mean the user is... ijs
User avatar
smiddy
Member
Member
Posts: 127
Joined: Sun Oct 24, 2004 11:00 pm
Location: In my cube, like a good leming. ;-)

Re: floppy driver

Post by smiddy »

I sent you an email with FDD.INC from Dex4u that is heavily commented. It should help you out.
-smiddy
Post Reply