From: Scott Moore (samiam@netcom.com)
Date: 06/03/93


From: samiam@netcom.com (Scott Moore)
Subject: Re: dosemu and windows
Date: Fri, 4 Jun 1993 01:29:33 GMT

Ok, I have a short plan of attack for this subject. A windows emulator could be
written in two stages:

   1. Write a pure "C" kit that translates windows functions to X calls. When
complete, you would be able to link this lib to a windows program, recompiling
the windows program, and get a pure 32 bit runnable, perhaps with some
nessesity to remove 286/windows anacronisims. This lib would be usefull on its
own for porting project where the source is available.

   2. Use the above W2X lib to create an enhanced DOSEMU. The basic translation
would be nearly identical. The problem at hand would be trapping windows calls
out of the DOS VDM, performing the 16 - 32 bit thunk, then calling the
translator functions. The famed "side effect" calls to DOS would just be
allowed to happen, using the support already in DOSEMU.

The advantage to this approach is that you can get a "native" port ability as
part of the project, and also break the task into manageable steps.

                                                <sam>

-- 
Scott A. Moore [SAM]  | This space for rent. 
samiam@netcom.com     | 
Santa Cruz, CA USA    | 
408-423-1624          | 
ExaByte Corp.         | "my opinions do not represent my company, etc."
========================================================================