Mail Archives: djgpp/1996/08/24/22:21:25
> it works under win95, but doesnt under dos (with cwsdpmi v2), it prints out
> junk on the screen. am i doing this right, if im not, how come it works
> under win95?
There is a bug in your program. The interrupt you are using expects a
string in DS:DX, but the DPMI specification clearly states you can't expect
this to work, since DS will be undefined in the real mode reflection.
It works under Win 95, Win 3.1, and some other DPMI providers because they
also provide a built in DOS extender which copies the string for you to
a real mode buffer, then assigns DS:DX to that buffer.
- Raw text -