For those who remember the days of yore, C is the default drive for PCs, D is the default for the CD-Rom like a PC. After that, the -boot flag declares the boot drive. This seems to be the default even in Mac QEMU. Next, we're declaring PC bios with -L pc-bios, I'm unsure if this is necessary. The first command is the qemu core emulator, you can use things like 64-bit x86 CPU qemu-system-x86_64 or a 32-bit CPU qemu-system-i386, but we're using a PPC, so we are using qemu-system-ppc. Let's break this down so it's not just magic. qemu-system-ppc -L pc-bios -boot d -M mac99 -m 512 -hda myimage.img -cdrom path/to/disk/image Now that we have a blank hard disk image, we're ready to go. qemu-img create -f qcow2 myimage.img 2G Step 3: Launching the emulated computer and the tricky part: Formatting the HDD If you'd like more space, change the size of the simulated HDD. You can get away with much less for OS X OS 9.
You can specify a route, but I just used the default pathing, the 2G = 2 GB below. The rest of the steps do not need any specification for M1 vs.
Apple Silicon arch -x86_64 brew install qemu x86 Intel Macs brew install qemu Step 2: Create a disk image You'll need to install the x86 version of QEMU for the Apple silicon macs first. This is the only step where Apple Silicon and Intel Macs differ.
I've gotten OS 10.0 and nearly gotten Windows 10 working on my M1. For the sake of brevity, I'm going to skip over installing Homebrew on an Apple M1, but you'll want to use the arch -x86_64 method, which requires prepending. I was able to play Sim City 2000 on Mac OS 9.2 at a fairly high resolution. It's surprsingly very usable but the usefulness is going to be limited. I encountered very little resistance, which surprised me as I haven't seen/read anyone trying this route. Thus far, the community has succeeded in getting QEMU to install the ARM version Windows, so I decided to do the more silly path and get PPC and X86 working on Apple Silicon. Now, this post wouldn't be very exciting if I tried this on my Mac Pro, but I decided to try it on my MacBook M1. Still, in this example, I'm using Homebrew, a package manager for macOS/OSX that allows you to install software via the CLI and manage easily.
There are alternate versions and different ways to install it. It's pretty powerful, free, and has a macOS port. Unlike VMWare, it's able to both virtualize CPUs and emulate various CPU instruction sets. I was unable to get the front end to execute at all on Debian 9 on Intel.QEMU is an open-source emulator for virtualizing computers. And the Linux implementation of AMS does not yet support keyboard input.
While AMS works on Mac OS X up to version 10.12 - both on Intel and PowerPC versions of the operating system - the code currently won't compile on MacOS Mojave. Unfortunately, there's still a lot of work to be done. Applications are launched from the command line for now and are executed by the emulation software, which interprets the system and firmware calls. A version of the project, downloadable from Github, includes a "Welcome" screen application (a sort of Mac OS "hello world"), Mac Tic-Tac-Toe, and an animation of NyanCat. He showed me an early attempt at getting the game LoadRunner to work with the emulator - it's not yet interactive. I got a demo of AMS from Juran at Shmoocon in Washington, DC, this past weekend.
But AMS uses a set of software libraries that allow old Mac applications to launch right within the operating environment of the host device, without needing to have a full virtual hardware and operating system instance behind them. Other emulators out there for 64000 Mac applications such as Basilisk II require a copy of MacOS installation media - such as install CDs from Mac OS 7.5 or Mac OS 8. Advanced Mac Substitute is an effort by long-time Mac hacker Josh Juran to make it possible to run old Mac OS software (up to Mac OS 6) without a need for an Apple ROM or system software.
An anonymous reader quotes a report from Ars Technica, written by Sean Gallagher: Want to be able to run classic Mac OS applications compiled for the Motorola 68000 series of processors on your ever-so-modern Mac OS X machine? Or maybe you'd rather run them on a Raspberry Pi, or an Android device for that matter? There's an emulation project that's trying to achieve just that: Advanced Mac Substitute (AMS).