GSOC qemu Boot Mac OS >= 8.5 on PowerPC system

About QEMU, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

This:

Code: Select all

qemu-system-ppc.exe -bios openbios-ppc -L pc-bios -m 512 -M mac99 -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_4.iso,format=raw,media=disk -drive file=DP4.raw,format=raw,media=disk
Once it gets to that screen after 10 seconds it closes out.
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Well,the long pause after "ATS Server" is normal as I recall.
BSD root found,it goes right.
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

???
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

qemu window closes?Itself?It's strange.If so is it OK with your system?In the worst case it can stall on this screen but shouldn't close.
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

yes, it seems fine
User avatar
adespoton
Forum All-Star
Posts: 3075
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

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

Post by adespoton »

ProgrammingKid wrote:The floating point unit in QEMU is slow, but I think it might be fast enough handle sound playback.
A number of months ago, when we were looking at the USB sound, we discovered that the FPU was the culprit in causing the delays to the sound buffer. I still think that the floating point unit is the culprit here (and in a number of other performance areas) and the tinycode is going to band-aid it, but not really fix the issue.

Has anyone started looking at implementing a new streamlined FPU module? It would take me a few years to do it, but if nobody else is, I might start.
Programmingkid
Apple Corer
Posts: 243
Joined: Sun Jan 31, 2016 6:01 pm

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

Post by Programmingkid »

adespoton wrote:
ProgrammingKid wrote:The floating point unit in QEMU is slow, but I think it might be fast enough handle sound playback.
A number of months ago, when we were looking at the USB sound, we discovered that the FPU was the culprit in causing the delays to the sound buffer. I still think that the floating point unit is the culprit here (and in a number of other performance areas) and the tinycode is going to band-aid it, but not really fix the issue.
I'm not sure we can say the FPU is the problem. It was more of a theory rather than a proven fact.
adespoton wrote: Has anyone started looking at implementing a new streamlined FPU module? It would take me a few years to do it, but if nobody else is, I might start.
I have. I tried making it so that floating point math was handled by the host floating point unit. Things did not work out. Just changing the optimization level of GCC was enough to make the code break. I could show you my patch if you want.

How would you go about making QEMU's floating point unit faster?
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

Image
ummmmmmmmmmmmmmmmmmm

Code: Select all

qemu-system-ppc-sdl20.exe -bios openbios-qemu-scr-sunM.elf -L pc-bios -m 512 -M g3beige -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_2.iso,format=raw,media=cdrom -drive file=DP2.raw,format=raw,media=disk
darthnvader
Mac Mechanic
Posts: 168
Joined: Sun Feb 07, 2016 4:40 pm

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

Post by darthnvader »

Meow_2004 wrote:Image
ummmmmmmmmmmmmmmmmmm

Code: Select all

qemu-system-ppc-sdl20.exe -bios openbios-qemu-scr-sunM.elf -L pc-bios -m 512 -M g3beige -prom-env "auto-boot?=false" -prom-env "boot-args=-v" -g 800x600x32 -cpu G3 -drive file=MacOSX_developer_preview_2.iso,format=raw,media=cdrom -drive file=DP2.raw,format=raw,media=disk
Maybe try:

Code: Select all

 -g 1024x768x8
or

Code: Select all

-g 800x600x8
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Maybe 1024x768x16 or 800x600x16.I think it's an sdl-specific issue.I met it in MacOS sdl build.It happens only in DPs and Server in 32-bit mode.
Is it the August qemu build or the new one?
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

It's your build
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

You may try my build also without -sdl.Interesting to try the older one,too.It seems that in August build there was no such effect.
Last edited by alex195812 on Sun Feb 05, 2017 3:46 pm, edited 1 time in total.
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

I get up to the installation and get this: (IGNORE THE ^A)

Image
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Hmm...At what moment does it happen?
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

When it's preparing for the installation
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

It seems started without -sdl and 1024x768?Does this screen appear after grafical Installer or before?
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

before

Edit: DP4 loading screen is up! Got pass the closing down @ Starting ATS Server part!!
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

And it stays on this screen?No move?Is it x8 or x16 graphics?
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

x8 It closes down automatically after it says "done"

EDIT: NO SPACE TO INSTALL ON FOR DP4 TOO?!?!?!?
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Your host screen resolution seems non-standard.What is it?
Ah,have you come to graphics installer?
Last edited by alex195812 on Sun Feb 05, 2017 4:08 pm, edited 2 times in total.
User avatar
Meow_2004
Granny Smith
Posts: 108
Joined: Thu Jan 05, 2017 6:24 pm

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

Post by Meow_2004 »

Don'y know, how can I check?

No i only get up to preparing for installation
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Oh then I don't understand where you are now..
darthnvader
Mac Mechanic
Posts: 168
Joined: Sun Feb 07, 2016 4:40 pm

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

Post by darthnvader »

For DP2 I need x8, or the boot process stop with a garbled screen at BootX, and I don't think it ever loads the Kernel.
alex195812
Mac Mechanic
Posts: 169
Joined: Mon Aug 29, 2016 3:44 am

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

Post by alex195812 »

Oh,it passes by and switches to resolution you assign on command line.
darthnvader
Mac Mechanic
Posts: 168
Joined: Sun Feb 07, 2016 4:40 pm

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

Post by darthnvader »

I set:

Code: Select all

-g 1024x666x8 
And BootX shows at that resolution, but once the Kernel loads, it switches to 640x480x16 or 32, I'm not sure.

Image

There doesn't appear to be a way to change the screen resolution in DP2, the Mac OS Preferences, doesn't have anyway to change it under Displays.


As you said before, alex, DP2 is really buggy, sometimes it launches two Finders. Shutdown doesn't really work all the time, and many other bugs, but Classic does run, once you set it up with the MacOS.app.

Image
Last edited by darthnvader on Sun Feb 05, 2017 5:05 pm, edited 1 time in total.
Post Reply