| | 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)
|
|
| | Re: NQC 2.2 a1 available for public test
|
|
(...) 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
|
|
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
|
|
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
|
|
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
|
|
(...) 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
|
|
(...) 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 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
|
|
(...) 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)
|
|
| | NQC 2.2 a1 available for public test
|
|
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: Alternatives for NQC Event Support
|
|
(...) I'm sorry its been taking so long. I was right in the middle of an overhaul to the NQC code generation classes when RCX 2.0 firmware was posted. This meant I had to finish the re-design before moving onto the simpler matter of an RCX 2.0 API. (...) (25 years ago, 4-May-00, to lugnet.robotics.rcx.nqc)
|