To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *1925 (-10)
  Re: scout.nqh no longer necessary?
 
(...) Yes, this is true as of 2.1.b2. (25 years ago, 11-Feb-00, to lugnet.robotics.rcx.nqc)
 
  scout.nqh no longer necessary?
 
It looks like Scout programs no longer need `#include "scout.nqh"', and the file has been removed from the NQC beta distribution. Is that correct? I've been confusing someone new to NQC because I didn't realize this :( --Ben (25 years ago, 11-Feb-00, to lugnet.robotics.rcx.nqc)
 
  Re: Having trouble with -D option
 
You found a bug - NQC is actually defining D to be the tokens =1, which then leads to a lot of confusion later on. Basically I bungled the pointer math. I fixed the source so the next release (2.1 final) should be fine. I'll probably release 2.1 in (...) (25 years ago, 11-Feb-00, to lugnet.robotics.rcx.nqc)
 
  Re: Having trouble with -D option
 
(...) Same with 2.1b3. FWIW, #ifdef D task main() {} #endif works as expected. D is getting defined, just not to 1. (Or to any number.) (25 years ago, 11-Feb-00, to lugnet.robotics.rcx.nqc)
 
  Having trouble with -D option
 
If I compile this program (named d.nqc): /* nqc program */ #if (D == 1) task main() {} #endif with the command: nqc -DD=1 d.nqc I get the following error: # Error: syntax error in expression File "d.nqc" ; line 2 # #if (D == 1) # ^ #---...--- # 1 (...) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx.nqc)
 
  Re: static version of lnpd uploaded to arthudent
 
(...) Should be up now. Sorry about the delay- I haven't been home in slightly over 24 hours :) -Luis ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### (25 years ago, 10-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: How much memory finally?
 
Here's the latest update. Hope we will get a clear picture of this #@$@ memory after all. The point is that the RCX processor can address 64k of memory, so let's divide this range into 4 equal area of 16k. (note:16k or 16384, in hex is 0x4000). (...) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx)
 
  Re: How much memory finally? ADDENDUM
 
I have seen some systems that have RAM set up this way: The first area is for the system, the second area is user programs and is allocated from the bottom up. The third area is user (and system) data, allocated from the top down. They "meet in the (...) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx)
 
  Re: How much memory finally? ADDENDUM
 
Hey, that's a pretty nice idea! Any volunteer? D. (...) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx)
 
  Re: How much memory finally? ADDENDUM
 
I haven't seen anyone talk about hacking a memory expansion (hardware) yet. Dennis (...) -- Dennis Williamson - Certified Y2K Complacent Bad News: The next millenium starts on a Monday. Good News: You get the day off. (remove .NO and SPAM. to reply) (25 years ago, 10-Feb-00, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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