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

x
?
Solved

ATA command 0xEC ( identify drive )

Posted on 2009-04-21
3
Medium Priority
?
2,516 Views
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.
0
Comment
Question by:LogicInnovations
  • 2
3 Comments
 
LVL 12

Assisted Solution

by:coredatarecovery
coredatarecovery earned 2000 total points
ID: 24209132
http://www.winsim.com/diskid32/winio/diskid32.cpp

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.




http://books.google.com/books?id=Ee9PF6Zv_tMC&pg=PA155&lpg=PA155&dq=assembly+13H+bios+identify&source=bl&ots=8z0VCcOEsW&sig=v11yQy-LI0zOZbNrRW0FQwCxcKg&hl=en&ei=EHrvSebREqDmtQOJiZzoAQ&sa=X&oi=book_result&ct=result&resnum=3#PPA156,M1

Hope This Helps,

Chuck House
Core Data Recovery.
0
 

Accepted Solution

by:
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.  
0
 
LVL 12

Expert Comment

by:coredatarecovery
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.
0

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