Set a new handler for a system interrupt vector
Source position: exec.pas line 1821
function SetIntVector( |
intNumber: LongInt; |
interrupt: PInterrupt |
):PInterrupt; |
intNumber |
|
Interrupt bit number [0..14]. Only non-chained interrupts should be set. Use AddIntServer() for server chains. |
A pointer to the prior interrupt structure which had control of this interrupt.
This function provides a mechanism for setting the system interrupt vectors. These are non-sharable; setting a new interrupt handler disconnects the old one. Installed handlers are responsible for processing, enabling and clearing the interrupt. Note that interrupts may have been left in any state by the previous code.
The IS_CODE and IS_DATA pointers of the Interrupt structure will be copied into a private place by Exec. A pointer to the previously installed Interrupt structure is returned.
|
Adds a interrupt server to the system |