www.delorie.com/djgpp/doc/dpmi/api/310203.html   search  
Int 31H Function 0203H

Set Processor Exception Handler Vector [0.9]

Sets the address of a handler for a CPU exception or fault, allowing a protected mode application to intercept processor exceptions (such as segment not present faults) that are not handled by the DPMI host and would otherwise generate a fatal error. This function should be avoided by DPMI 1.0 clients (see Notes).

Call With

AX = 0203H
BL = exception/fault number (00H-1FH)
CX:(E)DX = selector:offset of exception handler

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8021Hinvalid value (BL not in range 0-1FH)
8022Hinvalid selector

Notes


  prev   next     webmaster   donations   bookstore     delorie software   privacy  
  Copyright 1996   by DJ Delorie     Updated Apr 1996