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


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


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996