To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *2895 (-20)
  patch 1/3
 
weird, i posted this an hour ago but nothing happened... i'll try posting in parts... patch util/dll-src/rcxtty.c 126c126 < dcb.Parity = 0; // 0-4=no,odd,even,mark,space --- (...) patch kernel/lnp-logical.c 212c212 < S_MR =SMR_P_NONE; --- (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
here are the diffs, apply against 0.2.4... um, not sure how to do multi-file diffs, so there are 5 files here; note that dll.exe needs to be rebuilt to handle the changed parity... still looking in the kernel for a clean place to stick in timeout (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Can now use gcc 2.95.2 for legOS
 
Hi all. Well, I finally got around to checking out the problem with compiling legos with gcc 2.95.2. And the good news is, it's not a bug with gcc!! The problem is the in-line assembly in memcpy.c (also in memset.c). If you apply the patch at (URL) (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx)
 
  Re: Persistent globals
 
(...) <example code> This worked great for us using legOS 0.2.4. Thanks Eddie! Regards Tobias (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
Sweet. I've got a remote, and I'd love to be able to play with it- would make the robot look much more interesting to my little brother and sister :) Luis (...) ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  prg file converter
 
Hello all, I have some .prg files, compatible with the Lego Mindstorm software that I would like to convert to NQC compatible files, is it possible?? Thanks, Jim (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Seeking Programming Assistance
 
However I would prefer them to use robots for mine clearing than humans! See > > supposed to detect "mines" Neil "Pavel Petrovic" <petrovic@idi.ntnu.no> wrote in message news:3972FA29.800201...ntnu.no... (...) we are (...) written a (...) from Mr (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Military (was Seeking Programming Assistance)
 
(...) Its a pity that the world is such that military force is required. There's no shortage of people who will use violence to take your freedoms or life. Defending those freedoms requires a willingness to use force. Note I say "willingness"...that (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: LegOS + Lego Remote
 
Sure, I'll clean it up and post the diffs tomorrow... chris (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Seeking Programming Assistance
 
It's a pitty that LEGO is used by military, i.e. by people who are trained to kill other people... Pavel. (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Persistent globals
 
(...) Mike, I don't really have time to test this tonight, but if you find that it does work, please let me know- I'd love to add this to the HOWTO. It's an interesting trick to know. Luis ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)
 
  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)
 
  Re: LegOS + Lego Remote
 
um, never mind... i just set parity to odd for both the LegOS kernel and compiled a new version of dll.exe with odd parity, and it worked fine... have a callback that works for the remote in unofficial 0.2.4 now... a bit unexpected though, with the (...) (24 years ago, 15-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Strange crash (and possible fix)
 
(...) Well, it'd be nice to know, certainly, but I'm not going to look into it too hard. The fact is that it works wonderfully now. I compiled and downlaoded probably twenty versions of my program over the past two hours or so, and not a single one (...) (24 years ago, 14-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Strange crash (and possible fix)
 
Mike- I wish I knew. I have frequently seen the same kinds of "random" changes produce better results. For example, I had one piece of code that used a switch statement- 19 statements in all. I added a 20th and poof... it froze. I have no idea what (...) (24 years ago, 14-Jul-00, to lugnet.robotics.rcx.legos)
 
  Strange crash (and possible fix)
 
I had a strange experience today. My program likes to crash a lot. I accept this as a fact of life now; part of it is the difficulty in debugging it, and part seems to be the beta-ness of legOS. However, today, I tracked down one particularly evil (...) (24 years ago, 14-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