qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] 16-bit (and 8-bit) emulation
Date: Sun, 15 Apr 2007 12:42:33 +0100	[thread overview]
Message-ID: <200704151242.34055.paul@codesourcery.com> (raw)
In-Reply-To: <20070415113309.GA23160@miranda.arrow>

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

  reply	other threads:[~2007-04-15 11:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-15 10:08 [Qemu-devel] Report Nigel Horne
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
2007-04-15 11:42   ` Paul Brook [this message]
2007-04-15 12:08   ` Nigel Horne
2007-04-15 12:35     ` Paul Brook
2007-04-15 12:43       ` Nigel Horne
2007-04-15 12:54         ` Paul Brook
2007-04-15 12:56           ` Nigel Horne
2007-04-15 13:31             ` Paul Brook
2007-04-15 13:46               ` Nigel Horne
2007-04-15 13:51                 ` Paul Brook
2007-04-15 13:54                   ` Nigel Horne
2007-04-15 19:55                 ` Natalia Portillo
2007-04-16 23:35                   ` Derek Fawcus
2007-04-16 23:57                     ` Natalia Portillo
2007-04-15 12:40     ` Andreas Schwab
2007-04-15 12:46       ` Nigel Horne
2007-04-15 13:30         ` Andreas Schwab
2007-04-17 13:55     ` Todd T. Fries
2007-04-15 12:46 ` [Qemu-devel] Report Thiemo Seufer
2007-04-15 14:08   ` Nigel Horne
2007-04-15 16:37     ` Thiemo Seufer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200704151242.34055.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).