Sign in Join
FPDoc Onlineexperiment

set_rm_interrupt function

In unit go32

Set real mode interrupt handler.

Declaration

pascal
function set_rm_interrupt(vector: Byte; const intaddr: tseginfo)
: Boolean

Description

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.