SetOSTrapAddressYou can use the
SetOSTrapAddressprocedure to install an Operating System patch address into an Operating System trap dispatch table.
PROCEDURE SetOSTrapAddress (trapAddr: LongInt; trapNum: Integer);
- The Operating System patch address.
- Operating System A-line instruction or a trap number. If you specify an Operating System A-line instruction, the function extracts the trap number (located in bits 0-7) for you.
SetOSTrapAddressprocedure places the Operating System patch address specified by the
trapAddrparameter into the Operating System trap dispatch table. The
trapNumparameter specifies the location of the Operating System patch address in the Operating System trap dispatch table. The procedure call
SetOSTrapAddress(trapAddr, trapNum)performs the same operation as a
- If the system software routine that is being patched has any come-from patches, the
SetOSTrapAddressprocedure installs the address of the patch into the exit JMP instruction of the last come-from patch in the chain rather than into the trap dispatch table.
SEE ALSOFor information about the
Unimplementedprocedure, see page 8-29. For more information about the
NSetTrapAddressfunction, see page 8-30.