|
|
| brickos (score: 0.483) |
|
|
| brickos (score: 0.483) |
|
| | Re: Modifying the BrickOS source code
|
| Here is a visual representation: [ KERNEL ]mm_start[ HEAP ] The heap will contain ALL of the following: User Programs, User Allocated memory, Kernel allocated memory (not including static/global variables and constants). The only thing that is prior (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.483) |
|
| | Re: Modifying the BrickOS source code
|
| Mike, IIRC, mm_start is the beginning of the heap. When the system or a user program requests memory (new in C++ or malloc/calloc in C) the memory is taken from this block (from mm_start to the end of memory) What might be confusing is how the (...) (21 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.483) |
|
| | Re: Programming in Assembly
|
| (...) (how the manual says to do data)? That's because I don't like to type more than is necessary! :-) Take this line for example: mov.b #0x02:8,r0h This line is doubly redundant. The destination operand is an 8-bit register so the other qualifiers (...) (21 years ago, 18-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.483) |
|
|
| brickos (score: 0.483) |
|
| | BrickOS motor-output: Subject to change?
|
| Hello, while doing some testing with data transfer wia the motorport of the RCX, I had (again) the problem that the output at full speed (255) is not a constant DC-output. Does anyone have a good solution for this already and will it be part of the (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.483) |
|
| | Re: Programming in Assembly
|
| Here's a more direct link for the H8 docs: (URL) down to the literature section and download the two PDFs. For assembly, I would recommend starting off with an installation of BrickOS and perusing the various source code files for the kernel. You'll (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.483) |
|
|
| brickos (score: 0.483) |
|
| | Re: Help with lnp
|
| (...) So if you don't want to take the time to configure linux, then you can perhaps try to download legnoppix. Legnoppix is a linux distribution bootable on CD you don't need any installation and it include all lego tools available in linux (not (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Re: Modifying the BrickOS source code
|
| (...) If you have installed and built the unmodified BrickOS then you are ready to go. At the very end of the build after you built/instaled the cross compliter and BirckOs source you executed a make command. When you did this you got a whole bunch (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Re: Help with lnp
|
| I guess I should have been more specific initially. Our question, more precisely, is which version of brickOS can we use on regular redhat linux? We will use your directions as well, but what we were really stuck on was which of the brickOS versions (...) (21 years ago, 9-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | brickos-0.2.6.10 error
|
| I get this when ever I try to compile a program. Scott Davis@Scott ~ $ cd /brickos/programs Scott Davis@Scott /brickos/programs $ dir Makefile motor.c Scott Davis@Scott /brickos/programs $ make motor.lx Makefile:51: .depend: No such file or (...) (21 years ago, 2-Jun-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Modifying the BrickOS source code
|
| Hey, My friend and I are tring to modify the BrickOS memmory management for a computer Science senior project. I am trying to help him out with it. We are wondering if anyone can give us some information on how we can edit the source code and then (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Error linking c++ with gcc 3.3
|
| Hi, I'm having a slight problem building the c++ demos with gcc-3.3. (I had to do a tiny patch against a few files to overcome the fact that multiline strings are now not supported). But when it comes to building the c++ demos, I get the following (...) (21 years ago, 17-Jun-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Re: Modifying the BrickOS source code
|
| (...) This is my friend writing this time becuase he lost his user info for lugent and is trying to become a member but he hasnt gotten an email back from the system so he is having me do the asking: Thanks for the help guys. I am going to edit a (...) (21 years ago, 2-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.482) |
|
| | Re: Help with lnp
|
| (...) We finally decided to take the time and use Linux to try and get lnpd working. Although we are not familiar with Linux, our professors are helping us. Our main problem now though is the installation of brickOS. I know this should be an obvious (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.481) |
|
| | Re: Modifying the BrickOS source code
|
| (...) The build system is not particularly complex. $ ./configure $ make You will, of course, have to either build or install prebuilt cross compiler binaries first. Info on the brickOS website, ask here if you run into problems. I'm not quite sure (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.481) |
|
| | Re: Help with lnp
|
| Hello Katie, (...) A good decision. (...) To install software on (RedHat) Linux, you will use a program called rpm. Rpm is a packet manager; it can install new programs, you can ask rpm if a package is installed, you can update an existing package (...) (21 years ago, 8-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.481) |
|
| | Re: Modifying the BrickOS source code
|
| (...) If he wants to do this, he should better have a good understanding of programming in C and Operation System design. Debugging an OS is a hard job. (...) I am under the impression that you don't have any knowledge of how to handle a UNIX style (...) (21 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)
| |
| brickos (score: 0.481) |