Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_chain_intr() chain interrupt handlers</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _chain_intr()           Chain Interrupt Handlers

 #include   <dos.h>

  void    _chain_intr(void (target)());
  interrupt far * target;     Target interrupt routine

    _chain_intr() is used to chain one interrupt handler to another
    interrupt handler. By chaining interrupts, instead of calling them
    individually, the stack can be left undisturbed so that the ultimate
    address will be correct for the return of the last handler.

      Notes:    If 'target' is a function written in C it must be
                declared with the interrupt attribute. If it is written
                in assembly language it must satisfy requirements for an
                interrupt-handling routine.

 Portability:   MS-DOS only





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