Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: Hard Disk *...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 11 Topic 4556 of 4728
Post > Topic >>

Re: Hard Disk ****ts

by Tim Roberts <spamtrap@[EMAIL PROTECTED] > Mar 5, 2008 at 06:22 AM

tony  <spamtrap@[EMAIL PROTECTED]
> wrote:
>
>I am just wondering, what are the ****t numbers through which we can
>access Hard disk using 'IN' and 'OUT' instructions?

First IDE controller is 1F0-1F7, 3F6 and 3F7; second IDE controller is
170-177, 376, and 377.  The third and fourth controllers are not so
standardized.

>Do these ****t
>numbers remain same or they change from one operating system to
>another or from one platform to another?

This is hardware.  It doesn't change based on the operating system.

>In memory mapped I/O, can we access hard disk using the same ****ts or
>operating system assigns arbitrary addresses to these ****ts?

You don't use memory mapped I/O to talk to an IDE controller.  Further, if
an operating system is running, you cannot talk to these ****ts at all. The
operating system driver owns them.

If you really want to see sample code that talks to an IDE controller, you
should go fetch a Linux kernel, and look in the drivers/ide directory.
-- 
Tim Roberts, timr@[EMAIL PROTECTED]
 & Boekelheide, Inc.
 




 11 Posts in Topic:
Hard Disk Ports
tony <spamtrap@[EMAIL  2008-03-04 10:47:01 
Re: Hard Disk Ports
Tim Roberts <spamtrap  2008-03-05 06:22:14 
Re: Hard Disk Ports
"Wolfgang Kern"  2008-03-05 13:50:41 
Re: Hard Disk Ports
tony <spamtrap@[EMAIL  2008-03-05 07:17:07 
Re: Hard Disk Ports
Tim Roberts <spamtrap  2008-03-07 04:37:59 
Re: Hard Disk Ports
Robert Redelmeier <red  2008-03-07 14:41:52 
Re: Hard Disk Ports
NoSpam@[EMAIL PROTECTED]   2008-03-08 13:14:55 
Re: Hard Disk Ports
Jerry Coffin <spamtra  2008-03-09 16:34:13 
Re: Hard Disk Ports
tony <spamtrap@[EMAIL  2008-03-06 09:52:28 
Re: Hard Disk Ports
Robert Redelmeier <red  2008-03-06 22:06:31 
Re: Hard Disk Ports
"Wolfgang Kern"  2008-03-07 16:46:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 0:35:35 CDT 2008.