Search found 110 matches

by mcayland
Wed Oct 28, 2020 9:53 am
Forum: QEMU
Topic: Mac OS X 10.3 issues
Replies: 8
Views: 167

Re: Mac OS X 10.3 issues

Does anyone have any numbers for comparison e.g. side-by-side benchmarks run in both QEMU and PearPC? If we can identify the bottlenecks then it may be possible to do something about them.
by mcayland
Tue Oct 27, 2020 9:38 am
Forum: QEMU
Topic: Mac OS X 10.3 issues
Replies: 8
Views: 167

Re: Mac OS X 10.3 issues

adespoton wrote: Mon Oct 26, 2020 4:01 pm Your only alternative is using PearPC, which doesn't have sound or graphics acceleration, and has known issues due to the shortcuts it takes to improve speed.
Just out of curiosity, do you know what these shortcuts are?
by mcayland
Sun Jul 15, 2018 8:19 pm
Forum: QEMU
Topic: MacsBug on QEMU
Replies: 6
Views: 3838

Re: MacsBug on QEMU

If you're using the newest builds (pre-3.0) with PMU support then you can break into MacsBug via the programmer switch. From the command line make sure that you enable both PMU and stdio monitor like this: $ ./qemu-system-ppc -M mac99,via=pmu -monitor stdio .... Then once you want to break in, simpl...
by mcayland
Wed May 23, 2018 12:33 pm
Forum: QEMU
Topic: QEMU-PPC is working unstable and absent net.
Replies: 10
Views: 4493

Re: QEMU-PPC is working unstable and absent net.

# Run MAC 99 with MAC OS 9.0 echo "Launching MAC ..." qemu-system-ppc -L pc-bios -M mac99 -m 256 \ -monitor tcp::62000,server,nowait \ -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" -boot c \ -drive file=mac90.img,format=raw,media=disk \ -drive file=/DATA01/MAC/MacOSRealtekDrivers.iso,format=r...
by mcayland
Tue May 22, 2018 9:38 pm
Forum: QEMU
Topic: QEMU-PPC is working unstable and absent net.
Replies: 10
Views: 4493

Re: QEMU-PPC is working unstable and absent net.

Hello! Thank you very much Cat_7. I have downloaded and installed drivers for the rtl8139. But when I am using the script: # Run MAC 99 with MAC OS 9.0 echo "Launching MAC ..." qemu-system-ppc -M mac99 -m 256 \ -monitor tcp::62000,server,nowait \ -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" ...
by mcayland
Mon Mar 19, 2018 9:12 pm
Forum: QEMU
Topic: "There were errors installing the software" in X 10.2
Replies: 5
Views: 2302

Re: "There were errors installing the software" in X 10.2

From memory whilst working on the QEMU macio code, early versions of MacOS X suffer from the old 32-bit limitation i.e. your OS has to be installed within the first 8GB of the disk. Not sure if there were any other restrictions on additional partitions or drives but I definitely recall a few guides ...
by mcayland
Tue Sep 26, 2017 6:49 am
Forum: QEMU
Topic: USB With QUEMU
Replies: 31
Views: 10846

Re: USB With QUEMU

USB passthrough works on OS X, but you have to compile QEMU with it's dependancies for USB support, lsusb or something. I've done it before, it works fine. Yeah, I presume that's libusb. I see support for Windows is now available too: http://libusb.info/. Normally if the headers/libraries are in th...
by mcayland
Thu Jul 13, 2017 8:35 pm
Forum: QEMU
Topic: Need Help Installing Mac OS X 10.4 Tiger into QEMU
Replies: 14
Views: 7911

Re: Need Help Installing Mac OS X 10.4 Tiger into QEMU

Ah. What's the best way to do that? I used Disk Utility and made it a CD/DVD Master. I'll try dd next. EDIT: Using dd worked a charm! 10.4 Tiger now installing! Thanks anyway. EDIT 2: 10.4 installed just fine, but now I can't boot it up... My command line looks fine.... What can I do? If you're usi...
by mcayland
Fri May 19, 2017 8:02 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

Good question. Generally the write* options will get passed to the OS as option flags when opening the backing file. Perhaps using an SSD helps narrow the gap here because writes are fast? I'm also not sure what effect sparse bundles vs. a raw partition would have either. Effectively the option flag...
by mcayland
Fri May 19, 2017 7:56 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

An example: Let's say we want to implement 68k emulation into QEMU I should probably point out that this isn't a particularly good example since QEMU already supports the 68K target, and Laurent even has a test branch which attempts to emulate a Quadra! At least recently there were patches applied ...
by mcayland
Tue May 16, 2017 8:01 am
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

I'm not sure. However in every benchmark tool I've ever used, 100% represents the speed of what you are comparing against so 160% means an increase in performance of 60% etc. which should match with the recent improvments in QEMU. Or is this tool different somehow?
by mcayland
Mon May 15, 2017 8:41 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

In terms of doubling the read speed from disk, there are many hundreds of patches that could have improved this. If you need to know which particular patch caused the improvement you could do a rather large bisect, although is there a particular reason you need to know which one caused the improveme...
by mcayland
Mon May 15, 2017 7:06 am
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

Thanks for the testing, that's a lot closer to what I was expecting :)

According to the latest patches on the mailing list, there should be more goodies in the next release with reducing locking on both disk I/O and display updates in the pipeline which will enhance performance even further.
by mcayland
Wed May 10, 2017 1:03 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

qemu-system-ppc -boot c -M mac99 -cpu G3 -m 256 -g 1280x720x32 -drive file="/dev/rdisk5",format=raw,media=disk,cache=writethrough This is my standard image that works just fine with the same flags using the August 2016 build instead of 2.90. Right, but presumably you were running the old release wi...
by mcayland
Tue May 02, 2017 4:39 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

Guest: qemu-ppc QEMU emulator version 2.6.91 (v2.0.0-15634-g4247773) (It's the August 2016 build) Eeek that is really old. There have been so many optimisations since then (including switch to proper async macio emulation, reduced locking, TCG performance improvements etc.) I'd try repeating one of...
by mcayland
Mon May 01, 2017 10:52 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

That said, I found that playing with caching enabled me to speed up the device emulation significantly from the default. I believe enabling writethrough to a block device on an SSD was what gave me the best performance. That's strange because writethrough effectively means executing a sync or equiv...
by mcayland
Mon May 01, 2017 8:59 pm
Forum: QEMU
Topic: QemuPPC disk performance
Replies: 24
Views: 12460

Re: QemuPPC disk performance

This is yet another area that QemuPPC falls on it's face, a disk image is faster than a Ram Disk. Right, that's because QEMU doesn't (yet?) have a paravirtualised driver and instead relies on the much slower device emulation - see Cat_7's comment at http://www.emaculation.com/forum/viewtopic.php?f=...
by mcayland
Tue Jan 10, 2017 8:25 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

@steventroughtonsmith: have just been catching up on your posts (and Twitter feed!) to see the work you have been doing - amazing!

As OpenBIOS maintainer can I encourage you to submit your patches to the OpenBIOS mailing list with appropriate SoBs so we can try and upstream your work? :)
by mcayland
Sun Oct 23, 2016 3:32 pm
Forum: QEMU
Topic: QEMU PowerPC emulation is S L O W
Replies: 21
Views: 12805

Re: QEMU PowerPC emulation is S L O W

For disk IO I have a beta patch to add support for PCI virtio devices for OpenBIOS, so once this is in place all you'd need is for someone to write a virtio driver for OS 9/X and that would give you accelerated disk IO similar to how MOL currently works :)
by mcayland
Fri Oct 14, 2016 6:04 pm
Forum: QEMU
Topic: QEMU PowerPC emulation is S L O W
Replies: 21
Views: 12805

Re: QEMU PowerPC emulation is S L O W

From personal experience, I know that Windows is considerably slower than Linux/OS X for disk IO. An anecdote from when I used to use WinXP as my desktop: we used to check out and build SVN trees at work for deployment - probably a project in the MBs with a reasonable number of file. Initially I was...
by mcayland
Sun Oct 09, 2016 4:34 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

What if the AWACS driver or some decoder uses floating point operations? The sound would still not play correctly. If the decoder uses floating point instructions then that work will still need to be done before it gets to the hardware regardless, so all your USB audio tests have done is reduce the...
by mcayland
Sun Oct 09, 2016 1:50 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

If the save state feature actually works, maybe it is time to add save state menu items to QEMU's interface. Well that was an interesting discussion on the mailing list. Case closed ;-) I see the issues about command line reconstruction and hot-plug history, migration etc. But why not add a simple ...
by mcayland
Sun Oct 09, 2016 1:44 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

I just wanted to let everyone know the progress I have made with the sound problem in QEMU. After replacing all the calls to the floating point instruction fmadds with a c language equivalent in the AppleUSBAudio kernel extension, audio played without that crackling sound. It sound almost perfect. ...
by mcayland
Thu Oct 06, 2016 10:04 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

@programmingkid: I noticed that the latest qemu master (06 okt) doesn't boot classic CD's/HD's anymore, not even with -cpu G3. Could you verify that I'm not going crazy? I'll write a message to the developer list when you confirm. Best, Cat_7 There was a regression in the altivec instructions intro...
by mcayland
Thu Oct 06, 2016 9:52 pm
Forum: QEMU
Topic: GSOC qemu Boot Mac OS >= 8.5 on PowerPC system
Replies: 2056
Views: 826511

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

The Pi Zero might run Mac OS 9 slightly less than OK (in comparison to the Power Mac G3/300), though you might have to set the memory to 128 MB at most. OS X might run, but it would be very slow. You can compile from 2.7's branch onward. As for OpenBIOS, can't help you much there. Thanks for your a...