Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>setvect() set interrupt vector entry</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setvect()               Set Interrupt Vector Entry

 #include   <dos.h>

 void           setvect(intr_num,vector);
 int            intr_num;                Interrupt number
 void interrupt (*vector)();             New interrupt function

    setvect() sets the value (an address) of the interrupt vector entry
    'intr_num' to a new value specified by 'vector'. 'vector' is a far
    pointer that contains the address of a new interrupt function.  A C
    routine must be declared an 'interrupt' routine for its address to be
    passed to 'vector'.

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: getvect() disable()

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