set_rm_interrupt function
Set real mode interrupt handler.
Declaration
function set_rm_interrupt(vector: Byte; const intaddr: tseginfo)
: BooleanDescription
Sets a real mode interrupt handler.
Parameters:
- vector
- the interrupt vector number to set.
- intaddr
- address of new interrupt vector.
Return values: True if successful, otherwise False.
The address supplied MUST be a real mode segment address, not a
selector:offset address. So the interrupt handler must either reside in dos
memory (below 1 Mb boundary) or the application must allocate a real mode
callback address with get_rm_callback.
Errors
Check the int31error variable.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
