|
| | 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.746) |
|
|
| brickos (score: 1.746) |
|
| | 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.746) |
|
|
| brickos (score: 1.746) |
|
| | 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.746) |
|
| | 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.746) |
|
|
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
| | Re: The BrickOS Task Manager
|
| IIRC the issue was that Task, Process and Thread were all used to represent the same item/concept in the Kernel code. After some discussion, it was decided that the word Task would be used in all cases. This improves readability, etc... (ie. Task (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |
|
| | Re: BrickOS Assembler
|
| Hi, Michael. I had some trouble with getting variables into registers, as well. I can think of three ways: 1) Pass the variable to a function - the first function argument seems to be r0. You can easily experiment with this by inspecting the (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |
|
| | Re: BrickOS Assembler
|
| (...) I recommend compiling with the -gstabs+ option (by modifying the makefile). After your .lx file is generated use "h8300-hms-objdump --disassemble-all --source > my.lst" to get a disassembled file with the C source intermixed.into the file (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |
|
| | Re: BrickOS Assembler
|
| (...) In rethinking I think that compiling with the -S option will do what you want. It should create a file with a .s suffix. -S makes the compiler compile, but not assemble. Kevin "YOU ARE A GENIUS!!!!!! you can put that in your sig file!!!" Chris (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
| | RCX communications at brickos
|
| Hello everybody. I am working at my postgraduate project at lego mindstorms and I am looking for information on programming the RCXs to communication with each other. I'd be grateful if you'd supply me with some links about this subject. Also (...) (19 years ago, 17-May-05, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
|
| brickos (score: 1.746) |
|
| | Re: compiling problmes 2
|
| Can't be that the unresolved references are from the code I want to add to BrickOS, because I also tried to compile just the BrickOS-files (without the code I want to add) and the same errors appeared. (...) I looked for some of those references and (...) (20 years ago, 27-Sep-04, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 1.746) |