Next Previous Contents

8. dosemu and MS-Windows 3.1

8.1 Is it possible to run MS-Windows 3.1 under dosemu?

The ../doc/README.Windows file says:

***************************************************************
*    WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!   *
*                                                             *
*  Danger Will Robinson!!!  This is not yet fully supported   *
*  and there are many known bugs!  Large programs will almost *
*  certainly NOT WORK!!!  BE PREPARED FOR SYSTEM CRASHES IF   *
*  YOU TRY THIS!!!                                            *
*                                                             *
*    WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!   *
***************************************************************

Okay, it is possible to boot WINOS2 (the modified version of Windows 3.1 that OS/2 uses) under DOSEMU. Many kudos to Lutz & Dong!

However, YOU NEED BOTH LICENSES, for WINDOWS-3.1 as well OS/2 !!!

There are many known problems. Windows is prone to crash, could take data with it, large programs will not load, etc. etc. etc. In other words, it is NOT ready for daily use. Many video cards are known to have problems (you may see a nice white screen, however, look below for win31-in-xdos). Your program groups are all likely to disappear. ... Basically, it's a pain.

On the other hand, if you're dying to see the little Windows screen running under Linux and you have read this CAREFULLY and PROMISE NOT TO BOMBARD THE DOSEMU DEVELOPERS WITH "MS Word 6.0 doesn't run!!!" MESSAGES...

1.  Get DOSEMU & the Linux source distributions.
2.  Unpack DOSEMU.
3.  Configure DOSEMU typing './configure' and do _not_ disable vm86plus.
4.  Compile DOSEMU typing 'make'.
5.  Get the OS2WIN31.ZIP distribution from ... ????
    ... oh well, and now you have the first problem.
    It _was_ on ibm.com sometime ago, but has vanished from that site, and
    as long as it was there, we could mirror it. ... you see the problem?
    However, use 'archie' to find it, it will be around somewhere on the net
    ... for some time ;-)
5.  Unpack the OS2WIN31 files into your WINDOWS\SYSTEM directory.
    (Infact you only need WINDOWS/SYSTEM/os2k386.exe and the mouse driver)
7.  Startup dosemu (make certain that DPMI is set to a value such as 4096)
8.  Copy the file winemu.bat to your c: drive.
9.  Cross your fingers.

Good luck!

REMEMBER:  THIS IS NOT AT ALL RECOMMENDED!!!  THIS IS NOT RECOMMENDED!!!
           WE DO NOT RECOMMEND YOU TRY THIS!!!
---------

8.2 Windows 3.x in xdos:

As of version 0.64.3 DOSEMU is able to run Windows in xdos. Of course, this is not recommended at all, but if you really want to try, it is safer then starting windows-31 on the console, because _when_ it crashes, it doesn't block your keyboard or freeze your screen.

Hints:

1. Get Dosemu & Linux source.
2. Unpack dosemu.
3. Run "./configure" to configure Dosemu (it will enable vm86plus as a
   default).
4. Type "make" to compile.
5. Get a Trident SVGA drivers for Windows. The files are tvgaw31a.zip
   and/or tvgaw31b.zip. They are available at garbo.uwasa.fi in
   /windows/drivers (any mirrors?).
6. Unpack the Trident drivers.
7. In Windows setup, install the Trident "800x600 256 color for 512K
   boards" driver.
8. Do the things described above to get and install OS2WIN31.
10. Start xdos.
11. In Dosemu, go to windows directory and start winemu.
12. Cross your fingers.

8.3 Can I install windows from within dosemu?

No you cant't. Dos will tell you something like

The XMS driver you have on your system is not compatible with Windows...
You need to install windows from Dos. You can copy the windows tree to somewhere on your Linux Filesystem and use lredir to mount it on the same place as it is in dos. Example:
You have windows in d:\windows You have d:\ mounted as /dosc in Linux You copy the windows tree to Linux, e.g. "cp -a /dosd/windows /usr/share Inside dosemu you redirect the copied tree like lredir d: linux\fs\dosd
Now dosemu can't mess around in you windows directory, but changes in the windows directory aren't seen by dosemu too. If you want to do the same with windows on drive c:> look in this FAQ how to redirect c:.

But you can use "setup" from inside the windows directory to install drivers and change some settings. (97/2/1497)

8.4 Notes for the mouse under win31-in-xdos:

1. Use the mouse driver "mouse.drv" from WinOS2

2. In order to let the mouse properly work you need the following in your win.ini file:

     [windows]
     MouseThreshold1=0
     MouseThreshold2=0
     MouseSpeed=0

3. The mouse cursor gets not painted by X, but by windows itself, so it depends on the refresh rate how often it gets updated, though the mouse coordinates movement itself will not get delayed. ( In fact you have 2 cursors, but the X-cursor is given an 'invisible' cursor shape while within the DOS-Box. )

4. Because the coordinates passed to windows are interpreted relatively, we need to calibrate the cursor. This is done automatically whenever you enter the DOS-Box window: The cursor gets forced to 0,0 and then back to its right coordinates. Hence, if you want to re-calibrate the cursor, just move the cursor outside and then inside the DOS-Box again. (97/2/10)

8.5 Why did my Icon dissapear from the Programmanager?

MS-Windows and WinOS2 handle the program manager group different. While MS-Win store the setup in progman.ini, WinOS2 what's the conted of progman.ini in system.ini. Her a tip from (friest@acm.org (Todd T. Fries)):

cat progman.ini >> system.ini
Be sure to use >> :-)


Next Previous Contents