|
| | Re: BrickOS = shoot self in head
|
| (...) The cygwin installer lets you pick which packages to install and all of the ones listed on the step-by-step page are available through the standard cygwin installer. (...) If you install cygwin correctly you should have a gcc.exe in the cygwin (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.249) |
|
|
| brickos (score: 1.249) |
|
|
| brickos (score: 1.249) |
|
|
| brickos (score: 1.248) |
|
|
| brickos (score: 1.248) |
|
| | Re: BrickOS motor port horrors
|
| (...) Rob, I've had the same problem with BrickOS. The installation I used came with BrickOS already built. I reloaded the RCX with LEGO firmware and all three motor ports worked fine. I concluded it was a BrickOS problem that I would wrestle with (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.248) |
|
| | 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: 1.247) |
|
| | 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: 1.247) |
|
| | 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: 1.246) |
|
| | 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: 1.246) |
|
|
| brickos (score: 1.246) |
|
| | 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: 1.246) |
|
|
| brickos (score: 1.246) |
|
| | 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: 1.246) |
|
| | 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: 1.246) |
|
|
| brickos (score: 1.246) |
|
| | 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: 1.246) |
|
| | BrickOS motor port horrors
|
| I was writing some simple programs to test out BrickOS last night, and had some really strange behavior. I hooked up a motor to port B and a rotation sensor to port 2. My programs were just testing out various motor speeds and positioning accuracy. (...) (21 years ago, 25-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.246) |
|
| | brickos sound-related crash
|
| I've been having some trouble with the 0.2.6.10 brickos kernel compiled with gcc 3.3.2. Whenever I try to use the dsound_play or sound_system functions, the kernel crashes immediately. In some cases, the RCX really goes haywire and motors start (...) (21 years ago, 31-Oct-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.246) |
|
|
| brickos (score: 1.246) |