Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Get extended error code (INT 21h, 59h)

        Entry:
          AH = 59h
          BX = version code (0000 for DOS 3.x and DOS 4.0)
        Return:
          AX = extended error code (see error codes)
          BH = class of error
          BL = suggested action code
          CH = locus (where error occurred)


        Values for extended error code:
        01h function number invalid
        02h file not found
        03h path not found
        04h too many open files (no handles available)
        05h access denied
        06h invalid handle
        07h memory control block destroyed
        08h insufficient memory
        09h memory block address invalid
        0Ah environment invalid (usually >32K in length)
        0Bh format invalid
        0Ch access code invalid
        0Dh data invalid
        0Fh invalid drive
        10h attempted to remove current directory
        11h not same device
        12h no more files
        13h disk write-protected
        14h unknown unit
        15h drive not ready
        16h unknown command
        17h data error (CRC)
        18h bad request structure length
        19h seek error
        1Ah unknwon media type (non-DOS disk)
        1Bh sector not found
        1Ch printer out of paper
        1Dh write fault
        1Eh read fault
        1Fh general failure
        20h sharing violation
        21h lock violation
        22h disk change invalid
            ES:DI -> ASCIZ volume label of required disk
        23h FCB unavailable
        24h sharing buffer overflow
        25h-31h reserved
        32h Network request not supported (DOS 3.1 + MS Networks)
        33h Remote computer not listening
        34h Duplicate name on network
        35h Network name not found
        36h Network busy
        37h Network device no longer exists
        38h Network BIOS command limit exceeded
        39h Network adapter hardware error
        3Ah Incorrect response from network
        3Bh Unexpected network error
        3Ch Incompatible remote adapter
        3Dh Print queue full
        3Eh Queue not full
        3Fh Not enough space to print file
        40h Network name was deleted
        41h Network: Access denied
        42h Network device type incorrect
        43h Network name not found
        44h Network name limit exceeded
        45h Network BIOS session limit exceeded
        46h Temporarily paused
        47h Network request not accepted
        48h Print/disk redirection paused (DOS 3.1 + MS Networks)
        49h-4Fh reserved
        50h file exists
        51h reserved
        52h cannot make directory
        53h fail on INT 24h
        54h (DOS 3.3+) too many redirections
        55h (DOS 3.3+) duplicate redirection
        56h (DOS 3.3+) invalid password
        57h (DOS 3.3+) invalid parameter
        58h (DOS 3.3+) network write fault

        Values for Error Class:
        01h out of resource (storage space or I/O channels)
        02h temporary situation (file or record lock)
        03h authorization (denied access)
        04h internal (system software bug)
        05h hardware failure
        06h system failure (configuration file missing or incorrect)
        07h application program error
        08h not found
        09h bad format
        0Ah locked
        0Bh media error
        0Ch already exists
        0Dh unknown

        Values for Suggested Action:
        01h retry
        02h delayed retry
        03h prompt user to reenter input
        04h abort after cleanup
        05h immediate abort
        06h ignore
        07h retry after user intervention

        Values for Error Locus:
        01h unknown or not appropriate
        02h block device (disk error)
        03h network related
        04h serial device (timeout)
        05h memory related

See Also: Error codes

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson