Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 846987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:42:25+00:00 2026-05-15T06:42:25+00:00

I want fetch the parameters of my hard disk. Using the technique described here

  • 0

I want fetch the parameters of my hard disk. Using the technique described here.

  • This is code showing normal parameters of floppy disk:

    mov dl,00h
    mov ah,08h
    int 13h
    
  • This is code, showing not valid parameters of hard disk (may be, my hard disk space is big (LBA)):

    mov dl,80h 
    mov ah,08h 
    int 13h
    
  • And I’ve written this code:

    mov dl,80h
    mov ah,48h
    int 13h
    

The code is giving cf = 1(error). How do I fix it?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T06:42:26+00:00Added an answer on May 15, 2026 at 6:42 am

    On error, AH should contain the error code. What was it?

    Ralf Brown’s (excellent) interrupt list details them:

     00h    successful completion
     01h    invalid function in AH or invalid parameter
     02h    address mark not found
     03h    disk write-protected
     04h    sector not found/read error
     05h    reset failed (hard disk)
     05h    data did not verify correctly (TI Professional PC)
     06h    disk changed (floppy)
     07h    drive parameter activity failed (hard disk)
     08h    DMA overrun
     09h    data boundary error (attempted DMA across 64K boundary or >80h sectors)
     0Ah    bad sector detected (hard disk)
     0Bh    bad track detected (hard disk)
     0Ch    unsupported track or invalid media
     0Dh    invalid number of sectors on format (PS/2 hard disk)
     0Eh    control data address mark detected (hard disk)
     0Fh    DMA arbitration level out of range (hard disk)
     10h    uncorrectable CRC or ECC error on read
     11h    data ECC corrected (hard disk)
     20h    controller failure
     31h    no media in drive (IBM/MS INT 13 extensions)
     32h    incorrect drive type stored in CMOS (Compaq)
     40h    seek failed
     80h    timeout (not ready)
     AAh    drive not ready (hard disk)
     B0h    volume not locked in drive (INT 13 extensions)
     B1h    volume locked in drive (INT 13 extensions)
     B2h    volume not removable (INT 13 extensions)
     B3h    volume in use (INT 13 extensions)
     B4h    lock count exceeded (INT 13 extensions)
     B5h    valid eject request failed (INT 13 extensions)
     B6h    volume present but read protected (INT 13 extensions)
     BBh    undefined error (hard disk)
     CCh    write fault (hard disk)
     E0h    status register error (hard disk)
     FFh    sense operation failed (hard disk)
    

    You also don’t specify what your DS:SI is set to to recive the information. Has that been set correctly?


    From your comment:

    01h invalid function in AH or invalid parameter.

    Check to see if the INT13 extensions are available for your BIOS. AH = 41h, DL = 80h (first drive), BX = 55AAh, INT13, carry will be clear on return if extensions are there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i Want to fetch this data using json decode. Please Help.. So far i
This is the code i am using.. I want to pass the dropdown selected
I want fetch last record using hibernate criteria Can u help me?
I want to fetch the title of a webpage which I open using urllib2.
I want to fetch posted data. But I am using no form. The data
I want to fetch some parameters from a url on to my flex web
i am using this php code to retrieve lat and lon from MySQL database,the
Using RhinoMocks - can I fetch the parameters of a called function? I mean;
I want to filter my search results based on some parameters using checkboxes .I
want to fetch the value from dynamically created textfield with tag from NSMutableArray.... Txt_New_Estimated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.