All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Identify a ATA or SATA
PostPosted: March 16th, 2014, 8:15 
Offline

Joined: March 16th, 2014, 6:44
Posts: 1
Location: Earth Planet
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group