To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2167
2166  |  2168
Subject: 
RE: legOS ... really a stack question
Newsgroups: 
lugnet.robotics
Date: 
Sat, 2 Jan 1999 23:38:31 GMT
Original-From: 
Allen Martin <arm@rendition.com^spamcake^>
Viewed: 
1527 times
  
One problem I noticed with LegOS is that it does not zero the .bss
section, which I believe contains uninitialized global data.

.bss also contains global data initialized to 0, which is even worse if it's
not cleared.

-Allen

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  RE: legOS ... really a stack question
 
(...) Good point, I will add the code to clear it to my crt0.s before calling constructors: mov.w #__bss,r2 mov.w #__end,r3 sub.b r0l,r0l cmp.w r3,r2 bhs .Lbss_done .Lmore_bss: mov.b r0l,@r2 adds #1,r2 cmp.w r3,r2 blo .Lmore_bss .Lbss_done: ... John (...) (26 years ago, 3-Jan-99, to lugnet.robotics)

Message is in Reply To:
  Re: legOS ... really a stack question
 
(...) 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. (...) What are your symptoms again? One (...) (26 years ago, 2-Jan-99, to lugnet.robotics)

10 Messages in This Thread:




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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR