Mail Archives: djgpp/1998/12/21/03:06:33
On Sun, 20 Dec 1998, Agent Drek wrote:
> |> I am just confused because the same code works great on my SGI.
> |
> |It also works great on my NT and on Windows 9X as well.
> |
>
> I will try a different NT box.
There is one more possibility that I overlooked, until now.
Are you using the stock C library released with DJGPP v2.01? If so,
upgrade to version 2.02 and try again. The internal workings of the
__dpmi_yield function were changed in v2.02: it now issues its call
via __dpmi_int, rather than emitting an INT 2Fh instruction directly.
This change was meant to prevent certain versions of Windows 9X to
wedge the DOS box after a __dpmi_yield call in nested DJGPP programs,
but it could be also the reason for the difference in the behavior on
the NT.
I used the revised version of __dpmi_yield in my testing.
- Raw text -