Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Int 21H Function 59H
◄Summary► ◄Notes► ◄Back►
──────────────────────────────────────────────────────────────────────────────
:
▀ This function may be called after any other Int 21H function call that re-
turned an error status, in order to obtain more detailed information about
the error type and the recommended action. If the previous Int 21H func-
tion call had no error, 0000H is returned in register AX. This function
may also be called during the execution of a critical-error (Int 24H)
handler.
▀ The contents of registers CL, DX, SI, DI, BP, DS, and ES are destroyed
by this function.
▀ Note that extended error codes 13H-1FH (19-31) and 22H (34) correspond
exactly to the error codes 0-0CH (0-12) and 0FH (15) returned by Int 24H.
▀ You should not code your programs to recognize only specific error num-
bers if you want to ensure upward compatibility, because new error codes
are added in each new version of MS-DOS.
-♦-