From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdwB3-00014S-Hs for qemu-devel@nongnu.org; Tue, 17 Apr 2007 18:29:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdwB0-00014E-Uo for qemu-devel@nongnu.org; Tue, 17 Apr 2007 18:29:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdwB0-00014B-Nt for qemu-devel@nongnu.org; Tue, 17 Apr 2007 18:29:30 -0400 Received: from pf.freedaemonhosting.com ([66.210.104.252] helo=FreeDaemonHosting.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hdw6E-0004MP-HR for qemu-devel@nongnu.org; Tue, 17 Apr 2007 18:24:34 -0400 Received: from blue.fries.net (blue.hse.fries.net [IPv6:2001:240:58a::1c]) by FreeDaemonHosting.com (8.13.8/8.13.3) with ESMTP id l3HDtchH022341 for ; Tue, 17 Apr 2007 08:55:38 -0500 (CDT) Received: from blue.fries.net (localhost.fries.net [IPv6:::1]) by blue.fries.net (8.14.0/8.13.6) with ESMTP id l3HDtJpK030108 for ; Tue, 17 Apr 2007 08:55:19 -0500 (CDT) Received: (from todd@localhost) by blue.fries.net (8.14.0/8.13.6/Submit) id l3HDtJad031932 for qemu-devel@nongnu.org; Tue, 17 Apr 2007 08:55:19 -0500 (CDT) Date: Tue, 17 Apr 2007 08:55:19 -0500 From: "Todd T. Fries" Subject: Re: [Qemu-devel] 16-bit (and 8-bit) emulation Message-ID: <20070417135518.GA17392@fries.net> References: <4621F9B8.8090808@bandsman.co.uk> <20070415113309.GA23160@miranda.arrow> <462215D9.5020101@bandsman.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline In-Reply-To: <462215D9.5020101@bandsman.co.uk> Content-Transfer-Encoding: quoted-printable Reply-To: todd@fries.net, 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 todd@cloud/p1 ~/src/c/todd/test=A6100$ ./sizeof sizeof(char) =3D 1 sizeof(short) =3D 2 sizeof(int) =3D 4 sizeof(char *) =3D 4 sizeof(long) =3D 4 sizeof(long long) =3D 8 todd@cloud/p1 ~/src/c/todd/test=A6101$ uname -a OpenBSD cloud.fries.net 4.1 GENERIC#7 mac68k todd@cloud/p1 ~/src/c/todd/test=A6102$=20 FWIW. --=20 Todd Fries .. todd@fries.net _____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ =20 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Nigel Horne on 20070415 13:08.57, we have: | 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 emulatio= n? |=20 | To test my code on machines where sizeof(int) =3D=3D sizeof(short), and | sizeof(int) !=3D sizeof(long). |=20 | >OTOH, it might be interesting to see some m68k system emulation. |=20 | I can't remember now what sizeof(int) and sizeof(char *) were on m68k=20 | machines. |=20 | -Nigel |=20 | --=20 | Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,=20 | Typesetter. | NJH Music, Barnsley, UK. ICQ#20252325 | njh@bandsman.co.uk http://www.bandsman.co.uk | 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 |=20