From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuKrf-000631-FG for qemu-devel@nongnu.org; Fri, 19 Aug 2011 04:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuKre-0004Xx-2u for qemu-devel@nongnu.org; Fri, 19 Aug 2011 04:55:43 -0400 Received: from smtp6-g21.free.fr ([212.27.42.6]:49226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuKrd-0004Wu-4O for qemu-devel@nongnu.org; Fri, 19 Aug 2011 04:55:41 -0400 Message-ID: <4E4E24F9.80409@free.fr> Date: Fri, 19 Aug 2011 10:55:21 +0200 From: =?ISO-8859-1?Q?Fran=E7ois_Revol?= MIME-Version: 1.0 References: <1313614076-28878-1-git-send-email-blanham@gmail.com> <4E4C4215.10704@codemonkey.ws> <1313650949.2308.4.camel@Quad> <4E4CF3A0.2090802@free.fr> <254102189.206234.1313676140366.JavaMail.open-xchange@oxltgw37.schlund.de> <1313697454.20497.14.camel@Quad> <80207362-9754-4079-9A07-804B3063B6BE@claunia.com> <1313700660.20497.49.camel@Quad> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Natalia Portillo Cc: Bryce Lanham , Laurent Vivier , qemu-devel Developers Le 19/08/2011 04:14, Natalia Portillo a =E9crit : > Hi, > [...] (no need to quote the full thread!) >>> >>> He worked on emulating an abandoned, strange, difficult to get, and u= ndocumented hardware, using your 111 patches, and finished it before the = wholy more experienced MESS team. >> >> The next-cube emulation is really working ? > > Yes, it is, absolutely. Cool I need to add this target to my Haiku port... where are the docs=20 for the boot process ? >>>>> Why are you planning to port a hack instead of making a full machin= e >>>>> emulation? >>>> >>>> Because I'm lazy and dumb: the work is already done, I like cut'n'pa= ste. >>> >>> Yeah, you said it! >>> The work is already done, we have all the hardware emulation that Bas= ilisk substitutes for hacks. >> >> I'm not sure of that... no MMU emulation, no Nubus, no ethernet card, = no >> video card, no SWIM, no SCSI, ... useless with a patched ROM. > > Macs do not have videocards :p, only the Mac II and we're not forced to= emulate that one. > SWIM is a piece of cake that can be even implemented without ICs, just = some logical arrays. > NuBus is not required for almost anything, only the video card uses it,= and it's present only on the Mac II, a stub will suffice to make Toolbox= be happy. > Most m68k didn't include a network card, third party ones are stock chi= ps (probably almost all are NE2000, 3COM and PCNET), and Apple integrated= ones are also stock, easy to do :p NIC isn't really necessary at first, those things don't netboot anyway,=20 do they ? > The MMU is your part I won't discuss on it. There is 040 mmu support in ARAnyM (Atari Running on Any Machine),=20 enough to run Linux, that has been backported to UAE (ARAnyM is based on=20 the UAE core), that should give some hints: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D201442 http://www.amigaemulator.org/patches http://www.amigaemulator.org/bin/patches/mmu/uae-0.8.20.2-mmu.diff.gz (though I fixed a bug in handling TTR1 in ARAnyM) It's why I chose to go Falcon first and use ARAnyM for the 68k Haiku port= . The 030 or 68551 ones are much more complex though (the 040 one has a=20 fixed table layout, others have fully configurable table size for all=20 the 4 levels). The 060 one is just the 040 with some cache restrictions. > I know it's not perfect, but right now, it's better than nothing. > There is no 68k cpu emulation complete afaik, I discussed with Ray Arac= helian a lot on that when he was working on LisaEm. > However emulators are live, Aranym, UAE, LisaEm, BasiliskII. > > qemu-m68k is quite complete to go live (when it does not break mcoldfir= e) right now. > Bugs are easy to be corrected by more people when they are in main than= in a developer's own clone. > > Leave your little kid go wild, it's old and big enough :p Release early, release often :p Fran=E7ois.