Int 67/AX=5DEAh

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

RM386 - V86-MODE I/O PORT TRAPPING CONTROL

AX = 5DEAh
BX = function
00h globally disable V86-mode trapping
01h globally enable V86-mode trapping
CL = interrupt to use for trapping
02h get I/O trapping state

Return:
AH = status 00h successful BX = current trapping state (function 02h) 0000h disabled, 0001h enabled CX = interrupt used as trap interrupt (functions 00h and 02h)

Notes: RM386 traps this function on the initial transition to protected mode caused by the INT instruction, which means it can not be overridden simply by hooking the interrupt. When I/O trapping is enabled and I/O port access occurs, RM386 simulates an INT instruction for the specified interrupt; the interrupt handler is responsible for decoding the trapped instruction and performing the appropriate action. INT 2C/AX=002Dh provides a similar but more-easily used interface.

See Also: AX=5DEBh - AH=EFh"RM386" - INT 2C/AX=002Dh

Category: Memory Management - Int 67h - R

rbline.gif

lup.gif ldown.gif Interrups Categories Contents