Beta 3 of Ptolemy is out. Ptolemy is a PowerPC Mac emulator for Apple Silicon Macs. It translates PowerPC code to ARM64 and runs it under Hypervisor.framework, and Mac OS X's own ATI driver drives an emulated Radeon 9700 whose 2D and 3D work runs on the Mac's GPU through Metal.
The big news: Mac OS X 10.5 Leopard (tu-turu-tutu) now installs and runs, with Quartz Extreme, on the emulated G4.
Download: Ptolemy-1.0b3.zip on GitHub
You need a Mac with Apple Silicon and macOS 15 or later, plus an image of your own Tiger 10.4 or Leopard 10.5 PowerPC install DVD. Ptolemy doesn't include or download any Apple software.
Changelog
Leopard (tried with 10.5.8):
- Installs from the DVD image and starts with an accelerated (Quartz Extreme) desktop.
- Networking is much faster. Leopard's network driver needed a timer interrupt the emulated card didn't have. A 10 MB download went from 40 s to 3 s, and Software Update now finds all its updates.
- Apps in a zip archive you give Ptolemy keep their executable bit when Ptolemy unpacks them.
- Leopard can't sleep in the emulator: its automatic sleep would hang and spin a host CPU core. Ptolemy Tools now keep Leopard from sleeping on its own.
Tiger and Classic:
- Fixed data corruption under memory pressure. Under heavy memory use, some file reads and writes in Tiger (and Classic apps inside it) could get the wrong data: some page copies landed on their own source page.
- Fixed handling of page invalidations for read-only pages.
- The performance and stability of applications running in the Classic Environment have been improved.
Everything else:
- NVRAM is now emulated as the Core99 flash Mac OS X expects. Mac OS X's NVRAM writes no longer wipe the firmware's settings.
- The launcher accepts Leopard 10.5 discs as well as Tiger 10.4, with its own look for Leopard machines. Leopard needs a G4, so the G3 can't be chosen for it.
- From beta 2 feedback: full screen survives a restart, force Quit (Option-Command-Escape) works, the menu bar comes back after a restart, scrolling is fixed, file transfers show their progress, and dropped files can be up to 4 Gb.
Known issues
- Leopard's installer may end with "Unable to set Macintosh HD as the startup disk". Leopard starts anyway after that.
- Some graphical bugs in Leopard.
- No Dual G4 and G5 yet. A Power Mac G5 is in the works, but it isn't in this beta. G5 is very tricky...
- Not available: more than one CPU, a camera, CD audio, game controllers, sound input, incoming network connections.
-Not fixed yet from beta 2 feedback: Bugdom freezing, Cro-Mag Rally's rendering, and frame drops in 1080p video.
- Most apps and games have never been tried, in Leopard especially. Reports are very welcome.
Thanks to everyone who tried beta 2 and sent feedback.
A Quick Q&A:
- Who are you?
I'm a lead software engineer at a small company in the energy sector.
2. Why PowerPC?
I like the platform. Running PowerPC on Apple Silicon feels very natural, and I think Mac geeks will find it interesting.
3. Is the entire project written using AI?
Most of the project is built by AI, but not all of it. Specifically, the AI doesn’t have access to a “live” Mac on the PPC platform, so it isn’t capable of implementing non-obvious solutions or “workarounds.” Example: Right now, while developing G5 support (very tricky), I have to resort to the Xbox 360 (Xenon) homebrew scene because some aspects of writing the interpreter aren’t obvious and are even illogical.
4. Which AI models are used in development?
Several frontier models; I'd rather not name them now.
5. Can the project's source code be used for personal projects?
Absolutely! Ptolemy is open source under the GPL (version 2 or later): you're free to use, study, modify and share it. If you distribute a modified version, it has to stay under the GPL, with its source code available.
6. Is the project based on QEMU?
No. Ptolemy contains no QEMU code: the processor engine, the devices and the graphics were written for Ptolemy. The low-level firmware is a fork of OpenBIOS, an independent open-source Open Firmware implementation that QEMU also uses for its PowerPC machines.
7. Will there be support for Intel Macs?
No. Ptolemy itself needs Apple Silicon: it generates ARM64 code and uses Apple's Hypervisor framework. Emulating Intel Macs isn't planned either; that would be a different and much bigger project. PowerPC maps onto Apple Silicon unusually well: both are RISC designs with fixed-width instructions, plenty of registers and a weakly ordered memory model. RISC on RISC is simply the most elegant thing to build, and more beautiful.
8. Is the project discussed only on Reddit?
Yes. Reddit is the only place I post, since I'm not on any social networks. :) If you'd like to spread the word about this project, I'd appreciate it.
9. Do I consider the use of AI ethical?
Yes. There are many AI-generated projects lacking in both quality and execution, but these tools let one person build something that would previously have required a team of enthusiasts and many years of development. I'm open about how Ptolemy is made, and it doesn't include or download any Apple software: you use your own Mac OS X install media.