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

  Function 25H (decimal 37) sets an interrupt vector. Before you call
  function 25H, place the segmented address of an interrupt handler in DS:DX
  and an interrupt number in AL. DOS stores the segment and offset of your
  interrupt handler in the proper interrupt vector.

  When updating an interrupt vector, you should use function 25H instead of
  simply computing the address of the vector and updating it directly. Not
  only is it simpler to call this function than to do the work yourself, but
  this function gives the operating system the chance to detect when an
  important interrupt vector is modified.

  To examine the contents of an interrupt vector, see function 35H in the
  next chapter.

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