How to initialize the floppy?
How to control the floppy to read a sector? (use i/o port , my kernel is in protect mode)
I want to know the steps to do them...
[Help Me] How to control the floppy to read a sector?
[Help Me] How to control the floppy to read a sector?
Last edited by SCSoft on Thu Feb 23, 2006 12:00 am, edited 1 time in total.
-
- Member
- Posts: 26
- Joined: Fri Nov 18, 2005 12:00 am
- Location: a perfect view out of the novotel
Re: [Help Me] How to control the floppy to read a sector?
three documents helped me out tremendously:
http://www.mega-tokyo.com/osfaq2/index.php/DMA
http://bos.asmhackers.net/docs/floppy/d ... torial.txt
http://www.isdaman.com/alsos/hardware/fdc/floppy.htm
the DMA isn't 100% necessary unless you plan on using DMA. i'm not going to go into the pros and cons about DMA here, though because i don't feel like i know enough to advise you one way or another.
the last two links kind of go hand in hand. i read the last one first, and then i read the second one. if i hadn't read them in that order it might not have made sense to me. the last link is a great documentation of a lot of the floppy controller's ports, commands, interrupts, etc. oh, and the anchor links on that last one don't work because it's not the original location of the page. the information is still great, though.
hope that helps.[/url]
http://www.mega-tokyo.com/osfaq2/index.php/DMA
http://bos.asmhackers.net/docs/floppy/d ... torial.txt
http://www.isdaman.com/alsos/hardware/fdc/floppy.htm
the DMA isn't 100% necessary unless you plan on using DMA. i'm not going to go into the pros and cons about DMA here, though because i don't feel like i know enough to advise you one way or another.
the last two links kind of go hand in hand. i read the last one first, and then i read the second one. if i hadn't read them in that order it might not have made sense to me. the last link is a great documentation of a lot of the floppy controller's ports, commands, interrupts, etc. oh, and the anchor links on that last one don't work because it's not the original location of the page. the information is still great, though.
hope that helps.[/url]
Last edited by robert macabre on Thu Feb 23, 2006 12:00 am, edited 1 time in total.
laika, come home.