| | Re: Maths functions
|
|
I've posted an enhancement request on the sourceforge website for someone to write a full math.h. I would do it myself but my programming skills aren't very good. Your math.h looks like a good start. Hopefully someone will build on that. Thanks for (...) (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
(...) (URL) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Maths functions
|
|
I'm having trouble finding a maths header file. It's usually called "math.h". I need to do stuff like sine and cosine, and use the "abs" function to make a number positive. Does a file like this exist? Are there any plans to incorporate a maths (...) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Threads within threads
|
|
(...) Have you tried to run this code? I wonder what will happen "in real life". Actually, main will start monkey and cow as fast as possible. I think this will crash your stack after a short while. Regards, Michael (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Threads within threads
|
|
Is it possible to use threads within threads? In the example below (with all 6 threads having different priority levels), how does the priority setting of each thread affect it being executed earlier than other threads? I mean, I assume that thread1 (...) (21 years ago, 27-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) Tom, What is this two-day workshop on RCX code that you mentioned? Ed (21 years ago, 20-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) Christoph, No, I have not yet solved the problem, but I intend to get back on it soon. I've been busy the past week preparing to present a two-day workshop on RCX Code. Now back to BrickOS (if I can get it working). What a change of gears! Let (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: gcc-3.3 - multi-line string literals
|
|
Thanks for the patch....but... Sorry to be such a NOOB but...how does one go about using this patch? I've gotten things to compile/make, generating .srecs and .lx's but sick and tired of scrolling through those deprecated multiline warnings. I'll (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
.... (...) Hi Tom, I've exactly the same error coming up istalling brickOS 0.2.6.10 or 0.2.6.9 and cygwin 1.3.22 on an WinME machine. If I delete the code in random.c make hangs up at the next file... Did you fix the problem already?? Christoph (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Errors compiling BrickOS Demos
|
|
(...) ... (...) Binutils, from 2.12 (IIRC) up to 2.13.1 produced malformed symbolsrec files. Use a later version of binutils. Max. (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Errors compiling BrickOS Demos
|
|
Hi, I'm trying to get brickos working on a linux box running mandrake. I downloaded gcc-2.95.3 and binutils-2.13.1 and compiled them to make a cross compiler. That seems to have worked successfully. Then I ran ./configure;make to make brickos (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS on Mac OS X
|
|
(...) Dave, We look forward to hearing how these tools work out for you. You should try Michael Zapp, (URL) about the USB applications. Ed (21 years ago, 16-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Question about mm.C in BrickOS
|
|
Thanks to both of you, I was pretty close to my understanding of it, but I did not know about the "new block creation behind the current block" but it makes sense now, if I have any other question (I am sure I will) I will def. ask. Thanks again, (...) (21 years ago, 14-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: USB/Serial Converter
|
|
Somewhere on the LEGO site it says that Serial > USB is not compatable -- If you must, why not just buy a USB IR tower from PITSCO LEGODacta for $30? If you have the SDK 2.5, or even the SDK 2.0, it comes with the driver for the USB tower (in the (...) (21 years ago, 14-Aug-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS on Mac OS X
|
|
Man, this is fantastic. Since moving over to OS X about a year and a half ago, I've been ignoring my RCX (retired the tired/crash prone PC forever!! Running Linux now though) and haven't played with it for lack of a development environment for OS X. (...) (21 years ago, 13-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Question about mm.C in BrickOS
|
|
Hi, (...) Ptr points to the length byte of the first free block (...) *(ptr-1) actually is MM_FREE and is now set to the callers id. (...) Now we can do two things: We could grab all memory we found in this block or we could allocate only the memory (...) (21 years ago, 13-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Question about mm.C in BrickOS
|
|
(...) <snip> (...) I've never looked at brickOS code, but here is my take: By the time you hit line 2, you've found a free block that is big enough. Line 2 sets the owner of the block. Line 5 decides if the block is oversized enough to split. Line 6 (...) (21 years ago, 13-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Question about mm.C in BrickOS
|
|
Hey My Senior Preoject where I update BrickOS is slowly taking shape (I am actually trying to do some now, but time is very limited). This project I am editing the Memory Managment Alg used by BrickOS. the first one I am going to add is Next Fit, it (...) (21 years ago, 13-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) If you download the packages you can install from the previously downloaded packages without ever having to go to a mirror. In theory, at least, you shouldn't have to go back to the web unless you want a newer version of one or more of the (...) (21 years ago, 12-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) O.K. I will try a re-install of Cygwin, although I have re-installed at least four times previously. As I say, I get a little farther each time. Maybe this time I can find all the packages at one mirror. As Ed does, I also download and install (...) (21 years ago, 12-Aug-03, to lugnet.robotics.rcx.legos)
|