| | Re: No Scout Support in RCXcc
|
|
(...) I was actually answering my own posted question on the matter. I had several emails asking for me to tell them what I find out. I figured everyone would want to know. I do not feel I was being negative about the matter and don't appreciate (...) (25 years ago, 10-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: No Scout Support in RCXcc
|
|
(...) Does RXCcc actually set the -T flag or use the default. If default then you can set the target with the environment variable. If you get really desperate you can hack nqc to ignore the -T flag and do what you want instead. I suggest more (...) (25 years ago, 9-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | No Scout Support in RCXcc
|
|
I've talked to the creator of RCXcc about Scout support. This is what he had to say; Mark Overmars wrote: "This is not planned for the near future." There you have it. Sadly, from what I can gather, all we need RCXcc to do is use the -SCOUT tag (...) (25 years ago, 9-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Datalog with NQC 2.2 a1
|
|
(...) Yes, if I remember correctly the user space was 6.1 blocks. Regardless of how much free ram the system had. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (25 years ago, 9-May-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.2 a1 available for public test
|
|
(...) 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
|
|
(...) 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)
|
|
| | 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 (25 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? (25 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 (...) (25 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 (...) (25 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 (25 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 (...) (25 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) (25 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 (...) (25 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 (...) (25 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. (...) (25 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 (...) (25 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 (...) (25 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 (...) (25 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 (...) (25 years ago, 6-May-00, to lugnet.robotics.rcx.nqc)
|