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 / *644 (-40)
  Re: useful battery program
 
(...) Yes, the current behavior of displaying the return address for the interrupt handler isn't very useful. :-) I was considering making it display battery voltage. It would be neat if some combination of VIEW and other buttons could be used to do (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: useful battery program
 
Ben Jackson schrieb: (...) Yes, this is a good idea. The system timer handler will probably become a C routine, anyway, as it does so many things now. It might as well check for low battery power and display it. I was thinking about a configuration (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
 
  PRGM button - am I missing something?
 
I may be missing something horribly simple, but I can't seem to get the PRGM button on the RCX to change the program being executed by legOS. For instance, if I dll foo.lx -p0 dll bar.lx -p1 I can only get bar.lx (or whatever I 'dll' last) to (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
 
  useful battery program
 
Here's a short program to display the battery voltage. The get_battery_mv() interface might be useful in the kernel itself. Would it be appropriate for the kernel to turn on the low battery indicator as well? The A/D converter that the RCX uses to (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
 
  RE: RCX "locking up" when trying to use dll
 
(...) Great story! When doing tedious diff compares, I usually find it in the last pair of files :-) Cheers, Ralph Hempel - P.Eng ---...--- The train stops at the train station, The bus stops at the bus station, So why am I sitting at a work (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) I built the H8/300 binutils-2.9.1 and gcc-2.95.2 and compiled the legOS kernel and it was locking up when downloading programs. People here said get egcs-1.1.2 -- it works! So I built egcs-1.1.2 and cd'd to legOS/boot, make clean/make and the (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) Actually I won't, since I just read memcpy.c and I see it's an __asm__ macro. I don't know if that's a valid __asm__ or not. In this case, if it's causing legOS pain, memcpy.c should just be replaced by memcpy.s with the correct assembly (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  RE: RCX "locking up" when trying to use dll
 
(...) <Snipped disassembly showing exactly what the bug is...> WOW! Good catch Ben! I have recently been looking through some disassembly on a totally unrelated topic and have found a bug in an unnamed commercial compiler. But of course I had a (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) It's actually in the library. I just found it. Here is a disassembly of a correct memcpy.o, as built by egcs-1.1.2: 00000000 <_memcpy>: 0: 0d 13 mov.w r1,r3 2: 09 23 add.w r2,r3 4: 1d 13 cmp.w r1,r3 6: 47 00 beq .0 (8) 8: 6c 1a mov.b @r1+,r2l (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
Ben Jackson schrieb: (...) Some parts of legOS, especially the interrupt handlers, are less portable than they should be - they use some assembly, or my attribute((rcx_interrupt)) which I haven't verified with 2.95.2. (...) Sounds like a problem (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS is really neat!
 
Ben Jackson schrieb: (...) I'm still looking for someone to write an R2D2 sound scheme ;-) Markus. (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) 1.1.2 (...) Ok, I got egcs-1.1.2 (plus patch) and rebuilt legOS.srec. Now it works. I did confirm that the compiler is tripping over something in the libs rather than the kernel (at first I only rebuilt the kernel sources and the problem was (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) unfortunately not. AFAIK, nobody has ever managed to compile a dll-capable legOS with gcc-2.95.x, neither with the rcx-compiler patch nor without. (...) Sure, this is exactly the gcc-2.95.2 symptom many people already experienced. There has (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  legOS is really neat!
 
I can't build my own legOS kernel, but I can build .lx files and load them with dll without any problem! It's really liberating to have REAL functions and a REAL C implementation to work with. Right now I'm working on a bot which tries to stay on a (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) I am seeing exactly the same thing when I built my own legOS.srec from scratch. The kernel seems to run fine (view, on/off, prgm, run buttons) until dll crashes it. (...) Auugh, I too am using gcc-2.95.2. If I use legOS.srec/.lds from the (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
 
  GPS for RCX
 
The standard RCX firmware with its serial protocol could not talk to a GPS, but LegOS could. With LegOS and a GPS we could make robots that could tell where they were. This would be way cool. I want a solar powered toy robot boat with GPS that can (...) (25 years ago, 10-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (no longer Failed) Getting LegOS 0.2.2 working on Windows
 
Way to go Paolo! So the only thing that needs to be changed is replace my patch to loader.c with yours? I'll put that onto arthurdent. Glad that it's finally solved. Now, i'll try to get Martin's LNP stuff working on windows. Peter BTW A happy new (...) (25 years ago, 10-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
(...) everything (...) Yahooo, again! Yep, your patch worked like a charm! I also got the AV error message, but recompiling the demo files again seemed to fix the problem. Go figure. Thanks for the help! -Jeff (25 years ago, 9-Jan-00, to lugnet.robotics.rcx.legos)
 
  dllx for liblnp+lnpd uploaded to arthurdent
 
Hello, i finally managed to get my old 486 back to live and build a little home network to test lnpd & liblnp in a networked environment. As expected ;-), it works perfectly -- with 2400 baud 8-(. Running with 4800 baud, i encountered some (...) (25 years ago, 7-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (no longer Failed) Getting LegOS 0.2.2 working on Windows
 
Salve Paolo, Yahoooo! It finally works. After applying the the patch file you sent me by e-mail, everything seems to work now. Thank you all for your great help. Ciao, Carsten (25 years ago, 6-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
(...) error (...) I think that it's the usual "\n" problem of *nix. (...) helloworld.lx (...) I will send the file in attach directly to your E-Mail address to check that all patches are in the right place. (...) I've just tried and it works... I (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  a problem of legOS-0.2.2 on Windows95
 
Hello. I have a problem of makefile. Perfectly I followed this instruction (URL) erased all tabs. But a result is following... BASH.EXE-2.02$ make --unix makefile:9: *** missing separator. Stop. Only this message is displayed. and line9 of (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  legOS Praise, and small request :)
 
I've just got V0.2.2 working, after at least a year of not having had time to play with it! I just wanted to say WOW :) It's come a long way, and I can't wait to start tinkering with it again! Fantastic work Markus! The small request? I use com2 for (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Program dlls
 
(...) there are 3 simple dll applications and a Makefile in the demo directory, which show how to compile a dll application. cheers, Martin (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
G'day, (...) When trying to apply the patch I get 3 rejects and a bad formated patch file error message. So I applied the patches by hand. Using your patches, I can compile everything without warning (good on yer!!!) and download legOS.srec as well (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: (Failed) Getting LegOS 0.2.2 working on Windows
 
I had the same problem. Under NT WS 4.0 and same instruction for LegOS 0.2.2. Now I've solved!!! I'm here to explain how. (...) Same problem. I've solved getting back the source to the original version (no more WINNT stuff). (...) I've read that you (...) (25 years ago, 5-Jan-00, to lugnet.robotics.rcx.legos)
 
  Program dlls
 
Is there any documentation on how to use the new program dll feature with LegOS, or will I just find that apparent once I install LegOS and look at the source? Joel Shafer joel@connect.net (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP goes Internet
 
No problem, Martin. Hope everyone enjoys this, and keeps in mind my offer of webspace for legOS-related projects. I look forward to testing out the code once I get back to school, and hope development continues apace. -Luis (...) ###...### Profanity (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP goes Internet
 
Just read my mail, and because there was a question where to find the stuff i looked at arthurdent, and -- Phantastic, Luis has managed to put everything in place. You will find it at: (URL) thanks, Luis ! I´ll now walk down into my dark and dirty (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Problems with legOS-0.2.2 on Windows 95
 
Hi again, The previous problems have been fixed by cleaning up the Makfiles from unnecessary Tabs and DOS file endings. And I also forgot to put the period in the end of the CINC line in Makefile.common. Thanks to Philip Brown and Larry Charlton. (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: RCX "locking up" when trying to use dll
 
(...) i experienced exactly the same behaviour when i tried to use gcc-2.95.2 as cross-compiler. If that's the compiler you're using: switch to egcs-1.1.2 Another circumstance under which this will happen: You compiled the binary against another (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
 
  LNP goes Internet
 
Hello, i just uploaded some stuff to Luis Villa´s machine, that might be usefull for LNP networkers. Here is an excerpt of the README: Hi there, this is my first version of liblnp and lnpd. WHAT´S IN THE BOX: lnpd: A LinuX daemon that allows (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.legos)
 
  RCX as TV remote?
 
Hi, all. I just got an RIS for Christmas, and I've been happily alternating between hacking on it and lurking here and at the various Lego sites on the web. Yippee, legos! Ahem. I've been interested in the possibilities of using my Palm IIIe as a (...) (25 years ago, 30-Dec-99, to lugnet.robotics.rcx.legos, lugnet.robotics.palm)
 
  Re: touch sensors - two at a time ?
 
(...) The problem you are having, is that the processor is much faster than a human being... The code will allways tend to see one sensor befor the other, because of the processors speed, unless you can hit them together to within a very few mSec. (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  RCX "locking up" when trying to use dll
 
Has anyone experienced the RCX "locking up" when trying to use dll? When I try to download a .lx file with dll, the brick freezes. It won't respond to any buttons and I have to take the batteries out and re-load the firmware. Any ideas why this is (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  Problems with legOS-0.2.2 on Windows 95
 
Hi, I followed the instructions on (URL) install legOS-0.2.2 on my Windows 95 PC. I downloaded all the files, installed the packages, and modified the makefiles. And was finally ready to compile, the results of the compilation is shown below... (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: touch sensors - two at a time ?
 
(...) It's not a race condition, strictly speaking. It's more of a data sampling error. If you run that it a tight loop you will test the sensors hundreds or thousands of times a second. In order to see a simultaneous press you'd have to hit them at (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  Re: touch sensors - two at a time ?
 
(...) If I understand your problem correctly, it has nothing to do with legOS specifically. Therefore, I will answer, even though I have no experience with legOS. The problem is, there is a very small amount of time where, while you're pushing on (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  touch sensors - two at a time ?
 
I'm trying to build a sensor apparatus at the front of my bot, and it works, mostly. It's made up as a pair of touch sensors. The idea being that if one is activated, it turns around slightly, to avoid the sensor, but if both are activated, we (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.legos)
 
  Solaris & legOS
 
Hi, I am new to legOS and I want to try to use solaris as the legOS platform. What is the current status of legOS running under Solaris?? Anyone successful with it?? So far, I got the latest version of GCC & binutils compiled and got legOS 0.2.3 (...) (25 years ago, 23-Dec-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