OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 5:41 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Hard Drives Question
PostPosted: Fri Sep 28, 2001 11:00 pm 
I don't whant to use int 13h extensions to get the correct information about drives larger than 8GB.
Can I access correct information with ports? How?
One more question: Does DMA accelerate the communication between hard drives and applications (kernel)?
Thank you!


Top
  
 
 Post subject: RE:Hard Drives Question
PostPosted: Fri Sep 28, 2001 11:00 pm 
>On 2001-09-29 16:37:15, Stefan wrote:
>I don't whant to use int 13h extensions to get
the correct information about drives larger than 8GB.

Understandable :)

>Can I access correct information with ports? How?

Probably :) How do you think the BIOS does it? :)
There's, no doubt, ports defined in the ATA
standard for sectors, heads and cylinders counts...
I'm just not sure what they are off hand.

>One more question: Does DMA accelerate the communication between hard drives and applications (kernel)?

DMA allows you do deligate your Hardware to CPU transfers to another
chip, and they'll be taken care of in the background, while
the CPU continues to execute instructions. In this
sense, yeah, it accelerates transfers... you can
be doing something else, while still reading
from the HD.

However, DMA is, at max, 16bit (unless there's 32
bit extensions now-a-days... but I haven't heard of
any) and can't cross a 64k segment boundary. Gotta
keep those in mind at all times.

j.weeks


Top
  
 
 Post subject: RE:Hard Drives Question
PostPosted: Fri Sep 28, 2001 11:00 pm 
>On 2001-09-29 19:57:08, j.weeks wrote:
>However, DMA is, at max, 16bit (unless there's 32
>bit extensions now-a-days... but I haven't heard of
>any) and can't cross a 64k segment boundary.

Those are restrictions of ISA (16-bit) DMA.
Hard drives use PCI bus-master DMA (32-bit),
which is much better.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 1047 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group