dingusppc/zdocs/openfirmware.md

10 lines
694 B
Markdown
Raw Normal View History

2020-03-07 22:40:46 +00:00
OpenFirmware is a standard to defined a firmware's interfaces. It primarily uses the Forth programming language. It's available on most PCI Power Macs and all New World Power Macs by holding Command, Option, O, and F together during bootup.
The bootpath for Old World Macs is usually set to "/AAPL,ROM". New World Macs specify "\\:tbxi" as the boot path instead.
2020-03-01 17:58:09 +00:00
When using an Old World PCI Power Mac, it gets relocated from 0xFF800000 to 0x00400000 during boot-up, then instruction and data translations are enabled.
2020-03-07 22:40:46 +00:00
There is also a section of NVRAM reserved for boot-up code called "NVRAMRC", ran each time the system is booted up.
2020-03-01 17:58:09 +00:00
It gets compiled to native PowerPC code during boot-up.