At 09:01 PM 3/9/2004 +0000, Bart Oldeman wrote: >EMM386 works. > >All DPMI programs seem to work. > >I can enter and exit DJGPP compiled programs as often as I like without a >crash. > >If I start a DOS/4GW or Causeway program it will run just fine (I can >shoot as many monsters as I like in DOOM) but only once I exit the program >I get the MCB chain corrupted message -- so for every run of DOOM or >WCC or ... I have to reboot the computer. > >CWSTUB.EXE (without any parameters given) is just the simplest program >for which this behaviour occurs.
Rats. Failure at exit was the last thing I fixed, needed EMM386 to reload CR3 with server's page directory to stop problems. I winged the routine code since it's not documented what needs to happen other than load GDT, LDT, IDT, and TR with server values. Wonder if I got the instruction order wrong in VCPI_PMtoV86 routine or needs additional flag work. Here I can run DOS extended programs multiple times in succession without problem, though, even intermixing DOS/4GW and CauseWay. You know anything about what could be going on? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel