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 / 696
695  |  697
Subject: 
Trying to understand dynamic loading
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 24 Jan 2000 08:46:36 GMT
Viewed: 
1318 times
  
Hi!

Could anyone please explain a little how the dynamic loading facility works in
legOS? I don't seem to get at full grip on it... and I can't test it either,
right now...

Is there a loader on the RCX?
Can apps be downloaded to the RCX whithout reloading the kernel too?
How about having several apps running simultaneously?
Are the apps tailored to a specific kernel build (by means of GENLDS)?

In other words, when downloading the kernel, does it wait then for an app, more
or less like the original firmare?

thanks
/Vlad



Message has 4 Replies:
  Re: Trying to understand dynamic loading
 
(...) Yes (...) Yes (...) I have not tried it and the downloader task seams to be disabled while a program is running. I'll hope, i can find time to read the source :) (...) Aehhhhh yes, maybe, i think so. .) (...) Yes Greetings Carsten ps: (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx.legos)
  Re: Trying to understand dynamic loading
 
(...) i'm surely not the definitive person to answer this questions, so don't take the follwowing 100%'ly: Yes there is a loader. It's activated whenever a certain kind of packet arrives on LNP addressing port 0. The loading of the program requires (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx.legos)
  Re: Trying to understand dynamic loading
 
(...) You can't run multiple downloaded programs at once, but you can have several programs installed and pick which one to run. Each program can have many threads. (...) Yes, the compiled files depend on the reloc information for the kernel. (...) (...) (25 years ago, 24-Jan-00, to lugnet.robotics.rcx.legos)
  Re: Trying to understand dynamic loading
 
Thank you all for the help. Now I can see things much better! Now that the Windows version finally works, I will be able to experiment a little... A thought: IMHO, one of the things that should be very high on the "to do" list is documenting legOS. (...) (25 years ago, 25-Jan-00, to lugnet.robotics.rcx.legos)

6 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