On Feb 5, 2016, at 1:08 PM, Mark Cave-Ayland wrote:
This series changes the injection of the fake copyright message such that it is included just before control is handled to the client. The motivation behind this is that older versions of the MacOS bootloader don't call the adler32 word which means the injection is omitted and boot fails.
The first patch is actually a build fix (and will likely be applied separately) while the rest of the patchset ensures that the message is only visible to the bootloader client as discussed on the mailing list.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Mark Cave-Ayland (7): pci.c: fix build for non-SPARC/PPC platforms string.fs: add functions to support ROT13 string encoding/decoding ppc: move fake copyright notice generation into a separate word ppc: use ROT13 encoding for fake copyright message ciface.fs: implement optional (exit) hook when returning control back to the interpreter ppc: add complimentary delete-fake-copyright word ppc: move fake copyright hooks from adler32 word
openbios-devel/arch/ppc/qemu/init.c | 3 +++ openbios-devel/arch/ppc/qemu/qemu.fs | 33 +++++++++++++++++++++++++-------- openbios-devel/drivers/pci.c | 9 +++++---- openbios-devel/forth/lib/string.fs | 28 ++++++++++++++++++++++++++++ openbios-devel/forth/system/ciface.fs | 8 ++++++++ 5 files changed, 69 insertions(+), 12 deletions(-)
-- 1.7.10.4
Just tried out this patch set. It applied and compiled just fine. It runs Mac OS 9.2 with the CR-LF patch applied. Mac OS 8.5 does boot but stops at an error message about RTAS being missing. Debian Linux boots just fine. Fedora seems ok (minus the other unrelated problems it has).
It now takes some work just to see that copyright message. :) Excellent job.