Subject:
|
Re: Memory usage
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 21 Jul 1998 23:13:30 GMT
|
Original-From:
|
Fred G. Martin <FREDM@MEDIA.MITsaynotospam.EDU>
|
Viewed:
|
1196 times
|
| |
| |
This question how has an answer in the FAQ. Please see:
http://el.www.media.mit.edu/projects/handy-board/faq/index.html#icmemory
Following is the answer now on the FAQ page.
Fred
How much of the Handy Board's 32K memory is available for user
programs running under Interactive C?
Here is an approximate breakdown of how Interactive C makes use of the
Handy Board's 32K of RAM:
Purpose Mem Usage
------------------------------------------------------------------------
Runtime P-Code OS 7936 bytes
Stack space for user processes 6656 bytes
Buffer for interaction process 256 bytes
Buffer for printing 256 bytes
User program object code
plus user global variables 16320 bytes
available
Thus, about 16K of the memory is reserved for user code plus user
globals. Since Interactive C compiles into code for the runtime
virtual machine rather than into 68HC11 machine language, user IC
programs tend to be more compact than those compiled with traditional
compilers, partially offsetting the overhead of the IC system itself.
------------------------------------------------------------------------
In your message you said:
> I don't have a handy board but am considering getting one. I like what I
> have seen so far! I have searched the FAQ and the mail list archives but
> can't find the answer to my question.
> How much of the 32k does Interactive C take up?
> OR MORE TO THE POINT
> How much do I have left for my application code?
> TIA
> Dan
> --
> /***********************************************************
> * Dan White - National Instruments Certified Instructor *
> * CyberMetrix,Inc. - National Instruments Alliance Member *
> * <http://www.cybermetrix.com/ni> *
> * dwhite@cybermetrix.com *
> ***********************************************************/
>
>
|
|
Message is in Reply To:
| | Memory usage
|
| I don't have a handy board but am considering getting one. I like what I have seen so far! I have searched the FAQ and the mail list archives but can't find the answer to my question. How much of the 32k does Interactive C take up? OR MORE TO THE (...) (26 years ago, 21-Jul-98, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|