To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 861
860  |  862
Subject: 
Odd behavior
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 26 Feb 2000 08:03:54 GMT
Viewed: 
1308 times
  
I'm having a bit of trouble with dll and I was hoping someone kind on
this list might be able to help me out.

Basically, I have a program that's grown to become fairly large and
complex, and I can no longer download it to the RCX. There's one
particularly complicated function, and if I comment out the body of it
everything works fine. If I leave it in, the .lx file won't download.
However, the full-sized program is only 4998 bytes, which doesn't seem
like it would be nearly enough to cause memory problems within the RCX,
even when adding in the OS and such things. With that one function
commented out, it weighs in a hair under 4000 bytes, and downloads fine.
Other programs also download fine. I'm downloading into program slot 0 on
the RCX, and it doesn't have any other programs on it.

Anybody know what's going on and how to fix it? Many, many thanks in
advance.

--
"Dost thou think that because thou art virtuous
there shall be no more cakes and ale?"
     - William Shakespeare
http://www.mikeash.com/     mail@mikeash.com



Message has 1 Reply:
  Re: Odd behavior
 
I saw the same behavior some time ago when I worked on a pretty fat program (about 6KB compiled code). Sometimes it worked OK, then I removed my debug code (some cputs defined by macros) and it hanged miserably... I thought it was some kind of (...) (25 years ago, 28-Feb-00, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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