[OpenBIOS] Forthstrap issues

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Thu Dec 13 21:07:35 CET 2012


On 11/12/12 21:20, Programmingkid wrote:

> I am having issues with making forthstrap work. The program is trying to access a memory address that doesn't belong to it. I think the problem is with the calculation of the variable latest. This line in bootstrap.c is where it is calculated: 	
> *latest = target_ucell(pointer2cell(dict) + dicthead - sizeof(cell));
>
> My question is is the variable latest suppose to hold the address of a memory location? I can't access that value immediately after it is set.

I believe it should be the LFA of the current word being defined in the 
Forth dictionary.


HTH,

Mark.



More information about the OpenBIOS mailing list