Re: win3.1 attempts :)

Ryan Underwood
2003-09-22T07:11:36Z

hi,

On Sun, Sep 21, 2003 at 02:06:51PM +0400, Stas Sergeev wrote:
> Hello.
>
> Ryan Underwood wrote:
> >>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.