Received: from eggs.gnu.org ([2001:4830:134:3::10]:56914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTURb-0004YG-RY for qemu-devel@nongnu.org; Sun, 23 Aug 2015 08:32:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTURa-0002Az-V9 for qemu-devel@nongnu.org; Sun, 23 Aug 2015 08:32:15 -0400 Message-ID: <55D9BD3B.2050105@ilande.co.uk> Date: Sun, 23 Aug 2015 13:31:55 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 References: <1440257533-1504-1-git-send-email-cormac@c-obrien.org> In-Reply-To: <1440257533-1504-1-git-send-email-cormac@c-obrien.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC 0/4] Mac OS 9 compatibility improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cormac O'Brien , agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org On 22/08/15 16:32, Cormac O'Brien wrote: > This patchset greatly improves QEMU's ability to run Mac OS 9 on the mac99 > machine, allowing progress past the bootloader and partial progress through > the load screen. > > Signed-off-by: Cormac O'Brien > --- > Alexander Graf (3): > PPC: Allow Rc bit to be set on mtspr > PPC: Fix lsxw bounds checks > PPC: mac99: Always add USB controller > > Cormac O'Brien (1): > PPC: fix CUDA packet header size > > hw/input/adb.c | 2 +- > hw/misc/macio/cuda.c | 54 ++++++++++++++++++++++++++++--------------------- > hw/ppc/mac_newworld.c | 3 ++- > target-ppc/mem_helper.c | 5 +++-- > target-ppc/translate.c | 2 +- > 5 files changed, 38 insertions(+), 28 deletions(-) Hi Cormac, I can confirm here that in combination with an updated OpenBIOS then the patchset gets qemu-system-ppc -M mac99 to the OS 9 loading screen, which is great progress! When booting OS 9 with this patchset I do see the following output on the console: Trying to write invalid spr 0 (0x000) at 00f113c0 Trying to read invalid spr 0 (0x000) at 00f113c8 Trying to write privileged spr 955 (0x3bb) at 00f164b8 Trying to write invalid spr 959 (0x3bf) at 00f16520 Trying to read invalid spr 959 (0x3bf) at 00f16528 Trying to write privileged spr 955 (0x3bb) at 00f164b8 Trying to write invalid spr 959 (0x3bf) at 00f16520 Trying to read invalid spr 959 (0x3bf) at 00f16528 I suspect that this could be similar to commit 1ca448b in that OS 9 is trying to read/write undefined bits, but someone with more PPC knowledge should be able to confirm whether or not this is harmless or whether an additional patch is required. ATB, Mark.