Salesforce is a project to turn a Freescale MPC8313E-RDB development board into a Macintosh capable of running Mac OS 9.2.2. The board’s e300 processor is a PowerPC 603e relative, but it lacks Apple’s custom I/O chips. The key insight is that a New World Mac’s operating system relies heavily on Open Firmware’s description of the hardware and on drivers matching that description, rather than on a particular Apple motherboard. By tracing QEMU’s Mac emulation, the builder captured the 2,118 firmware exchanges made during startup and created a minimal Open Firmware implementation that presents the expected device tree. Mac OS then booted unmodified, with Apple’s NanoKernel, drivers, and Finder running natively on the Freescale chip.
That software-only success established compatibility, but the goal was to recreate the missing Mac I/O hardware rather than simulate it in software. A PCI FPGA card confirmed that the board could enumerate and receive interrupts from an FPGA, leading to Salesforce, a custom PCI card built around an Artix-7. The FPGA implements Mac-style interrupt, DMA, timer, storage, USB, audio, and video functions; peripherals include VGA, audio jacks, SATA, USB ports, and an ESP32-C6 presented as an AirPort card. NVRAM, a battery-backed clock, and flash for firmware and the FPGA image complete the design. The project demonstrates how careful firmware emulation and a custom hardware controller can make a modern, non-Apple board behave like a late-1990s Mac.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.