IDE HDD control
From: Cameron Gibbs (spamtrap_at_crayne.org)
Date: 09/23/04
- Next message: Ivan Stamenkovic : "Using STRUC directive when interfacing MASM with TP6"
- Previous message: Grumble: "Re: gas/gdb problem"
- Next in thread: wolfgang kern: "Re: IDE HDD control"
- Reply: wolfgang kern: "Re: IDE HDD control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Ivan Stamenkovic : "Using STRUC directive when interfacing MASM with TP6"
- Previous message: Grumble: "Re: gas/gdb problem"
- 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
|