[OpenBIOS] [PATCH] interpreter.fs: allow evaluate to split words on CR as well as LF

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Jun 21 10:08:00 CEST 2015

On 21/06/15 00:07, Segher Boessenkool wrote:

> On Sat, Jun 20, 2015 at 08:41:28PM +0100, Mark Cave-Ayland wrote:
>> So the real problem here appears to be that the OS 9 bootscript is using
>> the rstack in order to store temporary variables.  Since the Forth
>> version of interpret is based in a loop which looks up each word in turn
>> and then runs execute, the manipulation of the rstack with r> confuses
>> the loop causing it to drop out early.
> You should use a separate (software) stack for rstack things in interpret
> mode (this is what other OF implementations do).

Okay. Don't suppose you could point me to some examples on how to do this?



More information about the OpenBIOS mailing list