en:docs:bios:api:int13:00

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

Int 13H, AH=00H

Version

IBM 5150 and higher

Brief

Reset disk system

Family API

Input

  • AH = 00h
  • DL = drive (if bit 7 is set both hard disks and floppy disks reset)

Return

  • AH = status (see status)
    • CF clear if successful (returned AH=00h)
    • CF set on error

Macro

INCLUDE BIOS.INC
 
@DskReset

Notes

  • forces controller to recalibrate drive heads (seek to track 0)
  • for PS/2 35SX, 35LS, 40SX and L40SX, as well as many other systems, both the master drive and the slave drive respond to the Reset function that is issued to either drive

Note