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 / 3594
3593  |  3595
Subject: 
Re: Direct Link (was Global Objects was Strange RCX startup issues)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 15 Dec 2003 14:58:49 GMT
Viewed: 
7853 times
  
In lugnet.robotics.rcx.legos, Mark Riley wrote:
> In lugnet.robotics.rcx.legos, Steve Hassenplug wrote:
> > If I read this correctly, it means I can write a single program, and build it as
> > part of the BrickOS kernal, so it is the only "program" that I can run, which
> > makes sense.
> > 
> > So, can someone help me figure out how to do that?
> 
> Ok, I'll take a shot at it:
> 
> 1) ...

perfect!  Step by step directions.  Thanks.

> 
> When you download your program it will immediately start running.
> Unfortunately, you will find that the On/Off button no longer works (and none of
> the other buttons will do anything, either).  This is because the buttons were
> managed by the no longer present Program Manager.

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 it back on
using the On/Off button, again, right?  And the program will start running right
away.

Will taking out the Program Manager have any effect on processing speed?  (even
a little?)

>       }
> 
>     // play game...
> 
>     }

play game?  What kind of a program do you think this is??

oh, wait.  yes, it's a game...  :)

> 
> HTH,

Yes, it does.  Thanks

Steve



Message is in Reply To:
  Re: Direct Link (was Global Objects was Strange RCX startup issues)
 
(...) 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 (...) (23 years ago, 13-Dec-03, to lugnet.robotics.rcx.legos)

12 Messages in This Thread:



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

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