Page 81 of 83

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue May 15, 2018 3:44 pm
by adespoton
Thanks; I didn't think to try the 8 bit driver since I was getting a panic, but I now recall the reason we built that version... yeah; it should work. I'll check it out tonight.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue May 15, 2018 8:46 pm
by sidoh
I think I used 16 bits for that, actually. Try using that as well and see if both OS X and OS 8 work.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 16, 2018 5:08 am
by adespoton
16 bit did the trick! Both 8.6 and Server are quite happy with it.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Fri May 18, 2018 1:55 pm
by MVoloshin
Hello, is it possible to boot and install MacOS 8.6 in qemu-ppc now?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Fri May 18, 2018 2:24 pm
by sidoh
No, not natively. However, as said earlier, you can get 8.6 running via Blue Box (though it is very slow) when you install Mac OS X Server 1.2v3.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun May 20, 2018 1:01 am
by steventroughtonsmith
Meow2004 wrote:I'm confused on when you install DP2, you need to partition the hard drive. What do you need to do? Do you need to install 9.2, then install from there?
I posted a script to pre-partition a disk image for OS X Server/DP2, but it's buried in the thread somewhere. With this, you can boot straight to the OS X installer and skip the OS 8/9 steps. Permalink: https://gist.github.com/steventroughton ... 0cfa9e5936

Btw awesome to see that OS X Server now responds to keyboard & mouse! :D

Code: Select all

#!/bin/sh

TARGET_IMAGE=Mac_OS_X_Server_1.0-4G.img

#1G
DISKSIZE_IN_BLOCKS=2097152

#2G
#DISKSIZE_IN_BLOCKS=4194304

#4G
#DISKSIZE_IN_BLOCKS=8388608

PRIMARY_PARTITIONSIZE_IN_BLOCKS=`expr $DISKSIZE_IN_BLOCKS - 512 - 16384 - 64`

echo $PRIMARY_PARTITIONSIZE_IN_BLOCKS

pdisk $TARGET_IMAGE -initialize
pdisk $TARGET_IMAGE -createPartition MOSX_OF3_Booter Apple_HFS 64 16384
pdisk $TARGET_IMAGE -createPartition SecondaryLoader Apple_Loader 16448 512
pdisk $TARGET_IMAGE -createPartition "0x000001FF 0x0008 0x00" Apple_Rhapsody_Inst 16960 $PRIMARY_PARTITIONSIZE_IN_BLOCKS

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun May 20, 2018 7:18 am
by Cat_7
Now include in our guide for OSX hosts. Thanks,

Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun May 27, 2018 4:50 pm
by Ross Darker
@adespoton, can you send me your QEMU folder that you use for Server 1.2v3? You don't need to include any disk images/toast files as I have those already, I can only get it working in Windows, but never OS X, and it would be great to try this out.

EDIT: Don't worry got it working now on OS X with latest build.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue May 29, 2018 9:51 pm
by Meow2004
Thanks! But one more question, do i run the script through cmd? put it in my qemu command line? or run it in the openbios?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue May 29, 2018 10:42 pm
by adespoton
It's a shell script for Linux; if I have some spare time, I may make it OS X friendly and put a Platypus wrapper around it so it presents as a runnable application with prompts for disk size.

Linux uses pdisk much like we use diskutil on OS X. Of course, you can probably install pdisk with brew on OS X as well.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 30, 2018 1:13 am
by alex195812
The script posted by Steven is for Mac OS X in fact. I used it a year ago to make disk partitioning for Server installation. Somehow pdisk was and is present in my system. I think it belongs to BSD subsystem as it exists in, say, NetBSD, too.
As for Meow, he uses Windows, as I recollect, so the only option for him is using the script in virtual Mac OS X.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 30, 2018 6:57 am
by Ross Darker
We could upload an image, freshly formatted on Mac OS X with this script, for windows users.

You'd zip it, then it would be very quick to download because of how compressed it can go.

I have pdisk too on os x.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed May 30, 2018 4:22 pm
by adespoton
Weird; I somehow missed pdisk existing on the BSD subsystem :)

The disk images compress to almost nothing with lzma compression, so maybe we should just create a set of them and add them to the QEMU build zips hosted here.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed Jun 20, 2018 6:37 pm
by Cat_7
Announcing another Qemu milestone: the PMU is ready for prime time!
(should I find a job in advertising?)

Find the OSX build here: http://www.open.ou.nl/hsp/downloads3/Qe ... 062018.zip
Find the Windows build here: http://www.open.ou.nl/hsp/downloads3/Wi ... 062018.zip

And be sure to read the post for OSX here:
viewtopic.php?f=34&t=8848&p=52102#p52102

And for Windows here:
viewtopic.php?f=34&t=9028

The downloads include both qemu-system-ppc and qemu-system-ppc64 builds.
Other news is that these builds now allow installing various Linux PPC versions as well.

Happy testing and please report on your findings.

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed Jun 20, 2018 7:47 pm
by adespoton
Thanks! I like how you can choose USB or ADB now to avoid the glitches we were experiencing in previous builds.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Jun 26, 2018 12:44 pm
by Cat_7
Two new OSX builds are available in the experimental OSX builds section:

One containing a fix for the cuda adb so the mouse will work again in 9.0 with -m mac99
One containing an up-to-date screamer-based build.

As always: do not mix both builds, as e.g., the bios file is specific for the screamer build.

Find the builds here:
viewtopic.php?f=34&t=8848#p52104

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Jun 26, 2018 4:19 pm
by Cat_7
Two new Windows builds are available in the experimental builds section:

One containing a fix for the cuda adb so the mouse will work again in 9.0 with -m mac99
One containing an up-to-date screamer-based build.

As always: do not mix both builds, as e.g., the bios file is specific for the screamer build.

Find the builds here:

viewtopic.php?f=34&t=9028&p=53788#p53788

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Aug 14, 2018 10:22 pm
by Cat_7
Hi all,

Qemu 3.0.0 is out as successor to Qemu 2.12

Here are some new builds:
Windows: viewtopic.php?f=34&t=9028
OSX: viewtopic.php?f=34&t=8848

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Tue Aug 14, 2018 10:55 pm
by adespoton
Ah; so it's basically 2.13 as far as PPC goes, still missing screamer integration?

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Wed Aug 15, 2018 4:14 am
by Cat_7
I would say there is no mayor change that would justify that version jump. I believe it was more a feeling that now was as good a time as any. So I suspect some irrationality there, and perhaps that was the fear for 13?

As the screamer goes, there are still too many issues with it. Only yesterday I was running the latest screamer code with OSX 10.0 and the moment I clicked the Sound preference Qemu went into an "invalid key" loop....

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sat Aug 25, 2018 3:47 am
by J. Gryphon
Do the IX3D, ATI or nVidia extensions available with 9.2.2 do anything noteworthy in QEMU or can they be deactivated without consequence? I'm not certain how QEMU handles virtualized video; I have an ATI Radeon HD 4870 in my real machine, but I doubt that OS 9 would know how to do anything productive with it even if it had access to it.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sat Aug 25, 2018 6:23 am
by Cat_7
Hi,

Currently, they do nothing. Qemu running Mac OS doesn't know how to pass trough video to your card. There is some work being done to get it to pass video through, but I haven't seen activity on that front for some time now.

Best,
Cat_7

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Aug 26, 2018 4:38 pm
by kataetheweirdo
Even it knew how, I doubt the ATI driver in Mac OS 9 can support cards past the ATI Radeon R200. The progress I saw there largely amounted to setting which type of video card the driver would detect upon booting.

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Sun Aug 26, 2018 7:37 pm
by SistemaRayoXP
Maybe not so related, but wouldn't be better if QEMU would emulate a "generic card" and the QEMU part that deals with the video would be passed directly to the host video card? Just like with the ATI extensions, but a bit more generic, so that every one with a potent graphic card can get advantage of it

Re: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

Posted: Mon Oct 29, 2018 10:19 pm
by darthnvader
As far as PCI passthrough, I was able to get a Geforce card working with IBM SLOF on the p-series machines in Qemu. However Openbios lacks some of the .words needed, I've been hoping someone with more programing knowledge would help in implementing the needed @config .words for Openbios.

I did test a PCI Firewire card, in a PCI-E to PCI adapter and that worked great in both OS 9 and OS X in Qemu. Tho my host system refused to boot with a PCI Radeon 9200, so I was unable to test that with Qemu.

Until we add the needed .words to Openbios, the only video option other than Qemu-VGA would be a Voodoo2 PCI 3D card. I'm still trying to find one at a reasonable price for testing, unfortunately the price on them keeps going up.

If anyone has one they'd like to donate, or sell cheaply, that would help the cause. :mrgreen: