flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Activating Legacy DMA in ATA Device.

Author
Thread Post new topic Reply to topic
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC 28 Apr 2011, 22:18
When setting up a Device Data transfer it usually goes:

Setup DMA Controller
Setup Device
... ^-Tell Device to start

I have a working SB Driver that follows this for the 8237 DMA Controller and SB16 however the pattern doesn't do anything when working with ATA Hard Drive controllers.

my present code uses PIO as patch work to ensure the overall code works however there is so much overhead involved in waiting for the disk heads to reach their destination (nevermind the actual transfer) that the driver I'm working on can't be considered complete until the DMA code is applied.

Does anyone know how to tell the ATA Controller it should use DMA?

Thanks
Post 28 Apr 2011, 22:18
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.