Baron-von-Riedesel / HX

Home of the HX DOS Extender and its included DPMI-host HDPMI.
197 stars 14 forks source link

32Bit version of RunCPM lacks some file-io-functions under DPMILD32 #38

Open guidol70 opened 10 months ago

guidol70 commented 10 months ago

Firstly many Thanks for updating HX DOS ;) I try to run RunCPM (a CP/M-Emulator compiled with mingw32) under 16Bit DOS (v6.22) with DPMILD32

The application start fine (after adding a MSVCRT.DLL 7.0.2600.5512 whch only depends on KERNEL32.DLL) and I can load CP/M-Programms like MBASIC and Wordstart 4.0 for CP/M, but only MBASIC could SVAE and LOAD. Wordstar can only load a Document but on saving it sas disk full :(

Also the DIR command (like in DOS, but here CP/M) states only "No File" and so it doesnt show the directory.

So it seems tthat some file-functions do work and some dont.

The 32Bit version of RunCPM does run fine with this MSVCRT.DLL under Windows XPSP3 and Windows 7

Do you got an idea which file-functions can be affected that in WinAPI32-Mode it wont function?

RCPM32.zip

Baron-von-Riedesel commented 8 months ago

Do you got an idea which file-functions can be affected that in WinAPI32-Mode it wont function?

Since it uses msvcrt.dll, many functions may be involved.

The best approach probably is to generate a debug version of dkrnl32.dll, redirect debug output to a file ( see dkrnl32.txt for details ) and run a ( preferably pretty simple ) application that fails reliably. Wordstar probably couldn't be called "simple", I suppose?