delorie.com/djgpp/bugs/show.cgi | search |
For reasons not entirely clear, some versions of Windows will crash a program which calls __dpmi_yield under some circumstances. Calling __dpmi_simulate_real_mode_interrupt(0x2f, AX=0x1680) appears to fix it. This was actually found by Eli. <eliz@is.elta.co.il>
Err... make that: calling __dpmi_simulate, etc, *instead* fixes it. The new __dpmi_yield implementation is on the patch site and also in 2.02.
This is fixed in DJGPP v2.02, which uses __dpmi_int instead of issuing the INT 2Fh instructions directly in protected mode.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |