Thanks for the response.
I am using the ATA Command to write data to sectors using DMA access. Write DMA (0xCA).
For this we have to pass some parameters to the Base port address of IDE controller.like 0xIF0 and 0x170.. This parameter inputs contains sector address where we need to write the data. and command (0xCA) sector count etc.
I am able to execute the command successfully. But I dont know where and how I need to keep the data buffer so that while executing the ATA command it will take the data from that memory location.
Now what has happened is that after executing the command (0xCA), it is writing some other data to the hard disk sectors.
So I want to know where and how I can keep my buffer so that the command can refer that buffer to fill the sectors.
You can see more details about this ATA command in ATA/ATAPI standard 6.0 .
Thanks,
Ned
Main Topics
Browse All Topics





by: DanRollinsPosted on 2008-08-11 at 16:35:55ID: 22209127
Please tell me more about the "DMA command" that you are using,