From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hd3CQ-0000rC-6G for qemu-devel@nongnu.org; Sun, 15 Apr 2007 07:47:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hd3CO-0000kR-Nw for qemu-devel@nongnu.org; Sun, 15 Apr 2007 07:47:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hd3CO-0000k8-LH for qemu-devel@nongnu.org; Sun, 15 Apr 2007 07:47:16 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hd37t-0001jP-I6 for qemu-devel@nongnu.org; Sun, 15 Apr 2007 07:42:37 -0400 From: Paul Brook Subject: Re: [Qemu-devel] 16-bit (and 8-bit) emulation Date: Sun, 15 Apr 2007 12:42:33 +0100 References: <4621F9B8.8090808@bandsman.co.uk> <20070415113309.GA23160@miranda.arrow> In-Reply-To: <20070415113309.GA23160@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704151242.34055.paul@codesourcery.com> 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 On Sunday 15 April 2007 12:33, 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? > OTOH, it might be interesting to see some m68k system emulation. > > I've been working on an 8-bit machine, with some success. The one thing > that I'm not really sure about is bank switching (although I think I can > just call cpu_register_physical_memory()). It's probably easier to map all banks into a single large address space, and use the bank number as the high bits of the address. That way you can switch banks without having to flush everything. gdb uses similar tricks to deal with multiple address spaces on DSPs. Paul