ATA command 0xEC ( identify drive )

Posted on 2009-04-21
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
    LVL 12

    Assisted Solution


    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.,M1

    Hope This Helps,

    Chuck House
    Core Data Recovery.

    Accepted Solution

    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

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now