Build a Mac OS ROM file for your NewWorld Mac's System Folder
Go to file
Elliot Nunn 65240a0d60 Fix small typo in makefile 2018-08-02 23:30:37 +08:00
pef Initial commit 2018-05-21 15:43:35 +08:00
scripts Support older Trampolines 2018-05-21 15:43:48 +08:00
.gitignore Initial commit 2018-05-21 15:43:35 +08:00
Makefile Fix small typo in makefile 2018-08-02 23:30:37 +08:00
README.md Update the makefile to help build from other repos 2018-06-29 15:48:39 +08:00
lzss.c Initial commit 2018-05-21 15:43:35 +08:00
parcel-layout.txt Initial commit 2018-05-21 15:43:35 +08:00
rom Initial commit 2018-05-21 15:43:35 +08:00
trampoline.elf Initial commit 2018-05-21 15:43:35 +08:00

README.md

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.hqx

Instead of using the included 4 MB ROM, you can uncomment some code in the makefile to trigger a build from https://github.com/elliotnunn/powermac-rom

The makefile also helps you to test your build:

make test-qemu
make test-fw

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"