[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbios
Subject:    Re: [OpenBIOS] Forthstrap issues
From:       Programmingkid <programmingkidx () gmail ! com>
Date:       2012-12-13 20:08:30
Message-ID: F6003871-FA7A-4871-A7D1-87FB8FD35FC3 () gmail ! com
[Download RAW message or body]


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. 
-- 
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic