Qemu package and guide for Windows available

About Qemu-system-ppc, 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

Ministar48
Student Driver
Posts: 20
Joined: Tue Jul 03, 2018 12:34 am

Re: Qemu package and guide for Windows available

Post by Ministar48 »

I am glad that the new official source build fixes the jumpy mouse issue to the point that Mac OS X Server 1.0 is actually usable. :smile:

But there is still a lot of work to do in order to bring the Windows builds on par with the other platforms. :roll:
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Hi Cat_7!
I am installing mac os x 10.0.4k78 to qemu, but when the emulator started to install mac os x the mouse did not move and I want to know why the mouse doesn't move, do you have any solutions?Thank you.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi,

My first guess would be that you need to use -M mac99 on your command line. If you already have that,
please paste your command line in your response.

Best,
Cat_7
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Hi my dear Cat_7 thank you for replying me that,you are right,change the command line "via=pmu" to "via=cuda" will be suitable for mac os x 10.0 and 10.1,thank you again my dear Cat_7 !
nasdaq8810
Space Cadet
Posts: 7
Joined: Fri May 17, 2019 4:27 am

Re: Qemu package and guide for Windows available

Post by nasdaq8810 »

Dear Cat_7 now I have a new problem,when I changed the command line "-boot d" to "-boot c" but the mac os x 10.0 system won't be start from the installed .img file and the emulator screen prints out "Trying hd:,\\:tbxi..." to the screen and it will like this all the time without any changes,can you help me? Thanks.


I have solve this problem by reversing the two command line "-drive file=MacOS9.2.iso,format=raw,media=cdrom ^" and
"-drive file=MacOS9.2.img,format=raw,media=disk ^ “,and the mac os x system will be boot from the .img file normally.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Yes, our guide explains that:
https://www.emaculation.com/doku.php/pp ... or-windows

Best,
Cat_7
Ministar48
Student Driver
Posts: 20
Joined: Tue Jul 03, 2018 12:34 am

Re: Qemu package and guide for Windows available

Post by Ministar48 »

Why there is no official source Windows build for QEMU 4.1?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Basically because non experimental Windows builds can be had from here:

https://qemu.weilnetz.de/w64/

I nevertheless built a qemu-system-ppc from 4.1 source. Find in the first post in this thread.

Best,
Cat_7
User avatar
that-ben
Granny Smith
Posts: 141
Joined: Tue Nov 10, 2015 7:50 pm

Re: Qemu package and guide for Windows available

Post by that-ben »

2019-09-06 build still has no sound, just like the 2019-04-24 build.

Tough, 2019-08-23-screamer has working sound. Works great (like 2019-02-12). Why do working sound builds have a different .exe? Why not just always have it "screamer" enabled?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

Screamer development happened in parallel with some of the other features that have been added since 2015, and there are still some stability issues. As far as I know, Screamer isn't being integrated into the official releases until those stability issues are resolved.

So if you want something with QEMU's reputation of stability, for example if you're running a server, it's best to use the official build. If you want audio support, use the Screamer build, but don't expect it to run indefinitely or not have the odd runtime issue.
User avatar
that-ben
Granny Smith
Posts: 141
Joined: Tue Nov 10, 2015 7:50 pm

Re: Qemu package and guide for Windows available

Post by that-ben »

Alright, but... meh, the last screamer build works fine here actually! I find it stable. It never crashed on me for 1 hour use.
KrondaliX
Space Cadet
Posts: 7
Joined: Thu Oct 15, 2015 7:10 am

Re: Qemu package and guide for Windows available

Post by KrondaliX »

Hi Cat_7,

I see there are many improvments here. Sound is working great but the emulation with screamer version is kind of slow... Not a big deal.

I have trouble with Networking for Sharing files/folders through the host.
So i followed the tutorial regarding Thursby DAVE 6.2.1. Changed netdrv method for tap, i got internet working and the Qemu IP is pinging through CMD from Windows.

So the step with DAVE is when i have to select it from Chooser in the Apple menu, the wait watch cursor is standing here and i cannot do anything else. I have to shut down and restart the Qemu to work again.

So is there any step to do for the sharing to work properly ? I have OS 9.2.2 using qemu 4.1 screamer with sound support.


Thank you in advance for your help.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi,

I'm away from my windows machine, so can't take a look a this right now.

Best,
Cat_7
thom75
Inquisitive Elf
Posts: 30
Joined: Sat May 06, 2017 6:40 pm

Re: Qemu package and guide for Windows available

Post by thom75 »

Hi Cat_7,

I'm trying to build linux screamer binary from sources but when I build it version of it is the same as last time 4.1.50.
Is this current method/source of building it?

Code: Select all

git clone -b screamer https://github.com/mcayland/qemu qemu-screamer
cd qemu-screamer
./configure --target-list="ppc-softmmu" --enable-gtk --enable-sdl
make
cd ppc-softmmu
strip qemu-system-ppc
I would like to build both, screamer and ATI version.

Kind Regards
Tomasz
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi,

Yes, what you downloaded is the latest screamer code. I'm hoping it will be rebased on the current qemu source code. There are some patches in the pipeline, so I will create a new build once these have landed.

To get ATI support you need to build an openbios with some patches applied. You can find these patches on the openbios mailing list.

Depending on your host, you might need to cross-compile openbios. It requires a ppc/elf compiler to build.
There are instructions here for OSX host: https://www.openfirmware.info/How_to_bu ... n_Mac_OS_X
On Linux host, you can install the powerpc-linux-gnu compiler provided by your package manager.

As there has been no recent development related to ATI in openbios, you can just as well use the openbios version we provide as you will end up with the same ;-)

As for Qemu, it should already have the required code to enable the ATI card incorporated.
Please see the read me in our experimental ati-enabled build for how to run qemu with the ati card.

Best,
Cat_7
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Hello,
im back after long time to check progress, thanks for continual effort.

I have few questions:
  1. Which versions of Mac are now working with networking?
  2. Which versions are now working with sound? I saw some Screamer builds.
  3. If im not wrong still no 3D gamming?
  4. What about 2D games is now possible on fast machine my them on OS 9 or 10?
  5. I all tutorials are qcow fixed size images, there are annoying from space point of view, is working for Mac some classic QEMU growable disk image format?
  6. I have problems with networking on windows and i have bad memory. If nim not fine with SLIPR. What i have to god install OpenVPN bridge connection with lan and add this parameter -net nic,model=rtl8139 -net tap,ifname=NameOfBridge its right?
    Problem is that im getting error ((An unexpected error occured while configuring the Network Bridge.) during bridge creation - its created, but networking is working well. I have installed also Vmware, Virtualbox and even Checkpoint VPN - which all have networking adapters.
  7. How i should now adjust my G4 10.4 machine command line, i saw that "wip" text was removed, something else?
    qemu-system-ppc-wip.exe -bios openbios-qemu-wip.elf -L pc-bios -boot c -g 1280x1024x32 -m 1024 -M mac99p -cpu G3 -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -drive "file=./HDDs/HDD-System10-4-G3.img,media=disk,format=raw,index=1,copy-on-read=off" -net user -net nic,model=rtl8139 -net user
  8. I installed machines with QEMU 2.6, make sense to reinstall them?
Last edited by ruthan on Tue Feb 18, 2020 11:15 pm, edited 1 time in total.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

As of 4.1:
1. All.
2. See the ongoing discussion threads. I won't update anything here, as it'll be out of date shortly anyway. Needless to say, you'll likely get *something* if you attempt to boot an OS with a recent Screamer build.
3. Correct. There's now an ATi Rage stub checked in, but it doesn't actually support anything yet.
4. Yes. Even 3D games that have the option to use a software renderer (Bugdom/Nanosaur/etc.) now work.
5. I personally create sparse bundles on the host, pre-mount them, and then pipe my disk to the mount point as a raw image. QCOW growable also works.
6. You probably don't need to install OpenVPN; the only reason to install it is to get TAP-Windows installed on your device; this is already done by some of your other networking systems. So you just need to go to the network pane, set up a new bridge, set up a TAP device, and then add the TAP device and your physical device to the bridge. At this point, networking should work *for TCP/IP and UDP*. Unfortunately, TAP-Windows bridges don't appear to support all IP frames, so you can't route anything other than TCP and UDP over the bridge. You *may* be able to get around this by adding all the devices you want to communicate with to the same network, so the bridge doesn't drop the packets as they leave the bridge.
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Thanks for detailed reply.

1.Any recommendation which one is most stable or best for even limited gaming?
4. What about speed, its playable? I'll be very grateful for the longer list of working games.
6. Yeah i know, but i did not found standalone TAP package without OpenVPN, so it so easiest way to install it.
BTW i dunno if it problem client or server part or just implementation, but one of my client migrated from OpenVPN to Checkpoint and VPN is now much faster.
How exactly to setup New Bridge in Windows 10? Is there other way that just select 2 connection in Control Panel\Network and Internet\Network Connections and click on Bridge?
In this step i get error, but its created. By propeties of bridge i can select lots of things.
- Adapters:
I select IntelLAN - which im using and TAP adapter, there is listed every connection on my machine.

Im not sure about next list - This connection uses the following items, there is lots of stuff:
-Client for Microsoft Networks
-Vmware Bridge protocol
- File and Printer Sharing for MS networks
- Microsoft MAC Bridge
- VirtualBox NDIS Bridged Networking Driver
- Qos Packet Schedulde
- Bridge Driver
- Internet Protocol Verios 4 - TCP
- Microsoft Network Adapter Multiplexor Protocol
- Microsoft LLDP Protocol Driver
- Internet Protocol Version 6 - TCP, im not using IP V6 at home
- Link-Layer Topology Discovery Responder
- Link-Layer Topology Discovery Mapper I/O Driver
- Hyper-V Extensive Virtual Switch

I just need enable internet for QEMU machine and see my Windows network shares would be nice too.

Bridge is still in Identifing state.. but status show send and received bytes and internet is working.. before i did the same, but had no more Internet.. i dunno what is not changed, or if is somehow cluncky.. I did it 1st time, i go not error during creation of bridge, but after that i removed it and tried it maybe 5 times, rebooted between no luck, until now.. I dont error during creation again, but it speed to working, at least for main machine, i have to test it in QEMU.
IntelLAN connection - now have Status - Enabled, Bridged.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

The connection won't show as working until you bring up the QEMU system.

For more configuration details you can check here: https://community.openvpn.net/openvpn/w ... TAPDrivers
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Ahh that is problem, thanks.
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

Few questions about Classic MacOS:
1) Its possible make working Classic MacOS working about part of 10.4, installation or its better install standalone machine?
2) I have this problem on real Mac, i install last classic 9.2 , but i find out that games are wanting earlie versio 9.1 or 9.0 its possible to uninstall 9.2 and install older version?
If yes, how to do it?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for Windows available

Post by Cat_7 »

Hi,

1. Yes, you can install Mac OS 9.2 as classic option in 10.4. You can even switch between 10.4 and 9.2 by using the startup disk utility if you install each on its own partition. I have no idea of the performance of classic though.
2. If you need a lower version, just install it on a different hard disk image. If you can do with 9.1 that would be best. 9.0 has some issues with mouse/keyboard. And for 9.0 to run you would need to install a copy with rom version 5.6 or above. (Mac OS 9.0 for the Cube works).

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

Running software in Classic under 10.4 is noticeably slower than booting into 9.2 directly, both on hardware and via QEMU. But it does work, and when speed isn't an issue it works quite well. Most of my System 6 through Mac OS 8 software runs quite well under Classic; some titles written since Mac OS 9 are too slow to be useful on my 2015 quad core system.
User avatar
ruthan
Tinkerer
Posts: 72
Joined: Mon Oct 31, 2016 11:56 pm
Location: Prague or space village in woods near of it

Re: Qemu package and guide for Windows available

Post by ruthan »

2. I need this to solve on real G5 iMac, it has only one HDD, so there not would be any additional emulation issues.
BTW is there some tool wo copy real Mac hdd to virtual image - when i connect it to PC? So far i found only R-Drive image somehow working, otherwise other tools seems dont like Apple partition scheme.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for Windows available

Post by adespoton »

I suggest booting the G5 off optical media and imaging the HDD there. The SATA cable will also support another HDD plugged in. This can be formatted FATX so you can later plug it in to a PC if you need to.
Post Reply