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 / 3559
    Re: Strange RCX startup issues —Mark Riley
   (...) This was only a problem when using certain firmware downloaders. If you use firmdl3, then you should be fine. (...) As far as I can tell, I don't think there is any provision in BrickOS to call the constructors and destructors of globals & (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
   
        Global Objects was Strange RCX startup issues —Joseph Woolley
   Mark, This is an interesting issue. Initially, after reading your post, I was thinking that it would be easy to add this support to BrickOS. Of course, this is only partially correct. For NON Task Manager builds (therefore no Program manager), it is (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
   
        Re: Global Objects was Strange RCX startup issues —Joseph Woolley
   Doh! I think I just answered the question (of course it was After hitting send) Joseph Woolley wrote: [snip] > Also, I have a question (because of my limited knowledge of how the > __ctors and __dtors are managed): Would the two *for* loops in your (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
   
        Re: Global Objects was Strange RCX startup issues —Mark Riley
   (...) Yes. (...) Yes, I took a peek at the dll code and it looks like only one packet type would have to be extended to add this additional information. When not using the program manager (i.e. linking the user program directly to BrickOS), then (...) (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
   
        Re: Global Objects was Strange RCX startup issues —Joseph Woolley
     (...) [snipped] (...) I simply added ctor_size and dtor_size to the *image*, *lx* and *program* structures. This allows the program manager to calc the start and end of these segments. (...) It wasn't as hard as I had thought. I have the fix (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
    
         Re: Global Objects was Strange RCX startup issues —Michael Obenland
     (...) I opt for option. Not much may be to much in some cases. And I don't want to program in c++ anyway. Regards, Michael (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
    
         Re: Global Objects was Strange RCX startup issues —Joseph Woolley
      Understood. In this case, I am thinking that the option should be ON by default; such that a new, less experienced user would not encounter a problem; but an experienced user could turn the option off. // Joe (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
    
         Re: Global Objects was Strange RCX startup issues —Mark Riley
     (...) But, it perhaps should default to being enabled as this deficiency has caused some confusion in the past. Great work, Joe! Mark (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
   
        Direct Link (was Global Objects was Strange RCX startup issues) —Steve Hassenplug
   In lugnet.robotics.rcx.legos, Mark Riley wrote: ... (...) All right, this brings up an interesting question. I can use BrickOS well enough to make it do cool stuff, but I really don't know all the cool stuff BrickOS can do... If I read this (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos)
   
        Re: Direct Link (was Global Objects was Strange RCX startup issues) —Mark Riley
   (...) Ok, I'll take a shot at it: 1) Make a new directory in the root BrickOS directory called pgm. 2) Copy the files config.h and Makefile from the boot directory to the pgm directory. 3) Copy your C files to the pgm directory. 4) Edit config.h (in (...) (21 years ago, 13-Dec-03, to lugnet.robotics.rcx.legos)
   
        Re: Direct Link (was Global Objects was Strange RCX startup issues) —Steve Hassenplug
   (...) perfect! Step by step directions. Thanks. (...) So, now I can use the 'run' button to do other stuff, right? Or, for that matter, I could do other stuff with the On/Off button. After I turn it off (using the code listed), then, I can just turn (...) (21 years ago, 15-Dec-03, to lugnet.robotics.rcx.legos)
 

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