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 / *327 (-20)
  Re: NQC wishlist
 
I was jut wondering, has anybody tried to implement a "better RCX-code"? It must be possible to write something very similar to RCX-code in LegOS, only faster and implementing the "missing" array structures and more variables. Mayby compatible with (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  NQC wish
 
Hello, It would be great to have NCQ doing dead code suppression before downloading it to the RCX. Any function, task,... not referenced in the program should not be compiled and sent to the RCX. It would help to save memory and download time don't (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) Implementation of ## gets pretty nasty - at least within the current pre-processor design. I'll look at the C spec again, but I'm pretty sure ## forces a re-tokenization. In the current design of NQC, tokenization happens before (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) Great! (...) Vlad, that's funny. Immediately after seeing Dave's reply, I decided to make such macros myself. But I got disturbed and couldn't do it today anymore. Since you seem to have done it already, I'll just wait to see yours :-) (...) (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) I am sure more people than me are looking forward to that! About the "smaller" integer variables, I have put together a couple of macros that simulate an array of packed "small" integers, any bit size works, but power-of-2 sizes do not waste (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) Thank you Mark for your great tool. Several things could improve Rcx CC. - An indentation of selected lines with Tab or Shift+Tab like in Visual C++ editor. When a lines are selected, Tab inserts tabs at the beginning of the lines, and (...) (25 years ago, 4-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
A switch statment will be added pretty soon. The variable stuff is on hold for the moment. I'm holding off on the booleans until I work out a better strategy for variable allocation and code generation in general. Dave (...) for X-mas), (...) nested (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC wishlist
 
(...) Hi Dave, I'm using your wonderful tool since just a week now (bought my first RIS for X-mas), and I am already seriously running out of variables ... :-) So, I think your idea of variable types of less than 16 bits such as booles and shorts is (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) Oops, that's right. I completely overlooked this. Thanks for the hint. So, my previous suggestion is quite pointless. Please ignore it. Sorry. Uwe (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
You can also choose "show code/error listing" under the compile menu to get the variable assignments. Mike Uwe Denzer <Uwe.Denzer@munich.netsurf.de> wrote in message news:386F928E.984386...surf.de... (...) like to (...) up in (...) and I'd (...) (...) (25 years ago, 3-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) After spending another two nights with NQC & RcxCC (:-), another wish came up in my mind quite clearly: I use the "Watching the RCX" tool window quite frequently for debugging, and I'd find it great if it could display the *names* of the (...) (25 years ago, 2-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
How about a more generalized interface to the pbForth system. Although Ralph Hempel believes this to be unnecessary, I find the RcxCC interface quite appealing. Harald Striepe (25 years ago, 2-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) Thanks, Mark, for providing this wonderful environment. I would like to echo a previous request for remembering last-used source-file paths between sessions. Also, how about letting RccxCC "host" alternative line editors? (25 years ago, 1-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: What should be in the next version of RcxCC
 
(...) First of all, thanks a lot for making RcxCC. I'm a newbie (owning my RIS since X-mas), but I already love NQC and RcxCC. There's just one little feature that I missed: remembering the last-used path for source files between sessions. Ah yes, (...) (25 years ago, 1-Jan-00, to lugnet.robotics.rcx.nqc)
 
  RcxCC with NQC 2.1
 
Hi, does anybody know why RcxCC can't spawn NQC 2.1 b1? Is there a trick to do it (other than waiting for the next version of RcxCC)? Uwe (25 years ago, 1-Jan-00, to lugnet.robotics.rcx.nqc)
 
  Re: Can't open serial port in Linux
 
(...) Currently there isn't any notion of an "error code" from the serial port class - opening the serial port just returns true/fals. I'm wary of adding error codes here because they'd need to be added in a portable manner (and across the Unix, (...) (25 years ago, 30-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Can't open serial port in Linux
 
Hi. I just got through fixing a similar problem with my linux box (the fix involved a lot of tedious changing IRQ's in the BIOS, with a lot of tedious rebooting in between). Beyond Dave's good advice, you might want to check out the linux serial (...) (25 years ago, 30-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Re: Can't open serial port in Linux
 
Check the permissions on /dev/ttyS1. I think the default is for it to be locked down to superuser only. If this is the case, then running nqc from a normal user account would cause the error you got. You'll need read/write rights to /dev/ttyS1 in (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.nqc)
 
  Can't open serial port in Linux
 
I'm having some troubles downloading to the RCX in Linux, I have RXC_PORT set to /dev/ttyS1, which is the correct serial port, and then I run nqc and get: [brian@magic bin]$ ./nqc -d ../test.nqc Downloading Program:error Could not open serial port (...) (25 years ago, 29-Dec-99, to lugnet.robotics.rcx.nqc)
 
  firmware upload with NQC...
 
first off, i'm using NQC with Linux. when i try to upload the firmware image from the MindStorms CD-ROM, i get the following: [kjs@localhost nqc_lnx_2_0_2]# ./nqc -firmware ../FIRM0309.LGO Downloading firmware:... Problem talking to IR device the (...) (25 years ago, 27-Dec-99, 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