INT 13H 01H: Query Disk Error Status

 Expects: AH    01H
          DL    drive: 00H thru 03H for diskette drives
                       80H or 81H for hard disk controller
          ──────────────────────────────────────────────────────────────────
 Returns: AH    BIOS disk error code of most recent operation (0=no error)
                (this error code is also at 0040:0041).
          ──────────────────────────────────────────────────────────────────
    Info: Obtains the error/status code of the most recent disk I/O
          operation.

See Also: INT 13H: BIOS Disk I/O
          BIOS Data Area
          ROM-BIOS Functions
                                    -♦-