To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *3544 (-100)
  Editing Makefile (adding comman line arguements)
 
I am trying to edit Makefile in the main brickos dir so that I can access the arguements on the command line when I enter "make _____" to compile the directory. I need to do so because I need to have a certain command execute when the arguements are (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Yeah, very true. Those lines where in there becuase of the error I originally had in my code, but since my code changed (and is correct) those lines are not needed). Thanks Mike (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) BTW, you can delete these two lines of intialization (i.e. lines 12 & 15 in the above function) as the intialized value gets clobbered on finding the first suitable sized block: 12) mm_best_free=ptr; 15) mm_best_free++; //this must point to (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Sure thing sorry, the problem was that I had the wrong variable in one of the if statement, I copied it over wrong from my hand-written notes I made of the Alg ===...=== void *malloc(size_t size) { size_t *ptr,*next, bestSize, *mm_best_free; (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Fine. Could you please post the solution? I don't like unsolved riddles :) Regards, Michael (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Complete instructions for Linux?
 
(...) Rich, Those patches were created for optimizing some legOS code. I believe it was some interupt code. The legOS code and brickOS code have internal work arounds. I have some emails concerning this somewhere. But you don't need these patches (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Complete instructions for Linux?
 
From: Rich Warren <rikiwarren@mac.com> Subject: Re: Complete instructions for Linux? Date: December 5, 2003 6:57:12 PM MST To: nanobapt <nanobapt@wanadoo.fr> (...) Correct me if I'm wrong, but my understanding is that this would build the BrickOS (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
Nevermind, I figured out the error after I posted and reviewed my code again. Thanks anyway... (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
Well, my senior project is almost due (Monday) and I am having problems with one of the last algorithms to be added. My senior project is adding the 3 other algorithms to the memory management facitlity (mm.c), the algorithsm are best, worst, and (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Complete instructions for Linux?
 
(...) $ tar xvzf brickos.tar.gz $ make or $ apt-get install brickos #for debian user ;-) nanobapt (21 years ago, 4-Dec-03, to lugnet.robotics.rcx.legos)
 
  Complete instructions for Linux?
 
Is there a complete instruction for installing BrickOS on Linux? I'm particularly interested in details involving creating a cross-compiler and getting the USB tower to work. I've looked at the windows instructions, and have tried to work from them, (...) (21 years ago, 4-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange BrickOS Timing
 
Hi Dietmar, (...) Of course :-) Ciao, Guido (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange BrickOS Timing
 
Hi Guido, (...) That patch referes to an older transfer-protocol. The one we are using now, does not need SUCH a stable timing. But the Output from BrickOS is a lot worse than it was in older versions. I thing Gunther can explain this better, but I (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange BrickOS Timing
 
Hi Gunther, (...) have (...) After some investigation I found this page on YOUR site: (URL) YOU state: Using Lepomux requires a stable timing on the motor port because it is used as a serial data port. Since brickOS does a lot of stuff (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange BrickOS Timing
 
Hi Gunther, (...) have (...) I'm NOT really an expert in brickOS, but these are the sources of delay and msleep: void delay(unsigned ms) { unsigned i; while (ms-- > 0) for (i = 0; i < 600; i++) // not well calibrated. ; } //! delay execution (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
 
  Strange BrickOS Timing
 
Hello out there, maybe someone can explain to me why the current brickOS release seems to have msleep()-amnesia ;-) We've been testing the data transfer to our Lepomux device. For some strange reason we were still using kernel 0.2.6.07nmChg with a (...) (21 years ago, 2-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: GP2D12 Please help
 
Hi Sebastian, (...) I don't know the schematics of that sensor interface, but I think it's basically a bad idea to drive a device that needs 30 to 50 mA from a powersource that can only output about 10 mA. I've experienced similar effects while (...) (21 years ago, 2-Dec-03, to lugnet.robotics.rcx.legos)
 
  math library
 
Hello all. About a year ago I researched math functions so I could write some for the RCX. I found some power series functions that work really well. I see another message here posted by "nanobapt" has also posted some functions so I tested his (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.legos)
 
  GP2D12 Please help
 
Please help. I just recently got a Sharp GP2D12 ir distance ranger plus RCX interface device from mindsensors. It is pretty cool, however I am getting alot of flucuation in the readings and in turn I think that i am losing out on range. The maximum (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
(...) You should uninstall cygwin and delete its directory tree if it is left behind. Then run both installers (the brickoslejos installer second) and you should be ready to go. You don't need to do a configure or make of brickOS if you use these (...) (21 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
No,I didn't know they existed. What steps should I take to use the installer in an already existing install? -Wes (...) (21 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
(...) Did you consider using my all-in-one pre-built installers? (URL) work well with XP & W2K (and presumably Win2003). There are problems with earlier OS versions. I've had several people tell me that using these pre-built installers was much (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
hmmmm.... Now I have a different problem - the next step in the process: $ make strip strip fontdesign.exe strip: fontdesign.exe: No such file or directory make: *** [strip] Error 1 Is there a missing step to create fontdesign.exe? (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
Thanks. This solved the initial problem which revealed a second... genlds.c has two printf() statements that have multi-line string args. I appended '\' to the end of all these and everything compiled fine. Now to test things. -Wes (...) <snipped (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
Or ( IMO ) better yet, just macro every line between 152 and 171, that's what I did, saved the trouble of another install... Put this on each line around the assembly code: __asm__(""); Make sure you keep the indent spacing also: label: should be: (...) (21 years ago, 14-Nov-03, to lugnet.robotics.rcx.legos)
 
  Compiling Classes
 
I have several large classes in external .h and .cpp files that are added to my project and compiled into the .lx. I found that when I changed the number of calls to a major procedure from 2 down to 1, the final program size went down 20%. Are these (...) (21 years ago, 13-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
(...) [...] (...) Well it looks like the gcc-version-problem I had. The gcc >=3.x do not allow multiline strins without "\" anymore, which are still uses in brickos. So my hint is to install a gcc 2.95 and everything should work fine... Note: This (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
 
  Help w/install _or_ It all went so well
 
_warning_ I'm new to BrickOS, so be patient. I've just attempted to install using the instructions at (URL) went fine until step 4 command './configure; make' which looked like this: ... $ ./configure; make Welcome to the brickOS Makefile (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) Suggestion, dont use Cygwin at all. Provide a pre-compiled version of: 1.GCC built for host=MingW (ligtweight toolchain for win32 systems that doesnt need bulky cygwin dlls) and target=rcx or whatever. 2.the BrickOS tools buit using MingW and (...) (21 years ago, 11-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) I'm looking into the problems that have been reported to me regarding using the pre-built compiler tools & cygwin on Win98. (...) IC4, so far as I can tell, doesn't have a command-line compiler which makes it quite a bit more difficult to (...) (21 years ago, 8-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) Dear Scott, Unfortunately it is still true that Interactive C does not support the USB-tower, but I am pretty sure this will be changed with the further releases (I recently bought a serial-tower at Shop.Lego for 16.99 Euro only!). But it (...) (21 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) I'm just passing the following on for everyone else to read. scott Hi Scott, I don't have posting privs to all these lugnet lists, but just want to let you know that actually IC does support encoders (rotation sensors). It's just not (...) (21 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
Hi A while ago I looked at using IC for writing programs. At the time there were 2 major turnoffs. There was no support for rotation sensors and you needed to own one of the serial infrared towers. It was easy to install and it had its own firmware. (...) (21 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
Dear John, Thank you very much for the further improvement of Brixcc! I could install the package including brickOS on a Win 98 system as well as download the related firmware, but could not compile any of the demos!? Besides that: You said: "Of (...) (21 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) Apparently, there are problems running on Win98 (I've heard from another person who is having similar issues). I am trying to figure them out. I'll post here once I have a definitive answer. John Hansen (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) ... (...) ... (...) Yes. The extra channels are for non-repeating stuff. Like you said. (...) Well, I've discovered (while working on a Spybot project) that if you ask just the right question, the people at LEGO may reply to it. They are (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: Simplifying Cygwin & brickOS/leJOS
 
(...) been thinking that somebody should do this for quite some time now. I downloaded this package and installed it on my Windows 98 machine. Unfortunately, I have been having problems getting it to build the libraries. This is probably just a case (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) [snippage] (...) [more snippage] (...) Glad you like the chart. Trying to find a way to present the information in a useful manner was the trick for me, too. :-) I'll have to throw up a web page or something. As to figuring it out, credit has (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) Thanks a lot for posting this very useful information, Mark! I don't know how long I've been beating my head against the brick trying to make heads or tails out of the values I calculated for the various possible combinations of button (...) (21 years ago, 4-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) You're welcome! (...) Well, I did try it out and it does work... somewhat. For example, when you set the channel to 5 using the technique mentioned above, only some of the remote packets reflect 5 as the channel number, while others still (...) (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) As cool as this sounds, it's not right. :( Sorry about that. There are just the two bits (like Mark said above). See, this is why I haven't been able to get my Spybot remote to work with my RCX. :) Steve (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) Mark, Thanks for posting this. I've been trying to figure out how to do that, but I don't know enough about the IR messages and baud control of BrickOS to do it myself. (...) I don't know if this is printed anywhere, but here's some more info (...) (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) Thanks, Mark, I was indeed using standard firmware through NQC... Philo (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: IR Sensitivity - Was: 1.5/2.0 infrared problem
 
(...) Hi Philippe, I've been adding support for the Spybot and Manas remotes to my custom firmware LDCC. The idea is to allow 3 people to each control a seperate train using these remotes. This is how I discovered the problem with RCX 1.0 not (...) (21 years ago, 3-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.spybotics)
 
  Re: lnpd+liblnp + brickos-0.2.6.10
 
(...) Paolo has done some work in this area for Windows OSes and I am worked on integrating it to brickos with USB support under Windows. I will post my work at some point. Ed (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  BricxCC release 3.3.7.6
 
I've gone ahead and released a new version of BricxCC. Get it while it's hot! :-) There are a few rough edges in this release, primarily in the pbForth console. Also, the leJOS .hlp file was so large I did not include it in the main installer. The (...) (21 years ago, 27-Oct-03, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics, FTX)
 
  Re: BrickOS motor port horrors
 
(...) [snippage] (...) I will be releasing a new version of BricxCC shortly (by the end of the week, with any luck) which will include a fix for this bug. It is already fixed but I'm trying to get a couple other items done before I publish a new (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  Re: BrickOS motor port horrors
 
(...) [snip] (...) Mark, Thanks for shooting this so quickly. Kevin (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  Re: BrickOS motor port horrors
 
(...) As we discussed in email, it appears to be the firmware downloader causing the problem. I just tried downloading BrickOS 0.2.6.10 with both NQC 2.5 a1 and BricxCC 3.3.6.2 and experienced growling motors. I then downloaded BrickOS using firmdl3 (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  Re: BrickOS motor port horrors
 
(...) Me too. Without any program loaded, it seems to do funny things with the motors. But once I get a program downloaded, it works fine. The only thing that I find freaky is the different values for light sensors. There's hex percentages and dec (...) (21 years ago, 27-Oct-03, to lugnet.robotics.rcx.legos, FTX)
 
  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)
 
  Re: BrickOS motor port horrors
 
(...) That is the part that really bites me. Are you able to reproduce the error? If yes, try to put out the batteries for a longer time. Anyway, it seems worthwile to have a look at the brickOS initialization code for the motors. If you can (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS motor port horrors
 
Well, I don't know much about it being possessed, but you should try to divide the problem probabilities in half. Try loading the original lego firmware. (Yes I know, this brings horror to some of you fellow programmers out there, but its just (...) (21 years ago, 26-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  lnpd+liblnp + brickos-0.2.6.10
 
It seems to be not possible to use lnpd+liblnp with brickos-0.2.6.10. Is there a patch available to get the liblnp package to work? (21 years ago, 22-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  Re: Strange error message I have recieved
 
(...) Thanks a lot, it worked. I knew it had something to do with the memory. Mike (21 years ago, 20-Oct-03, to lugnet.robotics.rcx.legos)
 
  LNP and USB over linux
 
Hi, I recently finished my thesis project: "Constraint Programming over LEGOS MindStorm" working with LNP, Serial tower(the only one i found sopport) and a rcx 2.0. I would like to know if somebody knows about LNP SUPPORTING USB. I already have the (...) (21 years ago, 20-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange error message I have recieved
 
(...) Check out this message, it might address your problem: (URL) (21 years ago, 20-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  Re: Logo
 
It sounds like GTK :) Can you color it ? nanobapt (...) (21 years ago, 17-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Logo
 
(...) Well, I liked the more horizontal feel of that one, and it's lost when you use a more vertical (bold) font. This one has more of a block focus: (URL) (21 years ago, 17-Oct-03, to lugnet.robotics.rcx.legos, FTX)
 
  Re: Logo
 
I like the "OS". What do you think about doing "brick" in more block-like font. Something like bold (or black), outlined, Helvitica? (...) (21 years ago, 16-Oct-03, to lugnet.robotics.rcx.legos)
 
  Logo
 
I noticed there still isn't an official logo on the SourceForge page, so I thought I'd make a contribution: (avaiable in PSP/vector) (URL) (21 years ago, 16-Oct-03, to lugnet.robotics.rcx.legos, FTX)
 
  Re: disable LNP
 
(...) I actually had already tried this, but couldn't get it to work. Turns out I was having a problem with generating the linker file (genlds). Once I resolved that, it works GREAT! As you may expect, the processor intensive program I've written, (...) (21 years ago, 13-Oct-03, to lugnet.robotics.rcx.legos)
 
  RE: disable LNP
 
(...) Doesn't the H8/300 have a mode where you can scan up to 4 channels at once? Ralph (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Mark is correct: I made the following two changes which will cause the sensors to be polled at 1KHz: in systime.c; added "bset #0x5,@_AD_CSR:8"; extern void clock_handler(void); ... sys_nohigh: mov.w #0x5a06,r6 ; reset wd timer to 6 mov.w (...) (21 years ago, 12-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Sorry, nothing has made it to an official release. I think Joseph Woolley has some code where he reduced the sample rate to 1KHz (I think). You might try contacting him about it. Mark (21 years ago, 11-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  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)
 
  Re: Linked Lists in BrickOS
 
(...) Michael, This will save you a few keystrokes: pNext = 0; :-) Mark (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  disable LNP
 
I need to write a program that can send and receive messages, but there are times when the program is running, that I don't want to waste processor time watching for messages. Is it possible to switch LNP on and off, while a program is running? I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  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)
 
  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)
 
  Re: INT_MAX in BrickOS
 
(...) Yes, very much, thank you. That explains why I was getting odd results when I set an int to 65535. Now, I know what to do. Thanks Steve (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  INT_MAX in BrickOS
 
What's the max value for an INT in BrickOS? Is it +/- 2,147,483,647? (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Also, add some semicolons to the above like so: class list { private: Node *p_head; }; Mark (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  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)
 
  Re: Lugnet news server help (sorry)
 
Thanks a lot. I must have missed that message while I was away. "Jeff Van Winden" <jvwinden@sympatico.ca> wrote in message news:HLztp7.o5@lugnet.com... (...) Express. (...) (21 years ago, 30-Sep-03, to lugnet.robotics.rcx.legos)
 
  Simplifying Cygwin & brickOS/leJOS
 
I have been working on creating a single (large) installer for cygwin with everything you need to build brickOS (and leJOS as well). Download one large file (which is, unfortunately, 18.9 MB) and you are ready to go. I've tested it on W2K and it (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
 
  Re: Ultrasonic Sensor Without Use Of A Microcontroller
 
(...) Hi Vik, I saw that ckt Digram. Try powering that ckt with battery. and use RCX to only read the reading. since you may have spiks on your power line ( which will change your resonance frequency of 555). if that works use .1uF bypass cap as (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 
  Re: Lugnet news server help (sorry)
 
(...) I think you need to change your port # to 1119 now as per: (URL) VW (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 
  Lugnet news server help (sorry)
 
I am unable to connect to the Lugnet news server. I am using Outlook Express. Whenever I try to read a message I get the following error: "Unable to connect to server Configuration: Account: lugnet.com Server: lugnet.com Protocol: NNTP Port: 119" I (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS = shoot self in head
 
(...) That is true. But a real geek also knows how to make things simple for the wanna-be-geeks. :-) John Hansen (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 
  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)
 
  Re: BrickOS = shoot self in head
 
(...) A real geek knows the difference between gcc and h8300-hms-gcc and where to use which. Regards, Michael (21 years ago, 29-Sep-03, to lugnet.robotics.rcx.legos)
 
  Lego RCX Emulator
 
Hello, In this mail I want to advertise my Lego emulator, again. This emulates a Lego RCX brick on hardware level, so it should run any firmware you like. You can find it at this URL: (URL) can emulate multiple RCXes communicating via infrared and (...) (21 years ago, 29-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  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 = 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)
 
  Ultrasonic Sensor Without Use Of A Microcontroller
 
Hi, I found this website a while back, <link>(URL) and I decided to actually build the circuit he designed at the bottom of the page. I was wondering if anyone else has built it? I'm getting really jumpy readings from it, for example, at a fixed (...) (21 years ago, 28-Sep-03, to lugnet.robotics.rcx.legos)
 
  multiple inheritance
 
Hello, Is multiple inheritance supported under legos-0.2.6 compiled with gcc-2.95.3 and binutils 2.10? When I try to compile a class with the multiple inheritance I get the following linker error: /usr/local/crossgcc/...chi-hms-ld -T (...) (21 years ago, 23-Sep-03, to lugnet.robotics.rcx.legos)
 
  LNP+USB tower
 
A Mail I've received ... (...) engineering. (...) rcx, legOS (...) oz). (...) but we need (...) in our (...) thesis (...) we'll (...) my answer try to search a driver under google. I think there is some driver installation instruction !! I don't (...) (21 years ago, 17-Sep-03, to lugnet.robotics.rcx.legos)
 
  Re: Question about mm.C in BrickOS
 
(...) Yes it does, thank you very much Michael, you helped me out again. I just wasnt thinking of next as being a ptr like that. i just always thought it pointed to the address of the location of the memory that it can use next. thanks again... Mike (21 years ago, 15-Sep-03, to lugnet.robotics.rcx.legos)
 
  Re: Question about mm.C in BrickOS
 
(...) +---- +------+---...---+--...-+-------- | pid | size | data..... | pid | size | data... *-----+------+---......-+-------- ^ +---...--- ptr points to that address. This is the memory layout for the data allocation pool. Pid is the process id of (...) (21 years ago, 15-Sep-03, to lugnet.robotics.rcx.legos)
 
  Re: Question about mm.C in BrickOS
 
(...) Michael I was reading through your reply you sent me a while back and I don't understand what that line in the code does and you explaination of it. I don't understand what is meant by pointing behind the block. Any help would be great thanks. (...) (21 years ago, 14-Sep-03, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR