GREGloader test kernel
- C 94.5%
- Makefile 5.5%
| bin | ||
| include | ||
| source | ||
| .clangd | ||
| linker.ld | ||
| Makefile | ||
| readme.txt | ||
GREGloader Test Kernel
---
Made by jastahooman,
The entire program, except the GREG.h header file in the include directory, is released to the public domain.
This is a test program, intended as a test program for the GREGloader (currently PowerPC) bootloader. This is intended to be updated for the latest protocol of the bootloader.
How to run on a real Mac:
THIS ONLY RUNS ON NEW WORLD MACS!
1. Copy GREGloader and the compiled build of this in the same directory (please copy it to the root directory of your drive)
The drive should preferrably be HFS+ formatted
2. Call GREGloader 'gregloader', and the test kernel 'kernel'
3. Restart your system, hold CMD+OPTION+O+F to enter the Open Firmware console.
4. The dir command lists files on a directory of your drive. Usually the first partition on a Mac is 10.
Its' syntax is dir hd:[partition number],\
All subdirectories are written the same way as they are in Windows, using a backslash.
5. Once you find the kernel (in this example, 'hd:10,\gldr\gregloader'), run the boot command on it.
boot hd:10,\gldr\gregloader
6. Enjoy!
On QEMU:
1. Put GREGloader (compile it with bootinfo.txt), this kernel, and the bootinfo.txt file into a subdirectory named 'ppc' in an HFS+ ISO image
Call them the same way as they are on the Mac example.
2. Run PowerPC QEMU (preferrably '-M mac99') with the '-boot d' setting. Please mount your ISO as a '--cdrom'
3. Enjoy!