Node:Emulation in Windows, Previous:Emulator accuracy, Up:Floating point

11.3 Problems with emulation on Windows

Q: My program which uses floating-point math hangs on Windows DOS box when I try to use FP emulation....

A: This is due to a bug in the emulator in DJGPP v2.02 and earlier. The bug affected those programs running on Windows 3.X and 9X which use the WAIT and FWAIT instructions (most of non-trivial FP programs do), both those which use the emulator emu387.dxe and those linked with the emulation library using the -lemu switch. The bug is solved in DJGPP versions 2.03 and later, so upgrade.