[OpenBIOS] Found out why replacing '\r' with '\n' works
Programmingkid
programmingkidx at gmail.com
Tue Apr 19 05:21:51 CEST 2016
On Apr 18, 2016, at 11:00 PM, Segher Boessenkool wrote:
> On Mon, Apr 18, 2016 at 10:29:25AM -0400, Programmingkid wrote:
>> With my patch I saw mostly the same thing except there was also a message that said "this image is not for this platform". I think this proves that the '\r' to '\n' patch is needed.
>
> [ long lines ]
>
> You need at least four things:
> - You need to EVALUATE the boot script per line, not as one string;
How do you decide when to end a line?
> - CARRET should indeed be treated as end-of-line, for that;
Do you mean ^ ? I don't remember any carret characters in the script.
> - Return stack in interpret mode;
> - Structure words in interpret mode. That is at least
>
> AHEAD IF THEN BEGIN AGAIN UNTIL CASE ENDCASE DO ?DO LOOP +LOOP
I think it would be easier if I was sent a patch. The forth code for Mac OS 9.2 is located in a file called "Mac OS ROM". Just let me know if you need help obtaining this file.
More information about the OpenBIOS
mailing list