| | 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)
|