Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>set protected mode interrupt vector</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Set Protected Mode Interrupt Vector


                 This  function   sets  the  address  of  the  specified
                 protected mode interrupt vector.

            To Call

                 AX = 0205h
                 BL = Interrupt number
                 CX:(E)DX = Selector:Offset of exception handler

            Returns

                 If function was successful:
                 Carry flag is clear.

                 If function was not successful:
                 Carry flag is set.

            Programmer's Notes

                 o    The value  passed in  CX must be a valid protected
                      mode code selector, not a real mode segment.
                 o    32-bit mode  programs must  supply a 32-bit offset
                      in the  EDX register.   If  your handler chains to
                      the next  exception handler  it must do so using a
                      32-bit interrupt stack frame.
                 o    Note all 100h (256 decimal) interrupt vectors must
                      be supported by the DPMI host.

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