Mail Archives: djgpp/1993/04/23/23:27:14
I have fixed the bugs which prevented the DPMI version of GO32 (aka GO32.COM)
from running under Win 3.1 and OS/2 2.0 DOS sessions. I have also merged the
source with V1.08 and am working on V1.09+patches now (hopefully done this
weekend?). The biggest problem was that Win 3.0 runs at ring 1 and Win 3.1
and OS/2 Dos run at ring 3. The code had the CPL mask hardcoded at 1.
I have reduced the DPMI memory size required to run "typical" applications
to around 5Mb with a fixed 2Mb stack. (Setting OS/2 DPMI memory limit to
6Mb allows me to run most applications). I fixed the DPMI extender bug which
did not allow the new read & write functions (I hope!) so relinking should
not be necessary. Graphics and event library currently do not work, and
both PrimaryScreen and SecondaryScreen are set to 0 (i.e. don't work).
There are other limitations and bugs, I am sure, but "compress" seems to work
reliably under Win 3.0, Win 3.1, and OS/2 2.0 Dos. I plan to post a
preliminary copy once I am sure it doesn't nuke hard disks, but the final
plan (much more work) is to have a *SINGLE* GO32.EXE with this code imbedded.
- Raw text -