Linux MS DOS discussions
 help / color / mirror / Atom feed
* Re: Windows 3.1 Support
@ 2005-01-16 13:45 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2005-01-16 13:45 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> So, will we actually be able to fully utilize Windows 3.1 capabilites, 
> e.g. DOS shell to run games?
OK, for all the DOS shell lovers: it is
now working in windows Standard mode.
Supporting it for Enhanced mode is not
easy and will not happen in a near future -
one can just start multiple dosemu instances
instead.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-12-23 12:39 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-12-23 12:39 UTC (permalink / raw)
  To: linux-msdos

Stas -

"So, will we actually be able to fully utilize Windows 3.1 capabilites, e.g.
DOS shell to run games?"

I meant to use virtual memory as the example per our previous discussion on 
Windows 3.1.



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-12-22 21:49 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-12-22 21:49 UTC (permalink / raw)
  To: linux-msdos

"There are already the
VESA drivers (created by Japheth) that
will soon be able to replace the Trident
ones, so that you can use Windows in hi
color modes also under console."

Superb! My machine looks more like an old '386 everyday which is a real good 
testimony about DosEmu's emulation ability.. :)

"Also the VxD loader is under development
now - if this works, the compatibility
level will burst."

So, will we actually be able to fully utilize Windows 3.1 capabilites, e.g. 
DOS shell to run games?

"The gallery have to be updated:
http://sourceforge.net/project/screenshots.php?group_id=49784
Every new achievement deserves being
screenshooted. But there is a limit of
6 screenshots, thats the problem."

OK, I'll keep a record of your progress in pictures. ;)

"Have you tried IE 5.5? AFAIK the win16
port exists, although I don't have one.
Would be interesting to test that."

I haven't been able to find a 16 bit version of MSIE5.5 either. I do have 
MSIE 5.01, however, but I'll stay with Netscape unless someone points me to 
MSIE5.5

"You should be more specific. "connection"
between tapX and eth0 is maintained by
kernel so it is not easy for dosemu to
kill it. Make sure the route to tapX
device exist in your routing table."

I had just upgraded DosEmu to the latest CVS which was causing errors with 
the TAP interface for some bizarre reason. After rebooting, the problem 
vanished.

When FM synthesis is added to DosEmu, I'll finally remove DosBox from my 
computer.  Thanks again to all of you for your work on DosEmu. Soon, DosEmu 
will be King of the DOS Emulators. :)



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-12-22 18:02 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-12-22 18:02 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> I thank you for adding support to DosEmu so VFW runs movies in 16 bit 
> color!
Yes, Windows support is maturing and
doing swell. There are already the
VESA drivers (created by Japheth) that
will soon be able to replace the Trident
ones, so that you can use Windows in hi
color modes also under console.
Also the VxD loader is under development
now - if this works, the compatibility
level will burst.

> I'll try to refrain from posting YAP (yet another picture) showing 
> Gulliver's Travels in full color. :)
Why not? The gallery have to be updated:
http://sourceforge.net/project/screenshots.php?group_id=49784
Every new achievement deserves being
screenshooted. But there is a limit of
6 screenshots, thats the problem.

> P.S. I'm now using Netscape 4.0.8, too! ;)
Have you tried IE 5.5? AFAIK the win16
port exists, although I don't have one.
Would be interesting to test that.

> With the latest CVS, I've noticed that DosEmu seems to be killing the 
> TAP connection to eth0.
You should be more specific. "connection"
between tapX and eth0 is maintained by
kernel so it is not easy for dosemu to
kill it. Make sure the route to tapX
device exist in your routing table.
Mine looks like this:
---
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.254.254.0    *               255.255.255.0   U     0      0        0 tap0
...
---
Make sure the IP forwarding is enabled.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-12-22  8:46 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-12-22  8:46 UTC (permalink / raw)
  To: linux-msdos

Stas -

I thank you for adding support to DosEmu so VFW runs movies in 16 bit color! 
I'll try to refrain from posting YAP (yet another picture) showing 
Gulliver's Travels in full color. :) I know that I'm not alone in saying, 
THANKS!

P.S. I'm now using Netscape 4.0.8, too! ;)



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-28 10:13 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-11-28 10:13 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> BTW, 16 bit versions of Netscape 4.0x, specifically 4.06 and 4.08, 
> crash DosEmu.
Not any more. Our new (anonymous)
friend from www.japheth.de worked
out that problem. (on his web-site
you can find the tool-set for running
the console win32 apps under dos
and dosemu).
Now I am hardly restrain myself
from posting the screen-shot too:)
There is a Screenshots section on
dosemu SF page
http://sourceforge.net/projects/dosemu
but it is inactive.
Bart, would it be possible to enable
it somehow?

Another nice addition is that you no
longer need the WinOS2 mouse driver.
But it still work better in most cases,
without it you'll need to enable the
mouse-grab mode for better results.
So overall you no longer need WinOS2
at all. Windows now can be used
completely unmodified.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-22 18:23 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-11-22 18:23 UTC (permalink / raw)
  To: linux-msdos

Hello.

Julius Schwartzenberg wrote:
> Does the setup program for MS Windows also work now in Dosemu?
I am glad to "announce" that now it
does. Moreover, you can now use win.com
to start windows, as you did in real
DOS. win /s and win /3 will work exactly
as expected and will produce the the
very nice window title (my special
addition for Windows users:)
So you don't need to do any file mods
now. The only thing you still have to
do, is to copy the mouse.drv from WinOS2
to your windows distribution directory.
Then install that windows under dosemu
and enjoy. Unfortunately this windows
will work only under dosemu and not
under pure DOS. For some strange reasons
the mouse driver of WinOS2 works under
dosemu but doesn't work without dosemu.

> What versions are currently tested? (Both 3.1, 3.11 and Workgroups, 
> non-Workgroups?)
I am still working on some issues of
wfw3.11. 3.1 looks better. But of course
there are (and will be) still the limitations.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-11-21  5:53 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-11-21  5:53 UTC (permalink / raw)
  To: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

Stas -

Your advice in addition to Bart's helpful additions on networking with 
TUN/TAP in the Readme for DosEmu 1.2 enabled Windows 3.1 to run Netscape 
3.04 on my system.

BTW, 16 bit versions of Netscape 4.0x, specifically 4.06 and 4.08, crash 
DosEmu. I haven't tried any others so far. Some "16 bit" applications 
probably needed win32s.

Thanks again. :)


[-- Attachment #2: DosEmu-Netscape3.png --]
[-- Type: image/png, Size: 38832 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-20 14:17 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-11-20 14:17 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> You mentioned that it was possible to use networking with Windows 3.1
Yes, networking must work, otherwise
running windows would be useless.

> 1. Trumpet Winsock 2.0f or something like it which includes the
I tried both 2.0 and 3.0d.

> 2. Running current DosEmu CVS as root with direct connection to eth0.
This is very risky.
I set up dosemu on tap0, without giving
it root. Then I added this to my iptables
configuration:
---
*nat
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
---
(eth0 is connected to Internet),
and configured winsock.

> 3. Installed Netscape 3.04 Gold since newer versions of 16 bit Netscape 
> crash DosEmu.
Which ones crash it?

> After configuring Trumpet Winsock, I can only partially retrieve 
> Google's webpage.
With 3.04 Gold I had no problems accessing
everything. Works flawlessly. Perhaps when
you set dosemu to use eth0, something else
also reads it, and that's why you have the
lost packets.
If you set up everything on the TAP interface
and establish the masquerading, then you'll
get the much better results. Don't forget to
write 1 to /proc/sys/net/ipv4/ip_forward


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-11-18 20:50 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-11-18 20:50 UTC (permalink / raw)
  To: linux-msdos

Stas -

You mentioned that it was possible to use networking with Windows 3.1 so I 
just had to try it! ;)

It works... sort of. My test configuration is a follows:

1. Trumpet Winsock 2.0f or something like it which includes the winpkt.com 
driver. I also tried the latest version, 3.0d, but it didn't help the error 
below
2. Running current DosEmu CVS as root with direct connection to eth0.
3. Installed Netscape 3.04 Gold since newer versions of 16 bit Netscape 
crash DosEmu.

After configuring Trumpet Winsock, I can only partially retrieve Google's 
webpage. However, Netscape doesn't appear to crash. Google's webpage just 
fails to load completely. Of the many URL's that I've attempted to view, 
only Google's will load partly.  The other URLs generate the following 
error:

"A network error occurred while Netscape was receiving data
[Network Error: Socket is not connected]
Try connecting again."

What's the cause of this error? ... probably something that I'm NOT doing, 
but should be.  ;)   I've actually been able to retrieve a couple of 
webpages quickly and completely, but ONLY once just after installing Trumpet 
and Netscape. After the initial installation, I get the error as previously 
mentioned.



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-13 13:56 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-11-13 13:56 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> I acted on your suggestion and installed version 1.4 of the TVGA8900C 
> driver for Windows 3.1. It works in both the 800x600x8 and 1024x768x8 bit 
> modes. 
Actually you can get even more than 8bpp
(which I thought your original question
was - misreaded it). You need to get the
newer trident drivers uc51-win.exe and
you'll be able to get 16bpp by using the
trix800.drv. But you'll need to switch
your X server to 16bpp either because the
dosemu doesn't support 16bpp->32bpp
remapping :(

> HOWEVER, this Trident driver conflicts with Video For Windows 1.1 and I 
> haven't been able to find a newer version of the Trident driver which 
> fixes the problem.
Newer version doesn't help :(
The problem is not in the driver itself
but in the vtdapi.386 that dosemu emulates
by using the code stolen from wine. And
this doesn't work.
I think perhaps dosemu needs the LE loader
so that it could load and use the native
.386 drivers. They may require ring0, but
most of them are likely only need the hardware
access, which is not a problem.
Any ideas where is some LE loader code in C
can be stolen? :)

> When I attempt to change virtual memory settings, I'm getting an 
> error about nonstandard Windows files. Consequently, I can't change 
> virtual memory settings with krnl386.exe.
Virtual memory in windows is handled by
the VxD code which is not in dosemu. And
you don't need it anyway because the
virtual memory is provided by Linux kernel.
Duplicating that functionality under dosemu
is possible (32rtm can do this), but there
is no real use because the Linux kernel
does it more effectively. So if you need
more memory to your Windows app, just increase
the $_dpmi value in dosemu.conf, and Linux
will do the rest.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-11-13 11:46 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-11-13 11:46 UTC (permalink / raw)
  To: linux-msdos

"Hmm, was it also possible with WinOS/2 to play videos? It doesn't seem
to work for me, but that might have to do with the format.
My current WinOS/2 installation uses a Trident driver (TRIDENT
1024x768-256c), I suppose it would also work in in Windows 3.1.
Julius"

Julius -

I acted on your suggestion and installed version 1.4 of the TVGA8900C driver 
for Windows 3.1. It works in both the 800x600x8 and 1024x768x8 bit modes. 
HOWEVER, this Trident driver conflicts with Video For Windows 1.1 and I 
haven't been able to find a newer version of the Trident driver which fixes 
the problem. I'm using unmodified Windows 3.1.  I'm not really sure the 
SOURCE of this conflict, but it SEEMS to be interfering with the audio. 
Currently, it's not possible to use a 8 bit color driver with Video For 
Windows 1.1 AFAIK.



Stas -  When I attempt to change virtual memory settings, I'm getting an 
error about nonstandard Windows files. Consequently, I can't change virtual 
memory settings with krnl386.exe.



^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-12 20:18 Stas Sergeev
  2004-11-12 22:56 ` Julius Schwartzenberg
  0 siblings, 1 reply; 25+ messages in thread
From: Stas Sergeev @ 2004-11-12 20:18 UTC (permalink / raw)
  To: linux-msdos

Hello.

Julius Schwartzenberg wrote:
> The docs on setting it up would be pretty similar right?
I think so.

> Does the setup program for MS Windows also work now in Dosemu?
To my great surprise no it doesn't,
it still has the same problem as WinOS2
had...

> What versions are currently tested?
> (Both 3.1, 3.11 and Workgroups, 
> non-Workgroups?)
3.11 and "Windows for Workgroups" is
the same thing AFAIK.
Both 3.1 and 3.11 are known to work.

> Are you sure there aren't any extra advantages with this?
I don't know. People seem to not like
WinOS2, but as for me there are no
advantages in avoiding it at all.
It may even be a little faster as it
doesn't need the virtualization of LDT.

> I cannot run
> MS-DOS programs from within WinOS/2 for example. I always thought this
> was a WinOS/2 limitation.
It appears not. This is the limitation
of both FreeDOS and dosemu. FreeDOS can
be improved, but dosemu will have to
provide the whole lot of VxD code to
allow the concurrent DOS sessions. Such
a code is not in Wine, neither it is
documented. So unless someone is to
invest some *real* work into it (like
Win4Lin guys did), I'd say there are no
hopes. But hey, that's silly:) You can
just start multiple xdosemu sessions
and get much more reliable environment
that the one of Win3.1.

> Also I tried to install a game in MS Windows at some point 
> (Phantasmagoria) and it didn't work. I also couldn't play the videos 
> that came with it.
There are many things to improve in
windows support. You may start filling
up the bug reports on it, but right
now there are still many known problems
to work out, so the bugs will have to
wait (on BTS).

>> move towards win95 support, but nothing more.
> That would be really great of course :)
> Dosemu would be pretty similar to Win4Lin then I think.
Win4Lin did a great work. Dosemu is
unlikely to catch up. But running win95
with the very limited capabilities would
also be nice.
Btw, it may be possible already I think.
AFAIK some very early Chicago betas were
able to boot in 3.1 mode (by executing
win31.exe IIRC). Later the kernel was
reworked and the 3.1 mode was abandonned.
I think this may even run under dosemu.
But getting such a Windows looks problematic
these days.

> Hmm, was it also possible with WinOS/2 to play videos?
Depends on dosemu version I think. Since
1.2.2 it might be possible.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-12 19:29 Stas Sergeev
  0 siblings, 0 replies; 25+ messages in thread
From: Stas Sergeev @ 2004-11-12 19:29 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> I thought you'd like the attachment. ;)
Yes, but attachments to the public ML
is probably not the good idea (that's
why I always encourage people to use BTS
before asking them for logs).

> P.S. I'm looking forward to someone adding mouse support for Windows 
> 3.1 without having to resort to the the Win-OS/2 driver.
But why? It seems people (not only you)
do not like WinOS2, but I really fail to
see the reason. Is there really something
that makes WinOS2 such unappealing?

> Is 8-bit color
> currently possible with an appropriate graphics driver for Windows 3.1?
Very probably. AFAIK even qemu suffers
the same problem.

> Also, I plead once again for OPL-3 FM Synthesis support as my Voyeta 
> Super SapiFM. :)
Have you tried my ancient hack like this:
http://dosemu.sourceforge.net/stas/opl1c.diff
I know it is not perfect, but it used to
work in the past (havent tested it lately).
The proper integration of OPL3 is imminent,
but it will require the redesign of the
current sound code, which is a damn too much
of work for now.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-11-12 10:16 TP Reitzel
  2004-11-12 11:57 ` Julius Schwartzenberg
  0 siblings, 1 reply; 25+ messages in thread
From: TP Reitzel @ 2004-11-12 10:16 UTC (permalink / raw)
  To: linux-msdos

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

Stas -

I thought you'd like the attachment. ;)

P.S. I'm looking forward to someone adding mouse support for Windows 3.1 
without having to resort to the the Win-OS/2 driver. Is 8-bit color 
currently possible with an appropriate graphics driver for Windows 3.1? 
Also, I plead once again for OPL-3 FM Synthesis support as my Voyeta Super 
SapiFM. :)  driver needs it.

Cheers! Thanks for the fine work.


[-- Attachment #2: dosemu-win31.png --]
[-- Type: image/png, Size: 38555 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-11 16:56 Stas Sergeev
  2004-11-12 12:21 ` Julius Schwartzenberg
  0 siblings, 1 reply; 25+ messages in thread
From: Stas Sergeev @ 2004-11-11 16:56 UTC (permalink / raw)
  To: linux-msdos

Hello.

Julius Schwartzenberg wrote:
> Hmm, what about all that stuff in the current documentation saying that
> this is impossible?
To be removed, most is just a plain crap.
Even the parts that were related to WinOS2,
were a total crap, see this for instance:
http://sourceforge.net/mailarchive/forum.php?thread_id=5879796&forum_id=33906

> (ring0 access wasn't possible or something like
> that.)
It still isn't in most cases, yes.

> How did you suddenly manage to get this to work :)
The trick is to bypass the windows
ring0 startup code and run its kernel
directly. It requires only a little of
ring0 - LDT read/write access. Virtualization
of LDT appeared to be possible. Minimal
VxD code was stolen from Wine.

> Or do I need to wait for a documentation update for this?
Or you can try to do that yourself, which
would be a bit faster than waiting:)

> The though just came to me that a screenshot section on the Dosemu site
> would be nice ;)
I agree that the screenshot section would be
nice to have, but as for Win31 - there is
nothing new as you could use WinOS2 patch
since dosemu-1.2.0. And running the unmodified
one gives you no advantages. And you still
need the mouse driver from WinOS2 if you
want the mouse in Win to work under xdosemu.
So it won't be any better than here:
http://www.dosemu.org/old
Mainly I view that as a first significant
move towards win95 support, but nothing more.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: Windows 3.1 Support
@ 2004-11-08 16:18 Stas Sergeev
  2004-11-10 23:49 ` Julius Schwartzenberg
  0 siblings, 1 reply; 25+ messages in thread
From: Stas Sergeev @ 2004-11-08 16:18 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> realize this potential of DosEmu. I can hardly contain myself.  My 
> Windows 3.1 directory is ready and waiting.  :)
What exactly does it wait for?
The code is all in CVS, people who
need it, already use it:)
What you really have to wait (maybe
indefinitely), is win95 support. But
as for Win31 - just rush to CVS!
It is still under development, but
works pretty fine. If there is some
demand for Win32s, I think it will
be worked out either.


^ permalink raw reply	[flat|nested] 25+ messages in thread
* Windows 3.1 Support
@ 2004-11-08  2:46 TP Reitzel
  0 siblings, 0 replies; 25+ messages in thread
From: TP Reitzel @ 2004-11-08  2:46 UTC (permalink / raw)
  To: linux-msdos

I just wanted to say, "thanks", for adding support for unmodified Windows 
3.1 in a future release of DosEmu. I appreciate the time and effort to 
realize this potential of DosEmu. I can hardly contain myself.  My Windows 
3.1 directory is ready and waiting.  :)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2005-01-16 13:45 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 13:45 Windows 3.1 Support Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2004-12-23 12:39 TP Reitzel
2004-12-22 21:49 TP Reitzel
2004-12-22 18:02 Stas Sergeev
2004-12-22  8:46 TP Reitzel
2004-11-28 10:13 Stas Sergeev
2004-11-22 18:23 Stas Sergeev
2004-11-21  5:53 TP Reitzel
2004-11-20 14:17 Stas Sergeev
2004-11-18 20:50 TP Reitzel
2004-11-13 13:56 Stas Sergeev
2004-11-13 11:46 TP Reitzel
2004-11-12 20:18 Stas Sergeev
2004-11-12 22:56 ` Julius Schwartzenberg
2004-11-13  1:53   ` Kevin Noseworthy - Specialty Software
2004-11-13  3:07     ` S Iremonger
2004-11-13  9:35     ` Stas Sergeev
2004-11-12 19:29 Stas Sergeev
2004-11-12 10:16 TP Reitzel
2004-11-12 11:57 ` Julius Schwartzenberg
2004-11-11 16:56 Stas Sergeev
2004-11-12 12:21 ` Julius Schwartzenberg
2004-11-08 16:18 Stas Sergeev
2004-11-10 23:49 ` Julius Schwartzenberg
2004-11-08  2:46 TP Reitzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox