From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9ACFC433E0 for ; Fri, 19 Jun 2020 06:33:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A91982078D for ; Fri, 19 Jun 2020 06:33:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725938AbgFSGdZ (ORCPT ); Fri, 19 Jun 2020 02:33:25 -0400 Received: from cynthia.allandria.com ([50.242.82.17]:37422 "EHLO cynthia.allandria.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbgFSGdZ (ORCPT ); Fri, 19 Jun 2020 02:33:25 -0400 Received: from flar by cynthia.allandria.com with local (Exim 4.84_2) (envelope-from ) id 1jmAaY-0004wW-KN; Thu, 18 Jun 2020 23:33:22 -0700 Date: Thu, 18 Jun 2020 23:33:22 -0700 From: Brad Boyer To: Finn Thain Cc: Josh Juran , linux-m68k@lists.linux-m68k.org Subject: Re: penguin (was Re: Linux-mac68k project account maintenance) Message-ID: <20200619063322.GA18201@allandria.com> References: <0A4C54D6-956E-4E46-90DB-BA89B0ED66EB@gmail.com> <7A36365D-870D-46A2-9091-051074465693@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-m68k-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.kernel.org On Fri, Jun 19, 2020 at 11:39:49AM +1000, Finn Thain wrote: > MAME/MESS can boot MacOS. There is work under way to boot MacOS in > qemu-system-m68k. > > But outside of A/UX, I don't know of any way to get hardware assisted > virtualization for 68k MacOS applications. It didn't work on Linux last I checked, but Basilisk II has support for running directly on the CPU in NetBSD while only emulating the supervisor instructions (it used a signal handler to detect and handle anything that would cause an exception). I looked at the code, and it appeared to be possible to do the same on Linux with some tweaks to the signal handler (Linux passes the extra context differently). However, Basilisk II can only boot MacOS because it doesn't actually emulate all the hardware. In a few cases, it emulates synthetic devices and inserts its own drivers with fake expansion ROMs. This means you can't run Linux, NetBSD, or A/UX. Brad Boyer flar@allandria.com