[OpenBIOS] [PATCH] ppc: add Apple copyright hack to Adler-32
mark.cave-ayland at ilande.co.uk
Thu Jun 11 00:29:12 CEST 2015
On 10/06/15 15:19, Segher Boessenkool wrote:
> On Wed, Jun 10, 2015 at 11:03:45AM +0200, Alexander Graf wrote:
>>> + " Copyright 1983-2001 Apple Computer, Inc. THIS MESSAGE FOR COMPATIBILITY ONLY"
>> Segher suggested that the code doesn't verify the year part, so you could make this "Copyright not-by Apple Computer, Inc."
> Not exactly that, the "year part" is exactly nine chars; it's a
> memcmp(s, ".. ", 10) and a memcmp(s+19, " ..", 21).
> So my suggestion (on IRC?) was "Copyright OpenBIOS; Apple Computer, Inc. made
> Mac OS and that wants to see a string like this" or something like that.
I'm actually okay with the wording in the patch above (the above text
seems particularly long-winded). My personal opinion is that we should
try and leave it close to the original as possible in case other
versions of OS 9 and/or OS 8 check different parts of the copyright
string if someone is interested enough to try and boot them with QEMU ;)
More information about the OpenBIOS