To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 578
    NQC 2.2 a1 available for public test —Dave Baum
   Preliminary NQC support for RCX 2.0 is now available in NQC version 2.2a1. Its in the beta test area of the NQC site: (URL) have been a lot of changes internal to the compiler itself, and RCX 2.0 support is only partially complete at the moment, but (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc) ! 
   
        Re: NQC 2.2 a1 available for public test —Matthew Miller
     (...) Linux build / RPMs available from (URL). I haven't updated the man page yet but will work on that soon. Q: would it be worthwhile to construct the alpha (and even beta?) RPMs such that they can coexist on the same machine with the stable (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)  
    
         Re: NQC 2.2 a1 available for public test —Jan-Albert van Ree
     Matthew Miller schreef: (...) Excellent work! With this release the firmware download finally works for me without errors :-) (...) It might be nice indeed, but with installing NQC 2.2 final it would have be able to delete both 2.1r2 and 2.2a (not (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Matthew Miller
     (...) There is an "obsoletes" tag I could set on the final release. (So nqc final obsoletes nqc-alpha and nqc-beta.) But I need to check that it works with versions -- I wouldn't want nqc final 2.2 to obsolete nqc-alpha 2.3. (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Matthew Miller
     (...) Cool. As of rpm 3.0.3, the obsoletes tag accepts versions. (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Jan-Albert van Ree
      Matthew Miller schreef: (...) Great :-) BTW was something changed in the NQC 2.2a1 release that downloading firmware all of the sudden DOES work correct? In 2.1r2 when using -fastfirm it hung after a few blocks. Using -firmware worked OK, the (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
     
          Re: NQC 2.2 a1 available for public test —Dave Baum
      (...) There were three changes with respect to firmware downloading: 1) I now only checksum through address 0xcc00 to match behavior in the ROM. This was interfering with downloading large firmware files (such as the 2.0 firmware). 2) A bug in fast (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Matthew Miller
     Ok. New nqc-alpha RPMs on (URL). If you downloaded the older release, I suggest re-installing the stable version and then adding the new alpha package. PS -- I'd appreciate reports of systems on which these RPMs work. I just tried it on Mandrake (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)  
   
        Re: NQC 2.2 a1 available for public test —Ralf Krause
     Hi, thank you Dave for the new version 2.2 a1 of NQC. I 've done some test because I want to display some messages. Have a look to the attached test1.nqc. Ralf (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Matthew Miller
      (...) Won't work -- LugNET doesn't accept attachments. (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Ralf Krause
     Hi, that 's right, global variables could be displayed but not the local ones. Therefore I 've another test file which uses a global variable i and a local variable k. If you run the program on your rcx you would see first the global i that is 100. (...) (25 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Dave Baum
     (...) Lego's concept of 'local' variables are variables that are context swapped per task, as opposed to the normal variables that are not context swapped (all tasks share the same vars). Thus, 'local' RCX variables are local to the task. This is a (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —Ralf Krause
     Hi, thank you Dave for the new version 2.2 a1 of NQC. I 've done some tests because I want to display some messages. Have a look to the attached test1.nqc. It seems that there was something wrong with my last mail. I try it once more. Now there (...) (25 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Dennis Williamson
     You have to include the code as part of the main message (paste in the text). Lugnet doesn't allow _any_ attachments. Dennis (...) -- Dennis Williamson - Certified Y2K Complacent Bad News: The next millenium starts on a Monday. Good News: You get (...) (25 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —Ralf Krause
     Hi, oh I did a another mistake. I 've sent the wrong file. And I tried to send it via attachment .... with no chance ... I 'm sorry. This version is a silly one. I 'm setting a variable but don't use it in the display command. This is purely the (...) (25 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Dave Baum
     (...) I'm a bit confused...is there a bug I'm supposed to be looking at, or are you posting the code just as an example of using the display. If the former, could you let me know what you expected and what actually happened? Dave Baum p.s. No need (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Ralf Krause
     Hi Dave, no there is no mistake in NQC. Sorry if I confused you. I 've found a mistake in my samples #5 to #8. I wanted to show that you can use a variable i as a parameter with the function Display(i, 0). My mistake was that I copied the code from (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —Dean Husby
     (...) Has anyone had any thoughts of porting NQC to BEOS? Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
    
         Re: NQC 2.2 a1 available for public test —Dave Baum
     (...) I got e-mail a while back from mikest@corp.home.net who ported an older version of NQC to BEOS. I think the only change was a new serial port class (PSerial_beos.cpp) and some tweaks to the Makefile. You may want to contact him. If anybody (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —James Pritchard
   There is still a problem when nqc uses the first three global variables if you also want to use a counter. The current solution is to make the first int lines reflect the fact that they will be used as counters. #Define COUNTER_1 0 int count1 int (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —James Pritchard
     Working code using a counter. /* * lstop8.nqc - Line and Wall avoider * * Copyright (C) 2000 James Pritchard * * Date: 08-May 2000 * * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
   
        Re: NQC 2.2 a1 available for public test —Dave Baum
   (...) I completely missed the fact that counters were overlapped with global vars. I'll have to come up with a good mechanism for allocating these. I think the scout handles things differently where the counters are actually unique from variables. (...) (25 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 

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