Go to the first, previous, next, last section, table of contents.
#include <dpmi.h> int __dpmi_set_coprocessor_emulation(int flags);
Please refer to section DPMI Specification, for details on DPMI function call operation. Also see section DPMI Overview, for general information.
DPMI function AX = 0x0e01 (DPMI v1.0 only, but supported by most DPMI v0.9 servers, including CWSDPMI, Windows, and QDPMI).
This function sets the co-processor emulation state as specified by flags. The only two used bits in flags are:
bit 0
bit 1
DJGPP programs using one of the provided emulators should generally call this function with an argument of 2. (The DJGPP startup code does that automatically if no co-processor is detected.)
-1 on errors, else zero.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.