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 / *124 (-40)
  PS
 
As an addendum to my light message, I checked direct-sensor.h, and the numbers there seem to work out just fine. Could this be a compiler problem on my part? Just another thought- Luis ###...### "They call the faithful to their knees to hear the (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  light values?
 
Another question before I call it a night- under LegOS 0.1.6, light-sensor values were restricted to the range 0-100. Under 0.1.7, I'm now getting a max value (pointed straight at a light bulb) of about 263, or once even 272. 255 would make sense to (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Updated Win32 toolchain
 
I've put an updated Windows 95/98/NT H8/300 cross-compiler, based on EGCS 1.1.2 (basically, the EGCS 1.1.2 release plus Mumit Kahn's Win32 patches, plus a couple of source hacks), on (URL) - this time, I've bundled in enough to compile without (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: floats
 
Thanks, Kekoa. (...) Well, as it appears I don't have much of an option, I'll stick to ints then :-) -Luis ###...### "They call the faithful to their knees to hear the softly spoken magic spell:" "There's no place like home... There's no place like (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: floats
 
(...) The errors you see are due to the fact that there is no hardware support for floating point. The compiler substitutes calls to the software equivalents, which do not exist; hence the linker errors you see. The math routines that do exist are (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  floats
 
When I try to use a float in my code, I get a compiler message somewhere along these lines: <begin error message> ../code/light-brait....t-brait.c: undefined reference to `__floatsisf' ../code/light-brait....t-brait.c: undefined reference to (...) (26 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) legOS has a software solution built-in - when you are ready to quit, hold down the on/off button and press the 'prog' button. Hope this helps! Cheers, Richard (26 years ago, 9-Apr-99, to lugnet.robotics.rcx.legos)
 
  Web based LegOs compiler for the underprivileged?
 
I recently downloaded a program for the palm pilot that displays up to date movie times and locations based from perl parsed data from movies@yahoo.com It is a great program, but getting and setting up Perl on my system was a real pain. Luckily (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: loading s/w
 
(...) I skipped something here. The assumption I made is that you want to load new custom firmware. If you want to load the Lego firmware, find the Firm0309.lgo file in your Mindstorms directory, and load that into the RCX exactly as you would (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) I belive LegOS breaks firmware deletion, in the sense that the "delete firmware" opcode is not supported by the IR routines, but I could be wrong about that. If you are using an AC adapter and no batteries, the easiest thing to do is to turn (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I observed the same phenomenon, only I was using gcc-2.8.1. I never did find out what was wrong, but I assumed it might have something to do with the new libgcc stuff which appeared in 0.1.7. I eventually got working by installing egcs-1.1.1. (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) Have you tried the firmdl program in the utils directory? You might need to recompile the executable manually, as on my system it gets compiled for the h8 :) And there's an environment variable that you can set RCXTTY or something - if you (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  xanim plays mod files
 
The new version of Xanim (xanim2801.tar.gz) will play the mod files on the Lego MindStorms CD. (URL) hosted LegOS embedded - cool! (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  loading s/w
 
After successfully downloading and running tm-and-ir.srec (Linux host), I cannot download to it any longer. Upon power up, the LCD displays LEGO!5 and I can select any other program slots. I could just re-load firmware in '95 but I don't want to (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
OK, I have some more information now. When I build 0.1.6 in my new environment it works fine. 0.1.7 and the snap exhibit the problem. The problem is that when using tm-and-ir, the 'view' button (which is supposed to send the message "Hello World") (...) (26 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) The helpful folks on the crossgcc mailing list told me that this error indicates that no libstdc was found, so no binary could be generated for the target (not host) platform. Since legOS provides a replacement library, there is no problem (...) (26 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
This site is quite useful: (URL) found it via ftp.cygnus.com/pub/crossgcc. I hope it helps you out. Cheers, Vic (...) LANGUAGES="c (...) that (...) (26 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
I got everything to build using egcs 1.1.2, but I am having problems with the tm-and-ir demo (after modifying it for the new execi syntax) which make me think maybe egcs is not generating correct code. I used the build instructions at (URL) did use (...) (26 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I did not have this problem. Sounds like Fortran. Did you 'make LANGUAGES="c c++"' or just 'make'? The latter makes the Fortran stuff, too. Remember that if you specify LANGUAGES when building, you should specify the same value when (...) (26 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I got the same message, and your reasoning about the content of the message sounds AOK by me. But then I did a make install, and that crudded out on me, with the message In file included from ../../../egcs-1.1.2/...com.c:198: (...) (26 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
I have. I got the same message. I assume it is part of the test suite. I just bit the bullet and did a "make install" anyway, and it works fine. I take it as saying that it cannot generate an executable for the host platform, which would be true, (...) (26 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) Has anyone successfully built the above target using egcs-1.1.2? My attempt failed in libiberty: ... configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [configure-target-libiberty] Error 1 (...) (26 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: cputs / argc,argv / snapshot
 
Oops. Did I say David? That's what you get for speaking on the phone and typing simultaneously. I meant Dan, of cause! (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  cputs / argc,argv / snapshot
 
Hi, I implemented a cleaner cputs(). Should work with all compilers, also 20% smaller. I went ahead and implemented argc/argv parameter passing for execi as well. This prompted a bugfix for memcpy, which I did create. As I was at it, I also merged (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: cputw
 
(...) By "doesn't work", I assume the patch applied successfully and your compiler barfed with some sort of error message or generated incorrect code. That would tend to (at least slightly) indicate that the problem that I was trying to fix may have (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  cputw
 
Maybe we'd better opt for unsigned char c=word&0xff; cputc_... cputc_... c=word>>8; cputc_... cputc_... instead - your patch doesn't work with my compiler version! This may generate better assembly code, too, as word is already in a register. (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS ...
 
Hi Mark, you might consider joining the legOS mailing list www.lugnet.com. We're currently working on network protocols for the IR device. POSIX compliance is very worthwile. I'm considering to make all devices files. Yes, even sensors. That way, we (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: motor speed
 
Hi Lou, that's great. Markus. (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Uploading *.prg To RCX
 
Adamski wrote in message ... (...) I've been out of the (this) loop lately. I don't recall; were .prg the compiled versions or the text file versions? (You can use Mind Control to interprete and upload text files. ) Eric Brok Visit LEGO ON MY MIND: (...) (26 years ago, 30-Mar-99, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  Passing arguments to task
 
Is there an accepted method of passing arguments to a task which is spawned with execi? I have a method which I have instrumented, but it is awkward. -- No honest business is promoted by spam with the possible exception of Hormel. (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Motor Speed Fix
 
(...) I've been busy. I have also added a patch for control of arbitrary motors. (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Motor Speed Fix
 
Oops! The URL is (URL) have also added a patch to fix cputw(). (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  Motor Speed Fix
 
I have a patch on my legOS page which fixes a problem with motor speed control in legOS-0.1.7. -- No honest business is promoted by spam with the possible exception of Hormel. (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.legos)
 
  I found out why I couldn't compile demo/first-c++
 
Make clean doesn't remove object files in lib/mint, lib/c++, or lib/c, and legOS is shipped with compiled objects in there. Markus' environment is somehow different from mine, and sensor.o was looking for a symbol (something to do with getting a (...) (26 years ago, 29-Mar-99, to lugnet.robotics.rcx.legos)
 
  Uploading *.prg To RCX
 
Is there a program that allows you to download the prg files created from the Lego CD-ROM to the RCX without loading the Lego CD program? Help Appreciated! Adamski _______ <adamski2000@adamski...rve.co.uk> (26 years ago, 28-Mar-99, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  legOS Network Protocol
 
Markus, I have been away for the last week or so. What have I missed in the discussion on LNP? I would like to get cracking on this. I have 2 or 3 guys over here who want to get into this too. -Jake Jacob S. Barrett jsbarrett@acm.org (26 years ago, 28-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) week ago. (26 years ago, 26-Mar-99, to lugnet.robotics.rcx.legos)
 
  gcc build instructions for linux
 
Linux Tools for Hitachi H8/300 Microprocessor Development (URL) came across this site today. It has good instructions for building the gcc h3000 compiler on Linux. I thought people here might also be interested in the crt0.s 'C' startup source. I (...) (26 years ago, 26-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: names
 
(...) Will you resist the temptation 2nd time around it TLGs lawyers decide that the 'LegOS' name is a possible infringement? :) Richard(OS) (26 years ago, 25-Mar-99, to lugnet.robotics.rcx.legos)
 
  names
 
Hello, some friends asked me today why I did resist the temptation of putting my name in the OS name. (It just never occurred to me.) However, there was somebody around who speaks Polish. He pointed out that Noga is Polish for leg. Totally caught me (...) (26 years ago, 25-Mar-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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