qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GetIntVec Procedure
  Summary Details Example                                   Back
 
  Arguments
 
    vector_number     Integer expression representing an interrupt
                      number in the range $0..$FF (decimal 0..255)
 
    vector_address    Pointer receiving the address of an interrupt
                      procedure
 
  Description
 
    The GetIntVec procedure gets the current vector address for a
    specified interrupt number. An interrupt vector is the address of
    an interrupt procedure. When an interrupt occurs, the system calls
    the interrupt procedure.
 
    The vector_number argument is a byte containing an interrupt
    number.
 
    The vector_address argument is a pointer that receives the address
    of an interrupt routine.
 
    Use GetIntVec to save the old interrupt vector before installing a
    new interrupt handler with the SetIntVec procedure. If a program
    changes an interrupt vector, it must restore it before terminating.