From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6X2E-0006fK-Ou for qemu-devel@nongnu.org; Tue, 19 May 2009 17:39:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6X2A-0006ab-6I for qemu-devel@nongnu.org; Tue, 19 May 2009 17:39:42 -0400 Received: from [199.232.76.173] (port=54157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6X29-0006aT-Sr for qemu-devel@nongnu.org; Tue, 19 May 2009 17:39:37 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:56470) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6X29-0000Q9-99 for qemu-devel@nongnu.org; Tue, 19 May 2009 17:39:37 -0400 Subject: Re: [Qemu-devel] A dream of mine: the ability to run m68k NeXT applications From: Laurent Vivier In-Reply-To: <11711693974-BeMail@laptop> References: <11711693974-BeMail@laptop> Content-Type: text/plain; charset=utf-8 Date: Tue, 19 May 2009 23:39:32 +0200 Message-Id: <1242769172.9822.21.camel@Quad> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?Fran=E7ois?= Revol Cc: qemu-devel@nongnu.org, Eagle Le mardi 19 mai 2009 =C3=A0 22:10 +0200, Fran=C3=A7ois Revol a =C3=A9crit : > > Greetings, all. > >=20 > > I have a dream. Well, several actually, but two that are applicable =20 > > here. > >=20 > > The first is: I am interested in having the ability to run m68k NeXT =20 > > applications. There are potentially several ways to do this, but two =20 > > come to mind: > > 1- a CPU-only emulator that runs on i386 NeXTSTEP/OPENSTEP, similar=20 > > to =20 > > what Apple used during the transition from m68k to PPC. >=20 > It should be possible to port qemu to *STEP and add the needed syscall=20 > translations, I suppose. I dream of a port of Qemu to AROS, too, to run native Amiga applications ... > > 2- a full-blown NeXT hardware emulator. >=20 > This would help porting other OSes too... > I'd really like to add NeXT to the possible targets of my m68k Haiku=20 > port... > Though I admit it's only just for fun :) >=20 > AFAIK the m68k support in QEMU is not finished, and is mostly coldfire=20 > only. The current qemu implementation of m68k is not m68k (like 68000, 68020, ... , 68060), as you say it is ColdFire which differs in addressing modes, bit operations, ... I'm currently trying to port m68k patches from Andreas Schwab to qemu 0.10. I've also the "M68K Emulator Testsuite" from Gwenole Beauchesne to test it then (and a lot of real hardware to compare ;-) ) > Another option is to start from an existing 68k emulator. > There is UAE, ARAnyM... There is also BasiliskII for Macintosh, but hardware is not emulated: ROM is patched to use its own drivers. > ARAnyM is based on UAE cpu code, but has 040 mmu support (it has now=20 > been backported to UAE as a patch). And MMU management differs with the CPU type (68030 MMU !=3D 68040 MMU, ...) > > The second dream that I have is: I am interested in a PPC Mac=20 > > emulator =20 > > that is capable of running OS X Server v1.2 (AKA Rhapsody). I am =20 > > interested in this because I no longer have a PPC Mac that is capable =20 > > of running OS X Server. >=20 > Tried PearPC ? Alexander Graf has some patches to run MacOS X Intel in Qemu (but the Apple EULA forbids this). OpenBios needs some work to be able to start MacOS X PPC in Qemu. Is someone tried Mac-on-linux on linux-ppc in qemu-ppc ? Regards, Laurent