|
| | Re: Persistent globals
|
| (...) Shure: static unsigned char matrix[100][100] __persistent = { { 0, }, }; Eddie C. Dost ecd@skynet.be (24 years ago, 31-Jul-00, to lugnet.robotics.rcx.legos)
| | | | dont't fear the reaper
|
| I've tried to test the maximum memory allocation possible in legOS. For that, I wrote the following test program: #include <conio.h> #include <unistd.h> #include <stdlib.h> int main( int argc, char **argv ) { int i; char *cp; i = 1; while( ( cp = (...) (24 years ago, 31-Jul-00, to lugnet.robotics.rcx.legos)
| | | | questions, comments, and suggestions
|
| Hello, I'm just rooting through the kernel code, and have a few questions: [note: after actually writing this, there not all questions, more comments, or suggestions. And there aren't just a few of them. Good luck getting through it! ;-) ] *) What (...) (24 years ago, 31-Jul-00, to lugnet.robotics.rcx.legos)
| | | | Re: Persistent globals
|
| (...) Hi again! I have found that this works with scalar variables. However, I need to make an array persistent. More specifically, I have a 100x100 matrix containing a population for use with genetic programming and I need to be able to keep this (...) (24 years ago, 31-Jul-00, to lugnet.robotics.rcx.legos)
| | | | Re: Signalling and controlling rcx
|
| (...) I don't know much about winLNP, but we use a small util based on the LNP code: (URL) called ir tool or something like that). If you want to integrate it into your own code (rather than calling a seperate executable), have a look at the version (...) (24 years ago, 31-Jul-00, to lugnet.robotics.rcx.legos)
| |