Re: IDE HDD control
From: Cameron Gibbs (spamtrap_at_crayne.org)
Date: 09/25/04
- Previous message: David Lindauer : "Re: How to compile the following into a DLL?"
- In reply to: wolfgang kern: "Re: IDE HDD control"
- Next in thread: wolfgang kern: "Re: IDE HDD control"
- Reply: wolfgang kern: "Re: IDE HDD control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 25 Sep 2004 18:14:56 +0000 (UTC)
Reply embedded.
_________________________________
"wolfgang kern" <nowhere@nevernet.at> wrote in message news:<cj0n6a$hpm$2@newsreader1.utanet.at>...
> Cameron Gibbs asked:
>
> | Hey again friendly peoples :)
> :) sure?
> | Looking at the I/O IDE interface again and seeing how for example:
>
> | Primary IDE Controller, master drive:
> | Address: 1F0-1F7h
> | 8 Bytes
>
> Same ports for 'Primary slave drive'.
That basically answers my question.
Thanks!
> port 1f0 is four (two on older) bytes wide.
I was thinking that some knowledgeable person would pick up on the 8
byte reference.
Speaking just about the older interface (negating newer improvements):
I was aware that the register at 1F0 was actually 16 bits making the
interface 9 bytes (I should perhaps say 8 registers).
However I was not aware that one could have 32 bit registers mapped to
the 16 bit I/O address space.
Might the 16 bits for the I/O space refer only to the number of
possible I/O addresses?
Otherwise maybe the HDD controller just handles the doubleword hit
using the 16 bit register. Squeezing it through one clock strike or
whatever?
> Some controllers allow dword writes to 01f3 (LBA 0..27)
> bits 28..31 (high nibble of 01f6) are 'E' for master and 'F' for slave.
Any idea how to determine what HDDs would accept such a write and what
HDDs would not?
While I am asking that, how would one go about determining the
presence or absence of a drive?
No further confusion at this time.
Thanks wolfgang
>>From Cameron.
- Previous message: David Lindauer : "Re: How to compile the following into a DLL?"
- In reply to: wolfgang kern: "Re: IDE HDD control"
- Next in thread: wolfgang kern: "Re: IDE HDD control"
- Reply: wolfgang kern: "Re: IDE HDD control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|