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 (-20)
  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)
 
  Re: How do I use WinLNP?
 
Tom, I'm struggling with WinLNP too. Tried to compile the LegoStudio prog in VC++6, but keeps hanging up. Don't think my old laptop is up to VC++6, or maybe I need the patch that is mentioned in other messages. In the meantime I have been using the (...) (23 years ago, 16-Nov-01, to lugnet.robotics.rcx.legos)
 
  How do I use WinLNP?
 
Hi, Is there any instructions on WinLNP out there besides the ones on the homepage. I am kind of confused by them. Also, can anyone direct me to RCX talker? I have heard it mentioned a few times and it sounds like it is all I need, however I cannot (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  compile multiple source files
 
Hello i see this post: (URL) to compile multiple source files, but i don't understand the changes to take to do, i see two parts: Makefile Fragment and Makefile.user patch, but My "Makefile.user" look a little bit diferent. I'm running legOS-0.2.4 (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Still having problems with helloworld.c
 
Thanks John! I will see if that works.I had almost given up and Mike was helping me set up the whole thing again alongwith the USB patch. Regards, Rajendra (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: Still having problems with helloworld.c
 
Hi, I had the same problem you did and traced it back to a faulty line in loader.c (which contains makelx's main()). In revision 1.3 and earlier of that file you can find the following toward the end of the file: if(argc-optind<3 || lx.text_size==0) (...) (23 years ago, 15-Nov-01, to lugnet.robotics.rcx.legos)
 
  Battery eliminator?
 
Hi, I was looking at a webpage about a battery eliminator for a 1.5 rcx. It had a transformer and a voltage regulator and some dowel lengths to fit into the battery compartment. Can someone give me the webpage(or something similar) for this, I can't (...) (23 years ago, 14-Nov-01, to lugnet.robotics.rcx.legos)
 
  Still having problems with helloworld.c
 
Hi! I tried changing the path for KERNEL in makefile from Demos directory and giving the path for legOS there.Now I get a different message when I do 'make'.It says 'No rule to make target'?!Now is there any way I could solve this.If I download the (...) (23 years ago, 8-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS USB Support (for RCX 2.0)
 
I would love a copy of your USB source! So far I haven't had any luck communicating with the USB tower using my own code, so any help you can give me would be greatly appreciated. Do you have it posted somewhere or would you prefer to email it to me (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I find my kernel size?
 
(...) As you might have thought: No it is not. Full name: Motorola S-Record Format The S-record standard is as follows: S<type><length><addr...<checksum> S4<length><address><...<checksum> Where: type is the record type. Where: 0 starting record (...) (23 years ago, 7-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: How do I find my kernel size?
 
You can comment CONF_LNP, this can save many memory. Zhengrong (...) (23 years ago, 7-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