Subject:
|
Re: legOS ... really a stack question
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 2 Jan 1999 23:01:39 GMT
|
Viewed:
|
1333 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Ben Laurie <lego-robotics@crynwr.com> wrote:
> Hmmm ... good point. 0xf000 is memory mapped I/O for the motors, IIRC.
> Not sure whats above there, but I wouldn't be surprised to hear it isn't
> a good place to store things. I'd guess that setting the stack to 0xeffe
> should be equally good.
All off-chip accesses to f000 or higher are memory mapped to the motors.
Because accesses to addresses above fb7f are all on-chip or invalid, the
motors are effectively memory mapped to f000-fb7f.
> I'll have to see if that also cures my mysterious problems...
What are your symptoms again?
One problem I noticed with LegOS is that it does not zero the .bss
section, which I believe contains uninitialized global data.
-Kekoa
|
|
Message has 2 Replies: ![](/news/x.gif) | | Re: legOS ... really a stack question
|
| (...) Changing globals to statics causes crashes. Cheers, Ben. -- "My grandfather once told me that there are two kinds of people: those who work and those who take the credit. He told me to try to be in the first group; there was less competition (...) (25 years ago, 3-Jan-99, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | Re: legOS ... really a stack question
|
| (...) Hmmm ... good point. 0xf000 is memory mapped I/O for the motors, IIRC. Not sure whats above there, but I wouldn't be surprised to hear it isn't a good place to store things. I'd guess that setting the stack to 0xeffe should be equally good. (...) (25 years ago, 2-Jan-99, to lugnet.robotics)
|
10 Messages in This Thread: ![legOS ... really a stack question -Rick Kimball (2-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: legOS ... really a stack question -lego-robotics@crynwr.com (Ben Laurie) (2-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/246.gif) ![RE: legOS ... really a stack question -lego-robotics@crynwr.com (Allen Martin) (2-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![RE: legOS ... really a stack question -lego-robotics@crynwr.com (John A. Tamplin) (3-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: legOS ... really a stack question -lego-robotics@crynwr.com (Ben Laurie) (3-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: legOS ... really a stack question -Kekoa Proudfoot (4-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: legOS ... really a stack question -lego-robotics@crynwr.com (Ben Laurie) (5-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: legOS ... really a stack question -Kekoa Proudfoot (2-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: legOS ... really a stack question -lego-robotics@crynwr.com (John A. Tamplin) (3-Jan-99 to lugnet.robotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|