On Dec 13, 2012, at 3:07 PM, Mark Cave-Ayland wrote:
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.
Thanks. I figured out that the switch-arch script was the culprit. It was not identifying my system correctly.