Hi, On Mon, Jan 20, 2025 at 6:25 AM Paul Dufresne via Freedos-devel <freedos-devel@lists.sourceforge.net> wrote: > > Tesing 1.4-RC1 > cd apps > cd opencp > (opencp is a multi-format music player) > cp > Sorry, this program needs DOS4GW.EXE to run > > Been a long time I did not seen DOS4GW extender mentioned... > > Do we provide it? > Can this be fixed, by "just" recompiling the program (to use DPMI)?
AFAIK, OpenWatcom programs don't use "pure DPMI" (like DJGPP v2), so they also need an "extender". And since OpenWatcom prefers LE while DJGPP prefers COFF, that's also a problem. But there are various stubs you can add to an OpenWatcom program to not need a separate extender, e.g. DOS/32A or WDOSX or Causeway or PMODE/W. They all have different tradeoffs (pros and cons: virtual disk swapping, ring 0 vs. ring 3, total memory accessible, .EXE compression). Keep in mind that even DJGPP v2 (normally) needs an external CWSDPMI.EXE, too, for its DPMI use. (A lot of so-called "extenders" have separate versions for both OpenWatcom and DJGPP.) OpenWatcom does include DOS4GW.EXE, but you can also just rename (Causeway) CWSTUB.EXE to DOS4GW.EXE and most programs should work. (It's smaller anyways.) _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel