To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 311
310  |  312
Subject: 
How much RAM is left?
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Fri, 5 May 2000 03:22:47 GMT
Reply-To: 
SJM@nospamJUDGEMENT.COM
Viewed: 
1290 times
  
Ralph Hempel wrote:


The little brick has LOTS of room left for cool apps.....

I believe that. 32k of RAM is a luxury for forth. That's another thing
people don't generally understand about forth, they way it effectively
compresses runtime software. I've heard of ram reductions of a
factor of 5-10 for forth when compared to equivalent C code.

Speaking of which how does one tell how much RAM is available?
Is there more than one memory pool, i.e. one for ALLOT and another
for dictionaries?

I'm beginning to think that some of my communication problems might
be hardware. In an earlier post I reported long delays. I have been
keeping track and it doesn't make much sense. I had a 4 second delay
after the HEX command. By delay I mean that I type HEX <CR>
and repeat <CR> roughly every second until I see "ok". I assume that
there is absolutely no excuse for a delay i processing HEX which
probably just sets a variable. On the otherhand maybe the delay
is in Linux somewhere. Doesn't seem likely with all the RAM I've
got. No swapping anyway.

Sigh ... The thing I really love about embedded software is that there is
no mysterious "other" software with hidden behavior that is hard to
identify.



Message has 2 Replies:
  RE: How much RAM is left?
 
(...) Nope, the memory is allocated linearly from the end of the image. The current image size is 12 or 13K. New dictionary entries and ALLOTed memory are interspersed as they occur. NOTE WELL that there is a subtle bug in the RCX ROM routines when (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)
  Re: How much RAM is left?
 
(...) Pfff. As if that could possibly be important. If it isn't an object-oriented client-server architecture in Java++, it can't be serious :-) (...) If I read the source correctly, memory is allocated sequentially, and in my image I've got SOURCE (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  RE: Which terminal on Linux? plus random thoughts.
 
(...) Umm, I mean cover the tower and the RCX with a box.... :-) (...) No, Ernst's idea has a preamble byte for the transfer, and then the RCX grabs all of the chars and sums them. If the sum is wrong, then it NAKs the packet and the host sends it (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)

7 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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