| | Sharing variables and using expressions (was Re: NQC 2.0 and some math questions
|
|
I have discovered a somewhat non-intuitive feature of NQC (in my version, at least, which is pre-2.0) The statement: var = (20 * var) / 21; gets compiled into the following: MUL var, 20 ; var = var * 20 DIV var, 21 ; var = var / 21 rather than the (...) (25 years ago, 19-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Announce: NQCIPC -- simple IPC for Not Quite C programs
|
|
[forwarding a copy to the .rcx.nqc newsgroup... --Todd] (...) (25 years ago, 19-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Turning send.c into a dll
|
|
Hi, Has anyone been able to compile send.c into a .dll file under Cygwin? Can you provide instructions on how to do that? Thanks Andy (25 years ago, 13-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.0.1, MacNQC 2.0 b2 released
|
|
The Keyspan adapters are still a bit of a grey area. I've had several reports of them working just fine, and one report of it not working at all. I'm still trying to isolate this problem (which affects NQC and presumably MacNQC). The tweak in MacNQC (...) (25 years ago, 7-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.0.1, MacNQC 2.0 b2 released
|
|
(...) Dave, Oops, I meant Keyspan, I see it does, I should have read before I wrote. thanks for the effort! DLC (25 years ago, 7-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.0.1, MacNQC 2.0 b2 released
|
|
(...) Dave, Does this one fix the bug when dealing with the Faralon USB to serial port adaptor on the newer Macs? just asking... DLC (25 years ago, 7-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 2.0.1, MacNQC 2.0 b2 released
|
|
Visit www.enteract.com/~dbaum/nqc for details. The NQC release fixes a couple of minor bugs. The MacNQC release pulls in the latest NQC compiler and tweaks a couple of things. Dave Baum (25 years ago, 7-Oct-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: Rcx Command Center version 3.0 available
|
|
(...) (you forgot to include the URL :-) (URL) (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | NQC 3.0 is where?
|
|
Mark's NQC page can be found at: (URL) for the great piece of software, -Phil (25 years ago, 4-Oct-99, to lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | Rcx Command Center version 3.0 available
|
|
Dear All, I am happy to announce that RCX Command Center version 3.0 is now available. The new version uses NQC 2.0 and is completely compatible with it (e.g. colorcoding, etc.) and contains a translator to translate NQC 1.x code to NQC 2.0. The (...) (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: Download problem
|
|
(...) I've already got some feedback that this fix doesn't quite work, so don't bother downloading it if you haven't already. I'll post again when I think I've got something that actually works. Dave (25 years ago, 4-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
I've looked at a couple of traces and it looks like the serial driver just stops receiving data after a certain point. One theory is that something happens (framing error or overflow), which then keeps the driver from relaying more information. I've (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) Can someone send me a trace of the verbose output for the failure case on an NT machine? nqc -v -d program.nqc >output Perhaps I can figure out what's going wrong with the serial port. As an aside, does anyone have a snippet of boiler-plate (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
"Mario Ferrari" <mario.ferrari@edis.it> wrote in message news:FJ0Jpv.Mvp@lugnet.com... (...) Mario, I can try to download your long program with my Windows 2000 RC2 machine. Send me a copy if you want.... Ciao Carlo (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) I received an e-mail from "Mike Kory" <kory@advancenet.net> that says: ---...--- Howdy, I downloaded Mario's big program successfully 3 times in a row on my Win98 machine using the command line interface. So it seems like a problem with NT or (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) Great! I found a Win95 machine and just performed some downloads. All of them completed with no problems. I compiled with NQC 2.0 and 1.x compatibility option. I'm not sure I understand the problems under NT, but at least now I can go on with (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) Mario, I just loaded it 6 times in a row without a single error... How? I'm scared but I have to say it... I tried to load the program in Windows 95. There must be something in NT that is preventing to load big programs. I tried to check the (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) Mario, I just loaded it 6 times in a row without a single error... How? I'm scared but I have to say it... I tried to load the program in Windows 95. There must be something in NT that is preventing to load big programs. I tried to check the (...) (25 years ago, 3-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) Thanks for your help. Hope you're wrong, otherwise I have to dramatically downsize my program and make it a lot more stupid :-) Some more info on the problem: - The memory has been cleared before any attempt. - I tried both NQC 1.3 and NQC 2.0 (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Download problem
|
|
(...) programs with the Spirit.OCX. I coded a huge program, with lots of tasks and subroutines, and long stretches of code. When I try to download it, I get the dots and then AsyncronBrickError returns Error 2048 (not 100% certain about the number) (...) (25 years ago, 2-Oct-99, to lugnet.robotics.rcx.nqc)
|