To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1220
1219  |  1221
Subject: 
Re: Persistent globals
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 17 Jul 2000 04:39:14 GMT
Viewed: 
1301 times
  
On Mon, 17 Jul 2000, Michael J Ash wrote:
On Mon, 17 Jul 2000, Eddie C. Dost wrote:

legOS 0.2.3 or 0.2.4 will load .strings and .rodata sections just like the
.text section. With this you can achive persistent data by storing your
variables into the .strings section. There are some nice features in gcc
to help with this.
[snip great gobs of neat info]

Hope this helps,

Assuming it works, it helps a lot! Thanks much.

Mike, I don't really have time to test this tonight, but if you find that
it does work, please let me know- I'd love to add this to the HOWTO. It's
an interesting trick to know.
Luis

-----------------------------------------------------------------------

    "Summertime... and the living is easy...
    fish are jumping and the cotton is high...
    So hush, little baby, baby don't you cry."
-Ella

-----------------------------------------------------------------------



Message is in Reply To:
  Re: Persistent globals
 
(...) [snip great gobs of neat info] (...) Assuming it works, it helps a lot! Thanks much. -- "Do not go gentle into that good night. Rage, rage against the dying of the light." - Dylan Thomas Mike Ash - (URL), <mailto:mail@mikeash.com> (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)

12 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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