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]

  The address associated with interrupt 22H (decimal 34) specifies where
  control of the computer will be passed when a program's execution ends
  with a call to DOS interrupt 20H or 27H, or with interrupt 21H, function
  00H, 31H, or 4CH. Interrupt 22H isn't designed to be executed directly by
  a program using the INT instruction. Instead, DOS uses the interrupt 22H
  vector to store the address of its own program termination routine.

  It's not a good idea to manipulate the DOS terminate address. The inner
  workings of the default DOS program termination routine are not
  documented, so writing a substitute routine that terminates a program
  cleanly without confounding DOS is difficult. If you are qualified to use
  this feature, then you probably understand it better than we can explain
  it.

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