Mail Archives: djgpp-workers/1999/09/30/10:26:04
I have bumped into this while updating the docs of the DPMI 1.0 functions
in libc.info. The DPMI spec says that bit 0 of the argument, if set,
enables the coprocessor for the DPMI client. Bit 1, if set, means the
client will supply the emulation.
If that is true, how come the startup code (in npxsetup.c) does this:
/* Flags value 3 means coprocessor emulation, exceptions to us */
if (__dpmi_set_coprocessor_emulation(3)) {
_write(2, "Warning: Coprocessor not present and DPMI setup failed!\r\n"
Shouldn't it pass 2, not 3, as the argument?
- Raw text -