Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6Vu2-0002P6-Gm for qemu-devel@nongnu.org; Tue, 19 May 2009 16:27:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6Vtx-0002Je-Nx for qemu-devel@nongnu.org; Tue, 19 May 2009 16:27:10 -0400 Received: from [199.232.76.173] (port=36816 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6Vtx-0002JZ-Jp for qemu-devel@nongnu.org; Tue, 19 May 2009 16:27:05 -0400 Received: from elasmtp-dupuy.atl.sa.earthlink.net ([209.86.89.62]:51622) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6Vtx-0004DP-2t for qemu-devel@nongnu.org; Tue, 19 May 2009 16:27:05 -0400 Message-Id: <37BD6B24-9621-4F23-92FB-2A0EE2BAE1A9@linuxcrypt.com> From: Eagle In-Reply-To: <20090519201853.GA3986@shareable.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: [Qemu-devel] A dream of mine: the ability to run m68k NeXT applications Date: Tue, 19 May 2009 16:26:59 -0400 References: <20090519201853.GA3986@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: qemu-devel@nongnu.org On May 19, 2009, at 16:18, Jamie Lokier wrote: > Eagle wrote: >> Greetings, all. >> >> I have a dream. Well, several actually, but two that are applicable >> here. >> >> The first is: I am interested in having the ability to run m68k NeXT >> applications. There are potentially several ways to do this, but two >> come to mind: >> 1- a CPU-only emulator that runs on i386 NeXTSTEP/OPENSTEP, similar >> to >> what Apple used during the transition from m68k to PPC. >> 2- a full-blown NeXT hardware emulator. >> >> I am interested in this because I have some m68k-only NeXT >> applications that I want to be able to run. > > CPU emulation is quite easy. > > The bits which are hard work are system call translation and hardware > emulation, unfortunately at least one is required to run apps for a > different OS :-) What I have is some m68k binaries for the black-hardware version of NeXTSTEP. They'll run in the m68k version of either NeXTSTEP or OPENSTEP. Unfortunately all I have to run them on (realistically speaking, that is - I still own some NeXTs) is the x86 versions of NeXTSTEP and OPENSTEP. So, it's not as simple as emulating the CPU huh? :) I don't know how hard it is to do what I'm asking. Clearly the CPU needs to be emulated, which has obviously been done a million times before. I just don't know what else is involved, and I thought the QEMU team might be my best bet at finding an answer. I'm hoping beyond hope that someone here will have the knowledge and the desire to undertake a task such as this. :D Thanks.