Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Floppy Drive Controller Help!!!!!

Floppy Drive Controller Help!!!!!

Floppy Drive Controller Help!!!!!

I am using the FDC's ports to get it to read a sector off of the floppy drive in protected mode. I sucessfully can turn it on, wait for it to get up to speed, recalibrate, and then issue the read command for either non-dma or dma transfer... then read the 7 status(I think) bytes from the data register 03F5h. But I need to know how to set up DMA in protected mode, and if not using DMA where is the LILO that I should read from?

Replies continue below

Recommended for you

RE: Floppy Drive Controller Help!!!!!

    i'm also working on floppy driver.i've some code for involving DMA for disk i/o.i also need ur help on some initial steps of building floppy disk driver.
why don't u email me.

RE: Floppy Drive Controller Help!!!!!

hmm, i know a little about this but not alot ;)

when you perform a sector read or write - i beleive it works something liek this - initialise drive for read/write, during process: the floppy controller fires an interrupt for each byte of a sector and you need a short routine to either read/write the data port. once the whole sector has been read/written then do final routine.

this little ISR is great because it promotes multitasking.

i downloaded a datadsheet on the stadard controller 82077AA - im just trying to find the URL. its great - it covers all aspects of programming the controller.

if i find it ill post the URL here

"There are 10 types of people in this world, those who know binary and those who don't!"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close