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 / 324
323  |  325
Subject: 
application termination
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 16 Jul 1999 06:37:26 GMT
Viewed: 
1422 times
  
Hi,

what is the magic in LegOS to quit the application so that
it can be restarted again?
In some demos it works,  but the same mechanism (i.e. 1 stopper
process that kills the other on [run] button) quits the program,
but the display says some number on the right
(2, or 3 - what is it?) and the program does not start
again on [run], the rcx does not turn off on [on-off] button.
I try to do the initialization and shutdown, but I'm confused
about the ds_init/shutdown and dm_init/shutdown,
seems like it's a bit different than the HOWTO describes.
Is anybody able to download a new program (firmware) without
removing the bateries ('delete firmware fails' message)?

Pavel.

--
Pavel Petrovic, ppetrovic@acm.org (petrovic@ifi.ntnu.no)
http://www.ifi.ntnu.no/~petrovic/
phd student IDI NTNU Trondheim Norway, tel. +47-7359 1717.



Message is in Reply To:
  Re: random numbers
 
(...) The firmware supports random numbers using some method that whose name I can't remember at the moment. Something about feedback. Anyways, the algorithm there boils down to: int seed; int rand (void) { char bit; bit = (seed & (1 << 1)) >> 1; (...) (25 years ago, 16-Jul-99, to lugnet.robotics.rcx.legos)

9 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