[comp.unix.msdos] Running Windows 3.0 Under ODT-DOS

mpd@anomaly.SBS.COM (Michael P. Deignan) (01/23/91)

...........Begin Quoted Message............

From: Ken J. Priddy <wwc1!pridke@@hpspkla.spk.hp.com>
Date: Wed, 21 Nov 90 17:00:57 PST
Subject: win3.0 patch for ODT (probably others)

I have gotten windows 3.0 installed on Open Desktop and it should work
the on VP/IX also.  Windows uses a combination of stack and flag manipulations
to determine the CPU type.  The invalid instruction is an operand size prefix.
What this patch does is forces the checking routine to think it's running
on an 8086 before it tries to do the operand size prefixes.

The following instructions are how I got windows 3.0 to work for me.

Copy disk 1 so that you can make changes.
rename kernel.exe to kernel.dat on the copy.
using debug or some such debuger change es:8b5a from 0B to 31 as follows
    debug kernel.dat
    d es:8b58 l8  /* should display 8B C4 0B C0 FF B1 20 D3 */
    e es:8b5a 31
    w
    q

now rename kernel.dat to kernel.exe
run setup from this copy it should work.  It does on mine.

..............End Quoted Message.................

You should note the following:

	1) Windows runs in real mode, severely limiting memory for windows apps.	
		(One way around this, to some degree, is to use virtual 
		 expanded memory by starting ODT-DOS with the "+aemsX" switch
		 where X is 1, 2 or 4 for 1, 2 or 4 megabytes of EMS memory.  
		 This allows programs like Excel store data in EMS memory.)
	2) VGA/EGA graphics require Zooming if using X Desktop (Alt-D then
		select Zoom)
	3) This is NOT an "official patch" but it does work!

-- 
--  Michael P. Deignan                      / They're not "bombs". 
--  Domain: mpd@anomaly.sbs.com            /  They're "gifts".
--    UUCP: ...!uunet!rayssd!anomaly!mpd  /   "Gifts From Above".
-- Telebit: +1 401 455 0347              /