Hi,
Some time ago i got a new pc, Intel Core 2 Duo 6600, whit an Asus P5B main board (ICH8R), but now i am trying to port my OS to this pc, but i am having some difficulties whit the SATA driver..
My OS is completely able to run on a P3, whit mainboard chip PIIX4 (UDMA 33). But some how i just cant find it how i can access the SATA Device's..
Main questions:
Can i still use the same ATAPI, and ATA commands? or does SATA have its own command list.
How can i access the basic IDE i/o reg's, so which normally would be located at 0x1F0 or 0x170?
Is it possible to write 1 driver which is compatible whit ICH5 and ICH8, main board chips, so is the ICH8 back-ward compatible? (it should be, but i already found a couple of things which would suggest ).
Did any one ever try this? any replies are welcome.
Regards.
PyroMathic
Sata - driver
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
You either set up PATA compatibility or use SATA's native mode, AHCI. You can find loads of docs on it, including stuff like NCQ which is pretty sweet for running systems. (FYI, got an SATA disk with NCQ that you can use for tests if you'd like)kataklinger wrote:On some computers you must enable PATA compatibility in BIOS setup.Pype.Clicker wrote:much like UDMA isn't used by default, your SATA disk will still support PATA commands after the POST.
-
- Member
- Posts: 33
- Joined: Wed Apr 26, 2006 11:00 pm