IDE HDD control

From: Cameron Gibbs (spamtrap_at_crayne.org)
Date: 09/23/04


Date: Thu, 23 Sep 2004 14:53:42 +0000 (UTC)

Hey again friendly peoples :)

Looking at the I/O IDE interface again and seeing how for example:

Primary IDE Controller, master drive:
Address: 1F0-1F7h
8 Bytes

Primary IDE Controller, slave drive:
Address: 3F6-3F7h
2 Bytes

I'm programming an LBA hard disk driver that can work both the master and
slave drives of an IDE channel.
Speaking about testing for drive readiness using the Status registers (byte
7 of master, byte 0 of slave).
For testing purposes, does anyone know precisely if one needs to use the
slave drive registers at all?
I ask this because from what I read, the Alternate Status register of the
slave drive appears to just hold the same information as byte 7 of the
master interface.

Are the "Slave" registers active weather there is a slave drive attached or
not?

Appreciating any help.
Thanks from Cameron.

--
______________________________
Reply to the group.
______________________________
I could have the cure for cancer on my system.
       Computer Viruses mess with us all.
The PC & Electronic Data Map Project:
http://members.dodo.com.au/~cameron111
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 9/10/04


Relevant Pages

  • Re: Clean install, System disk drive letter = F?
    ... Saved settings from existing drives. ... Removed Master and Slave drives from primary IDE channel and put in new ... I did a clean install of Windows and got some similar results. ...
    (microsoft.public.windowsxp.general)
  • Re: Clean install, System disk drive letter = F?
    ... Saved settings from existing drives. ... Removed Master and Slave drives from primary IDE channel and put in new ... I did a clean install of Windows and got some similar results. ...
    (microsoft.public.windowsxp.general)
  • RE: Hitachi DesKstar IC35L120AVV207-0 123.5 GB hard drive
    ... Slave drives can be larger than master. ... Have you tried setting the drive as master and seeing if it shows up in BIOS? ...
    (microsoft.public.windowsxp.help_and_support)
  • ATA 100 & ATA 133 mixed
    ... If I have two drives both connected to the primary IDE controller and have ... one that is an ATA/133 and it is as Master and the other is an ATA/100 and ... I know that when transferring data between the two that the transfer will be ...
    (microsoft.public.windowsxp.hardware)
  • Re: Help installing Fedora
    ... Each IDE/ATA channel can support either one or two devices. ... giving each device a designation as either master or slave, ... the reasons why drives don't always "play nicely together" has to do ...
    (comp.os.linux.setup)