DOS/32 Advanced DOS Extender - Programmer's Reference


2.19 - DPMI function 0202h - Get Processor Exception Handler Vector

Returns the address of the current client's protected mode exception handler for the specified exception number.

 

In: AX = 0202h
BL = exception number (00-1Fh)
Out:

if successful:
CF clear
CX:EDX = selector:offset of exception handler

if failed:
CF set
AX = error code

8021h - invalid value (BL not in range 00-1Fh)

Notes:

a) The value returned in CX is a valid protected mode selector, not a real mode segment address.

b) DOS/32 Advanced DPMI supports only first 16 exceptions. Calls to this function with value in BL greater than 0Fh, but less than 1Fh, will return CX:EDX = 0 (0000:00000000h).

c) DOS/32 Advanced DPMI does not handle exception 0Ch (Stack Fault).

d) DOS/32 Advanced DPMI will read exceptions 08-0Fh from an internal buffer, not from IDT, when PIC master is mapped on these interrupts (INTs 08-0Fh).

 


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.