From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3lnE-0000W2-Sh for qemu-devel@nongnu.org; Wed, 17 Mar 2004 19:53:52 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3lmQ-0008MP-Rq for qemu-devel@nongnu.org; Wed, 17 Mar 2004 19:53:34 -0500 Received: from [193.252.22.21] (helo=mwinf1003.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3lm4-00089N-R8 for qemu-devel@nongnu.org; Wed, 17 Mar 2004 19:52:40 -0500 Message-ID: <4058F337.1080703@bellard.org> Date: Thu, 18 Mar 2004 01:54:15 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu and OS/2 References: <4056434B.4070008@bellard.org> <4058EEEA.8000307@grandecom.net> In-Reply-To: <4058EEEA.8000307@grandecom.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gwa@alumni.cmu.edu, qemu-devel@nongnu.org Greg Alexander wrote: > > > Fabrice Bellard wrote: > >> Hi, >> >> Can you try the CVS ? I made a specific VGA fix for the OS/2 install >> (you can see the OS/2 & IBM logo), but there are still problems after. >> >> If OS/2 does not rely on segment limit checks or weird FPU exceptions, >> then there is a chance that QEMU can launch it soon. > > > If I remember correctly, at least the early versions of OS/2 DID rely on > segment limit checks. This allowed it to do multitaking on 286 > processors, and a lot of that mechanism was still used in the 386 code. It is possible and easy to add full segment limit and right checks in QEMU with a runtime selectable option. It would impact mostly 16 bit code and the slowdown would be small: because QEMU is a dynamic translator, some tests can be done at translation time. Unfortunately it is not yet on the top on my TODO list :-( Fabrice.