Skip to contentSkip to conversation

win3.1 attempts :)

DISCUSSION Stas Sergeev 2 participants 3 messages Sep 21, 2003 – Sep 22, 2003

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 3 lines · Ryan Underwood
Quoted 2 lines

problem is that it (most likely) simply runs win.com, which is trying dosx.exe or win386.exe - both without any success.

But at this point, no win.com exists. Should it?

No idea, but if not, then it starts dosx.exe directly, which is very likely. The work-around might be to replace both dosx.exe and win386.exe with os2k386.exe (also in their .ex_ form). I just tried that and was able to use win.com to run windows.
I think this should be an official way, instead of winemu.bat. Replacing krnl386.exe is not needed (and never was I think).

#2 lore raw
In reply to Stas Sergeev

hi,

Quoted 8 lines · Stas Sergeev

Hello.

Quoted 3 lines · Ryan Underwood
Quoted 2 lines

problem is that it (most likely) simply runs win.com, which is trying dosx.exe or win386.exe - both without any success.

But at this point, no win.com exists. Should it?

No idea, but if not, then it starts
dosx.exe directly, which is very likely.

No win.com, dosx.exe, or win386.exe exists after the first stage of installation in dosemu. I just verified this.

Look at the function at 014:11f7 in setup.exe. It pushes the string "winexec" and "krnl386.exe" among other things (including a pointer that a return code is written to), and then calls a functino, which I guess does some sprintf and tries to exec the string. if it fails, it pushes a string "winexec" "dosx.exe" and calls the same function. if that fails, it exits the caller func then.

What is this "winexec" and does it exist in a normall installation after the first (DOS-based) portion is complete? It doesn't exist in mine, installed through dosemu.

BTW, WFW only runs in enhanced mode, correct? Why would it need dosx.exe in that case ? Does dosx.exe starting WFW cause it to run in enhanced mode anyway?

----

OT: I start up my favorite code viewer, and I get the following:
http://dbz.icequake.net/share/dosemu-ida.png

I Was using a default 1.1.5.7 config with very few thins uncommented. Apparently $_X_font = "vga" is necessary to be uncommented for this to work right (which it does after uncommenting that), but I thought "vga" was the default font to use under X if it is available? At least, I don't remember having to set that option before, but my memory may be wrong.

Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253