Build a Mac OS ROM file for your NewWorld Mac's System Folder
Go to file
Elliot Nunn 09bc6e3595 Restrict bootinfo to Mac mini
This is a development branch, and the prim-info patches in particular
are *only* for the Mac mini.
2018-04-08 19:21:47 +08:00
pef Initial commit 2018-02-18 02:28:46 +08:00
scripts Restrict bootinfo to Mac mini 2018-04-08 19:21:47 +08:00
.gitignore Initial commit 2018-02-18 02:28:46 +08:00
lzss.c Initial commit 2018-02-18 02:28:46 +08:00
Makefile Initial commit 2018-02-18 02:28:46 +08:00
parcel-layout.txt Initial commit 2018-02-18 02:28:46 +08:00
README.md Initial commit 2018-02-18 02:28:46 +08:00
rom Initial commit 2018-02-18 02:28:46 +08:00
trampoline.elf Initial commit 2018-02-18 02:28:46 +08:00

The NewWorld ROM

This repo is part of the CDG5 project. It builds version 9.6.1 of the parcels-based Mac OS ROM file, starting from a 4 MB Power Mac ROM (rom) and other PEF binaries (pef/). Use https://github.com/elliotnunn/powermac-rom to build your own ROM. A few bytes are different from the original file because (I think) the original Apple build tool failed to zero-initialize a buffer. The build result does not contain the System Enabler found in later Mac OS ROM versions.

Building

A basic Unix toolchain is required.

make tbxi

Patching

Some useful patches to the Open Firmware boot script can be enabled at the top of bootmake.py.

The parcel build script will preferentially load files with .patch appended to the name. This is helpful when using https://github.com/elliotnunn/patchpef to edit the PowerPC binaries under pef/. For example, to prevent the Power Manager from crashing while trying to load a PMU plugin on the Mac mini:

patchpef.py pef/nlib/NativePowerMgrLib{,.patch} Initialize+0x94 " li r3,0"