Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 2f - multiplex - dos 4.00 internal - get or set error table addresses http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 2F - Multiplex - DOS 4.00 internal - GET OR SET ERROR TABLE ADDRESSES
        AX = 122Eh
        DL = subfunction
            00h get standard DOS error table (errors 00h-12h,50h-5Bh)
                Return: ES:DI -> error table
            01h set standard DOS error table
                ES:DI -> error table
            02h get parameter error table (errors 00h-0Ah)
                Return: ES:DI -> error table
            03h set parameter error table
                ES:DI -> error table
            04h get critical/SHARE error table (errors 13h-2Bh)
                Return: ES:DI -> error table
            05h set critical/SHARE error table
                ES:DI -> error table
            06h get ??? error table
                Return: ES:DI -> error table
            07h set ??? error table
                ES:DI -> error table
            08h get ??? error table
                Return: ES:DI -> error table
            09h set ??? error table
                ES:DI -> error table
SeeAlso: INT 21/AH=59h

Format of error table:
Offset  Size    Description
 00h    BYTE    FFh
 01h  2 BYTEs   04h,00h (DOS version???)
 03h    BYTE    number of error headers following
 04h 2N WORDs   table of all error headers for table
                Offset  Size    Description
                 00h    WORD    error message number
                 02h    WORD    offset of error message from start of header
                                error messages are count byte followed by msg

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