qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: Renato Utsch <renatoutsch@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Status of the SH4 / ARM7 emulators
Date: Sun, 20 Nov 2011 19:08:14 +0100	[thread overview]
Message-ID: <4EC9420E.2080402@web.de> (raw)
In-Reply-To: <CALtuVmznDLVJx-SYaQOZzMhuH5nfxC5S_m=LJagBdOYc6BXd6Q@mail.gmail.com>

Hello Renato,

Am 19.11.2011 22:20, schrieb Renato Utsch:
> I am making a dreamcast emulator and I wanted to know the status
> of the sh-4 emulator, if it is stable, if it actually works, etc... And
> the same for the ARM7-TDMI emulator (if QEMU supports it, it supports?),
> because this would save months of work. QEMU sh-4 and arm emulators are
> stable enough for doing something like that?

I know little about Dreamcast, but from looking at Wikipedia [1] it
looks as if ARM7 is used only for sound. So unless you want to develop a
new sound firmware, you can treat it as a black box and focus on SH-4.

sh4-softmmu has been successfully used to boot Linux on certain boards.
What will remain is for you to add a Dreamcast machine, instantiating
the CPU and devices, and implementing those not available in QEMU today,
such as GD-ROM. For PowerVR CLX2 you might be able to share some code
with OMAP's PowerVR SGX.

> how could I use the QEMU emulation
> without opening the actual program? I mean, there is a library for using
> the emulation in another programs?

No. The way to go about your project would be to add the missing pieces
to QEMU's system emulation, mostly in hw/ directory, and to run it via
qemu-system-sh4 -M dreamcast.

You should work with Git and submit any target-sh4 fixes to this mailing
list as well as probably any new devices.
If however you intend to do any Dreamcast-specific frontend skinning,
such parts would probably be less interesting for qemu.git.

You might want to compare ZX Spectrum emulation [2], the Android SDK [3]
and iEmu [4].

Regards,

Andreas

[1] http://en.wikipedia.org/wiki/Dreamcast#Hardware
[2] http://wiki.qemu.org/Features/Z80
[3] http://tools.android.com/overview
[4] http://www.iemu.org/

  parent reply	other threads:[~2011-11-20 18:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19 21:20 [Qemu-devel] Status of the SH4 / ARM7 emulators Renato Utsch
2011-11-19 21:53 ` Peter Maydell
2011-11-20 20:51   ` Andreas Färber
2011-11-20 21:48     ` Peter Maydell
2011-11-23 21:59     ` Richard Henderson
2011-11-24 10:44       ` Andreas Färber
2011-11-29  9:09         ` Tristan Gingold
2011-11-29 15:47           ` Richard Henderson
2011-11-20 18:08 ` Andreas Färber [this message]
2011-11-20 19:56   ` Peter Maydell

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=4EC9420E.2080402@web.de \
    --to=andreas.faerber@web.de \
    --cc=qemu-devel@nongnu.org \
    --cc=renatoutsch@gmail.com \
    /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).