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.
Emulate_Non_Byte_IO
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
Emulate_Non_Byte_IO
 
The Emulate_Non_Byte_IO macro checks the size of the I/O request and jumps
to the Simulate_IO service if the request is larger than a byte. I/O
callback procedures use this macro to simplify processing of I/O requests.
 
This macro has no parameters.
 
Return Value
 
This macro has no return value.
 
Comments
 
The EAX, EBX, ECX, EDX, and EBP registers must contain values specified as
valid input parameters for the Simulate_IO service. Emulate_Non_Byte_IO
checks the ECX register for the I/O type. If this type specifies an I/O
request that is larger than a byte, the macro jumps to the Simulate_IO
service.
 
See Also
 
Dispatch_Byte_IO, Simulate_IO