INT 21 - European MSDOS 4.0 - GET HARD ERROR INFORMATION
AH = 59h
BX = 0001h
Return: ES:DI -> hard error information packet (see below) for most recent
hard (critical) error
SeeAlso: INT 24

Format of hard error information packet:
Offset  Size    Description
00h    WORD    contents of AX at system entry
02h    WORD    Process ID which encountered error
04h    WORD    contents of AX at time of error
06h    BYTE    error type
00h physical I/O error
01h disk change request
02h file sharing violation
03h FCB problem
04h file locking violation
05h bad FAT
06h network detected error
07h    BYTE    INT 24 error code
08h    WORD    extended error code (see AH=59h/BX=0000h)
0Ah    DWORD   pointer to associated device

See also: 2195

2159 - European MSDOS 4.0 - GET HARD ERROR INFORMATION