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 / *1219 (-5)
  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)
 
  Re: Persistent globals
 
(...) 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. Just (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) It is correct. Everytime you reload a program it re-initializes everything, including a specific program's memory, so all that kind of information is lost. I'm not sure that there is a way to duplicate that behavior, as things stand. The only (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Persistent globals
 
Whew, I've been writing here a lot. I guess now that things work, it's a lot more enjoyable! :) Anyway, here goes.... I recall that with older versions of legOS, global variables were only initialized once, when the program was downloaded. (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
Chris- Do you have a patch for that? I'd love to test this myself (not sure if I can- MB crash last week has me still under pretty limited capacity) and if it works reliably, integrate it into the actual source tree... Luis (...) ---...--- (...) (24 years ago, 15-Jul-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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