Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hd49s-0004ey-8J for qemu-devel@nongnu.org; Sun, 15 Apr 2007 08:48:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hd49r-0004eH-ON for qemu-devel@nongnu.org; Sun, 15 Apr 2007 08:48:43 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hd49r-0004e1-Dw for qemu-devel@nongnu.org; Sun, 15 Apr 2007 08:48:43 -0400 Received: from ptb-relay02.plus.net ([212.159.14.213]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hd45L-0001d7-OT for qemu-devel@nongnu.org; Sun, 15 Apr 2007 08:44:03 -0400 Received: from [212.159.106.41] (helo=bandsman.co.uk) by ptb-relay02.plus.net with esmtp (Exim) id 1Hd45J-0002bL-2v for qemu-devel@nongnu.org; Sun, 15 Apr 2007 13:44:01 +0100 Received: from [192.168.1.2] (njh [192.168.1.2]) (authenticated bits=0) by bandsman.co.uk (8.13.8/8.13.8) with ESMTP id l3FCi0iH002051 for ; Sun, 15 Apr 2007 13:44:00 +0100 Message-ID: <46221E0F.6050208@bandsman.co.uk> Date: Sun, 15 Apr 2007 13:43:59 +0100 From: Nigel Horne MIME-Version: 1.0 Subject: Re: [Qemu-devel] 16-bit (and 8-bit) emulation References: <4621F9B8.8090808@bandsman.co.uk> <20070415113309.GA23160@miranda.arrow> <462215D9.5020101@bandsman.co.uk> <200704151335.05068.paul@codesourcery.com> In-Reply-To: <200704151335.05068.paul@codesourcery.com> Content-Type: multipart/mixed; boundary="------------040008020109000104030807" 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 This is a multi-part message in MIME format. --------------040008020109000104030807 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Paul Brook wrote: > On Sunday 15 April 2007 13:08, Nigel Horne wrote: >> Stuart Brady wrote: >>> On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote: >>>> Can qemu emulate 16-bit machines (286?)? >>> None that I'm aware of. Is there any particular need for 286 emulation? >> To test my code on machines where sizeof(int) == sizeof(short), and >> sizeof(int) != sizeof(long). > > Modern x86 are backwards compatible[*], so you should be able to do that > anyway. Care to share with us how I do that? Is it an option to gcc? > > Paul -- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, Barnsley, UK. ICQ#20252325 njh@bandsman.co.uk http://www.bandsman.co.uk --------------040008020109000104030807 Content-Type: text/x-vcard; charset=utf-8; name="njh.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="njh.vcf" begin:vcard fn:Nigel Horne n:Horne;Nigel org:NJH Music email;internet:njh@bandsman.co.uk tel;fax:+44 870 705 9334 note:Skype: nigelhorne x-mozilla-html:FALSE version:2.1 end:vcard --------------040008020109000104030807--