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 / 601 (-20)
  Re: NQC 2.2 a1 available for public test
 
(...) 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. (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: Datalog with NQC 2.2 a1
 
(...) The datalog appears to work fine, and you still have the same amount of program/datalog space. There was a ton of unused RAM in the older firmware, so Lego was able to pack a lot of new features in without reducing the user space. Dave Baum (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  updated nqc man page
 
I've made a preliminary man page for nqc 2.2. (URL) (Hastily converted to HTML at (URL).) It mentions 2.2.r1 -- my thinking is to target the man page at the actual releases, not the alpha.... Comments? Errors? (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)  
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Datalog with NQC 2.2 a1
 
Hi, has anybody tested the datalog with NQC 2.2 a1. Since the file firm0326.lgo is larger than the file firm0309.lgo, surely fewer ram will remain for storing the datalog. Is there any chance to get the number of free space? Ralf (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) Has anyone had any thoughts of porting NQC to BEOS? Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) 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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) 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 (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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. (...) (24 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 7-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) 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 (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) Won't work -- LugNET doesn't accept attachments. (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)  
 
  Re: NQC 2.2 a1 available for public test
 
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 (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 2.2 a1 available for public test
 
(...) Cool. As of rpm 3.0.3, the obsoletes tag accepts versions. (24 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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