From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BspyW-00018n-9j for qemu-devel@nongnu.org; Thu, 05 Aug 2004 17:40:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BspyU-00017T-OX for qemu-devel@nongnu.org; Thu, 05 Aug 2004 17:40:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BspyU-00017C-92 for qemu-devel@nongnu.org; Thu, 05 Aug 2004 17:40:34 -0400 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BspuT-0006Ij-U2 for qemu-devel@nongnu.org; Thu, 05 Aug 2004 17:36:25 -0400 Received: from [62.65.128.33] (helo=ddba033.netstream.ch) by mx20.gnu.org with esmtp (Exim 4.34) id 1Bsk3W-0006o9-Bz for qemu-devel@nongnu.org; Thu, 05 Aug 2004 11:21:22 -0400 Received: from [62.65.151.66] (helo=[10.2.1.84]) by ddba033.netstream.ch with esmtp (Exim 4.10) id 1Bsk3T-000LLJ-00 for qemu-devel@nongnu.org; Thu, 05 Aug 2004 17:21:20 +0200 Message-ID: <41125088.4060707@hispeed.ch> Date: Thu, 05 Aug 2004 17:21:44 +0200 From: Stefan Kisdaroczi MIME-Version: 1.0 Subject: [Qemu-devel] Re: Bug in emulation of 'bound' x86 instruction? 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: qemu-devel@nongnu.org Hi all, While testing my "DOS+Realtime Multitasking Extension" Images ( working with bochs ), two things did not work with qemu : 1) The BOUND instruction seems to raise always the Exception 5 if the second Parameter is a location in the cs seg. Example: bound di, cs:1095 2) An Exception 13 is raised when a "les" instruction should get the seg:ofs pair from the ss seg. Example: les di, ss:si+10 -> im not really sure if its really dependent of the used seg, but i have started multiple programs, and all crash on different locations always on the bound or les instructions. It was always cs used in case 1) and ss used in case 2). The system is running in mixed 16/32 Bit Protected mode. It happens in a 16-bit code segment. The System debugger starts automatically on the exceptions 5 and 13, so i have looked at the memory locations referred and the values there are correct. What can i do to help you helping me ? Thank you. Greetings kisda