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 / *2144 (-10)
  Re: floating point operation
 
(...) I suspect that when you look at the assembler code produced by the compiler you will find in the first instance it was able to optimize the FP multiply out of the inner loop since it didn't depend on the loop induction variable. Ie, it simply (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: floating point operation
 
(...) I should clarify that this is true for the first version only. For some reason, the compiler does not optimize the second version in the same way. Anyways, what I see in the disassembly for the first version is a loop to 100 inside a loop to (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: floating point operation
 
(...) Compiler optimization? At least, a disassembly of similar code showed me that that seemed to be the case. The compiler can see that t is not used. Try returning t, or copying t to a global before you return from main. That will make things (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  floating point operation
 
I did some experiments with floating point operations and I was surprised when I tried this: int main(){ long t1; int i,j; float t; t1 = sys_time; for(j=0; j<1000; j++){ t=0.06; for(i=0; i<100; i++){ t=1.7*t; } } lcd_int((sys_time - t1)/1000); (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  where to buy individual parts?
 
Hi, My school currently has a robotics course that uses the RIS kits and LegOS. We're trying to expand the size of our class, and consequently need additional parts (and replacements for missing/broken parts) I've looked around on the lego homepage (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Problems with the USB tower
 
Hi!Hary,I am sorry I replied to your mail from outside the lugnet list.Please reply to the list and I will make sure that I don't mess up. Regards, Rajendra (...) (23 years ago, 27-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Problems with the USB tower
 
Where'd you the get the patch for LegOS that can use the USB tower? - Hary (...) (23 years ago, 24-Nov-01, to lugnet.robotics.rcx.legos)
 
  Sound driver and implementation
 
I found the sound driver and implementation in old version (0.2.0 below) is different from current version, I am not famlair about music and sound generating concept, does anyone give me some explanation? Thanks a lot! Zhengrong (23 years ago, 20-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Problems with the USB tower
 
(...) Yes. (...) Currently there isn't, see my posting (URL) Jürgen Stuber <stuber@loria.fr> (URL) (23 years ago, 18-Nov-01, to lugnet.robotics.rcx.legos)
 
  Problems with the USB tower
 
Hi!Everyone, I was trying to download the kernel to the RCX but the errors I get are something like this: -When I do ./firmdl3 ../legOS.srec I get the message: ./firmdl3:tower not responding. -When I do ./firmdl3 --tty=usb ../legOS.srec I get: (...) (23 years ago, 17-Nov-01, 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