Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Enable_Global_Trapping
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     edx, Port           ; I/O port number
VMMcall Enable_Global_Trapping
 
The Enable_Global_Trapping service enables I/O port trapping for the
specified port. This applies to every virtual machine.
 
This service must not be used unless an I/O callback procedure has been
installed for the given port using the Install_IO_Handler or
Install_Mult_IO_Handlers service during initialization.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Port       Specifies the number of the I/O port for which global trapping is
           to be enabled.
 
Return Value
 
This service has no return value.
 
Comments
 
The system applies to current global trapping state to each new virtual
machine as it is created. When the system first starts, global trapping is
enabled by default.
 
Uses
 
Flags
 
See Also
 
Disable_Global_Trapping, Install_IO_Handler, Install_Mult_IO_Handlers