[Last Call] Learn how to a build a cloud-first strategyRegister Now


ATA command 0xEC ( identify drive )

Posted on 2009-04-21
Medium Priority
Last Modified: 2012-05-06
Can anyone shed some light on how to issue a "identify drive" command under DOS?  I tried INT13 function 25h but it returned with carry flag set and AH=1.

Thanks in advance.
Question by:LogicInnovations
  • 2
LVL 12

Assisted Solution

coredatarecovery earned 2000 total points
ID: 24209132

This is a C++ file include that has everything you need to do the IDE Identify command Plus more.

This book below, I have in my library, and it explains some of the problems with CHS vs LBA layering issues when accessing IDE drives at a BIOS level.


Hope This Helps,

Chuck House
Core Data Recovery.

Accepted Solution

LogicInnovations earned 0 total points
ID: 24210713
The code isn't exactly for DOS but it does show me the method, wish there was an easier way to do the disk id.

Thanks for your other suggestion.  I only need to get model number from the "identify drive" command.  I plan to do all other disk operations with with extended INT 13 calls.  
LVL 12

Expert Comment

ID: 24216572
I understand, I was just trying to give you the idea, It's been 5 years since I was hard coding in assembly.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question