|
|
| brickos (score: 0.500) |
|
| | Strange error message I have recieved
|
| I am in the process of completing my senior project where I will add 3 additional allocation algorithms to the Memory Mangament facility in BrickOS. I should the Next Fit algorithm done but when I add a certain part of code I get the following error (...) (21 years ago, 19-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.500) |
|
|
| brickos (score: 0.499) |
|
| | size limit on the programs for the RCX
|
| is there a size limit for our program? Like it cannot exceed a certain amount... by that i mean, if i have say several programs, is there a limit on how much each could size so that i can fit them all on the RCX at once and be able to run? because (...) (21 years ago, 22-Oct-03, to lugnet.robotics.rcx.legos, FTX)
| |
| brickos (score: 0.498) |
|
|
| brickos (score: 0.498) |
|
| | Re: Linked Lists in BrickOS
|
| (...) If you install cygwin and the cross compilers using my pre-packaged installer ((URL) and my pre-packaged and pre-built brickOS/leJOS installer ((URL) then you should be able to write your brickOS programs using GNU Pascal. (see below) (...) I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.498) |
|
| | Re: Linked Lists in BrickOS
|
| (...) Actually, it turned out that there was some leftover obj or mak files that were messing up the compiler. I purged the directory, and all was well. Thanks for the tip on tabbing. Just wanted to confirm that a BrickOS pointer is only 2 bytes... (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.498) |
|
|
| brickos (score: 0.497) |
|
| | BrickOS = shoot self in head
|
| I think I've concluded that the makers of BrickOS are secretly scheming to take over the world by making geeks' heads explode by repeated impact with the nearest CONCRETE WALL... Okay, first question: regarding the list of packages. The Step-By-Step (...) (21 years ago, 28-Sep-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Re: Linked Lists in BrickOS
|
| (...) Yeah, this was the problem. It hadn't occurred to me that BricxCC wasn't saving the file before making. Whoops. (...) Yes, tremendously (...) It looks like this was the problem line. I didn't know the syntax for a pointer to nothing. (in (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Re: Linked Lists in BrickOS
|
| (...) BricxCC can't know for sure what compiler to use unless it can tell what type of file you are editing. It figures this out using the file extension. In order to compile C++ and C code, BricxCC needs the file to have a .cpp or .c extension. (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
|
| brickos (score: 0.497) |
|
| | Re: INT_MAX in BrickOS
|
| (...) Hi Steve, Here's a handy table: TYPE BITS MIN MAX ===...=== char 8 0 255 unsigned char 8 0 255 signed char 8 -128 127 int 16 -32768 32767 unsigned int 16 0 65535 unsigned 16 0 65535 long 32 -2147483648 2147483647 unsigned long 32 0 4294967295 (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Linked Lists in BrickOS
|
| Thanks to all that assisted me in getting set up. It turned out to be missing Cygwin packages. My bad. Two problems. Firstly, BrixCC needs to be restarted to compile 'new' code. Is there a way to correct this problem? Also, I'm having trouble (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
|
| brickos (score: 0.497) |
|
| | Re: Linked Lists in BrickOS
|
| In lugnet.robotics.rcx.legos, Michael Purvis wrote: <snipped some, added some filler> (...) In order for the above to work.... (...) wouldn't the above need to be uncommented ??? I am not seeing where else you declared pData... but I could be wrong. (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Re: disable LNP
|
| (...) Have the changes from the above thread been implemented in a release of BrickOS, yet? (reduced sensor sample rate) I need to D/L a new release, but I don't want to rush, because I know I'll have to make changes to some of my existing code. (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Re: disable LNP
|
| (...) Steve, If no IR traffic (of any kind) is occurring, then there is very little overhead associated with LNP being active. In any event, this trivial amount of overhead (in systime.c) can't be disabled. What you really need to be concerned about (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.497) |
|
| | Re: BrickOS = shoot self in head
|
| (...) Perhaps because the tutorial isn't update .... (...) Make sure that the gcc.exe is in your PATH .... To know it try those step : Locate the folder where gcc.exe is stock. when it's done type : "echo $PATH" in a console (without "") make sure (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.496) |
|
|
| brickos (score: 0.496) |