HDD GURU FORUMS
http://forum.hddguru.com/

Identify a ATA or SATA
http://forum.hddguru.com/viewtopic.php?f=7&t=28178
Page 1 of 1

Author:  HE-MAN [ March 16th, 2014, 8:15 ]
Post subject:  Identify a ATA or SATA

I am trying to identify if a ATA and SATA drives with the ECh command with the opcodes:

Code:
mov ax,00ECh
out 1F7h,ax
in 1F7h,ax


but this code returns FFh in ax register and when I try to read 1F4h and 1F5h ports returns FFh in ax too. How can I identify if is a ATA or SATA drive using I/O ports?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/