[OpenBIOS] Found out why replacing '\r' with '\n' works
Segher Boessenkool
segher at kernel.crashing.org
Tue Apr 19 05:00:15 CEST 2016
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;
- CARRET should indeed be treated as end-of-line, for that;
- 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
Segher
More information about the OpenBIOS
mailing list