To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 725
    RCX Bytecode compiler in Tcl —Peter Pletcher
   Greetings, I had become quickly frustrated by the limitations of the Mindstorms programming environment. Fueled by the RCX bytecode knowlege provided by Kekoa, I have recently written an RCX program interpreter/compiler in Tcl, a freely available (...) (25 years ago, 24-Nov-98, to lugnet.robotics)
   
        Re: RCX Bytecode compiler in Tcl —Laurent Demailly
   Hey, looks like you did a great job extending my initial implementation, but changing a couple of variables and proc naming does not allow you to appropriate everything without even giving due credit !!! Please re-read the License terms on my (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
   
        legOS —Bill Hollingsworth
     Hi, Does anyone use legOS? I read that there are possible risks to getting other ROM images. What are the risks? I am using a GNU/Linux machine. Is there anything else involved in using legOS other than getting GNU binutils, building a gcc cross (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
    
         Re: legOS —Kekoa Proudfoot
      (...) Did you get a ROM image? Did you disassemble the firmware? Even if you did, is there anything to forbid you from using that information to write new firmware? Not that I'm supplying you with an answer, but it seems to me that it's your RCX, (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
     
          Re: legOS —Bill Hollingsworth
       Hi, Thanks for your response. I have been reading your pages over the past few days. I do not have the RCX (yet), but I am very interested. I learned of it this weekend and have been reading the specs. I am as interested in playing with operating (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
      
           RE: legOS —Vadim Strizhevsky
       (...) For some Pilot <--> RCX information take a look at (URL) if you haven't yet. This honestly is quite lagging on progress, but I _have_ been working on it in my very limited spare time. Hopefully within a week or two I'll have some much more (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
      
           Re: legOS —John Donaldson
        Has anyone be able to unpack the LegOS file. I have the CYGNUS GCC on my Wintel system. Using GZIP I get this error "Invaled Compressed Data - Format Violation" I would like to try out LegOS and see if it will allow memory storage/retrieval. I have (...) (25 years ago, 24-Nov-98, to lugnet.robotics)
      
           Re: legOS —Bill Hollingsworth
       (...) Hi, You can get legOS at (URL) . There is a note that some people have a problem with the file after downloading. Instead of clicking on the file, right click and select save link. It will save as legOS-0.1.2.tgz . Then run tar -xzf (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
      
           Re: legOS —John Donaldson
        I have downloaded OK and since it is both tared and zip, you hve to first unzip it using "GZIP". GZIP is like Compress. Gzip (compress) -d legOS-0_1_2.tgz - uncompress the file tar -xzf legOS-0_1_2.t unarchive it. I am getting the error when I try (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
      
           Re: legOS —Bill Hollingsworth
       (...) Hi, When you run tar with the -xzf parameters, it first ungzips it then it untars it, all in the one command. The "z" is for gzip. The "x" is for extract the tar file. The "f" specifies the file. , __ _ _ , /|/ \o | | | | /| | | __/ | | | | (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
     
          Re: legOS —Dave Taira
      (...) I think he meants risks as in "I installed LegOS, and it got wedged, and I can't reinstall the official Lego stuff, so now I've got a very very expensive lego brick that does nothing". It seems to me that Lego's position would logically be "If (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
     
          Re: legOS —Kekoa Proudfoot
      (...) Such risks are unknown. You have to trust, in the case of LegOS, that Markus did a reasonable job. He in turn probably has some amount of trust that I did a reasonable job, at least with regards to some aspects. If you're not sure about (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
     
          Re: legOS —John Scott Kjellman
      Guys, Everyone seems to be missing one point: The RCX does have ROM code (this is what loads the firmware the first time, right?). If you were to "jam up" the firmware, you could just simply remove the batteries, let the firmware (which must be in (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
     
          Re: legOS —Kekoa Proudfoot
       (...) Er? Since when you rewrite the firmware, you can take full control of the i/o pins of the H8, it seems perfectly possible to me to drive inputs as outputs and fry something you didn't mean to fry... You have to be careful to make sure you (...) (25 years ago, 26-Nov-98, to lugnet.robotics)
     
          Re: legOS —CyberUser
      I managed to get my Cybermaster into a "vibrating" state with the motors humming and the unit shaking! (downloaded some commands while it was running) None of the buttons worked and it did not sound very healthy so I ripped the batteries out (...) (25 years ago, 26-Nov-98, to lugnet.robotics)
    
         Re: legOS —Ben Laurie
     (...) The only snags with legOS at the moment (that I'm aware of) are: a) You have to pull a battery out to clear the RAM b) It seems to have a problem with corrupting itself somewhere that I can't work out, and so far nor has Markus. It only shows (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
    
         legOS corruption —Bill Hollingsworth
     (...) Hi, In what way does it corrupt itself? Thanks, , __ _ _ , /|/ \o | | | | /| | | __/ | | | | |___| | \| |/ |/ | |\ |(__/|_/|__/|__/ | |/ It's a troublesome world. All the people who're in it are troubled with troubles almost every minute. You (...) (25 years ago, 26-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Ben Laurie
     (...) I have code that should just increment/decrement some counters and display them. The numbers get reset to strange values. This looks like stack or register corruption, but I haven't yet found where or why (yet). Wish I still did embedded (...) (25 years ago, 27-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Ralph Hempel
      Ben Laurie wrote in message <365E93F5.63ABFE6B@a....co.uk>... (...) I do embedded systems WITHOUT a logic analyser. You can do about 99% of what you need to with a monitor and an oscilloscope. The logic analyser (or emulator) is the big gun for the (...) (25 years ago, 27-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Fred Read
     (...) Agree with you totally there! However, I have always found it useful to have a debugging version of the kernel which allows you to use something like gdb to debug your embedded system through a serial port. (...) Sadly, the last embedded (...) (25 years ago, 27-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Ralph Hempel
       Fred Read wrote in message <365EA592.62DE2792@c...net.uk>... (...) That's what I meant by monitor - sorry I wasn't more clear... Cheers, Ralph Hempel - P.Eng ---...--- The train stops at the train station, The bus stops at the bus station, So why (...) (25 years ago, 27-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Ben Laurie
     (...) Yeah, yeah. I'm sure we've all got "I debugged that with no more than an LED and 3 inches of wire" stories, but only a fool would spurn a logic analyser when it was available. Cheers, Ben. (25 years ago, 28-Nov-98, to lugnet.robotics)
    
         Re: legOS corruption —Ralph Hempel
     Ben Laurie wrote in message <36606582.FFA56883@a....co.uk>... (...) Aha, the flame war has begun :-) I agree with you too Ben, only a fool would spurn the analyser, but if you instrument your project properly and really KNOW the system, you can (...) (25 years ago, 29-Nov-98, to lugnet.robotics)
   
        Re: RCX Bytecode compiler in Tcl —Peter Pletcher
   Laurent has a good point. While I did not use and modify his code, I did find it during my development and fear I have studied it too closely in places, without crediting him. I have removed access to my files from the server so we can discuss this. (25 years ago, 25-Nov-98, to lugnet.robotics)
   
        Re: RCX Bytecode compiler in Tcl —Peter Pletcher
   Let me correct myself here. I did end up using some of Laurent's communications code in the bytecode compiler, after having experimented with some different approaches. Honestly, I simply forgot to track down and credit the source, which is no (...) (25 years ago, 25-Nov-98, to lugnet.robotics)
 

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