www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000232

When Created: 06/24/1998 19:09:42
Against DJGPP version: 2.01
By whom: nate@cartsys.com
Abstract: __dpmi_yield can crash on Windows
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>

Note added: 06/24/1998 19:10:58
By whom: nate@cartsys.com
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.

Solution added: 04/12/1999 10:00:18
By whom: eliz@is.elta.co.il
This is fixed in DJGPP v2.02, which uses __dpmi_int instead of issuing
the INT 2Fh instructions directly in protected mode.

Fixed in version on 04/12/1999 10:00:09
By whom: eliz@is.elta.co.il

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010