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 / *779 (-40)
  Setting a different com port w/ frmdl3 and dll
 
It appears that you can specify a com port other than the default COM1 for the firmdl3.exe and dll.exe programs for the Windows LegOS distribution package. Does anyone know what the syntax might be? I use COM4 for my IR Tower. Thanks, Dave (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: WinNT & legOS
 
Hurray!!! I've also just successfully compiled, uploaded, and ran my first legOS app!!! Thanks Rossz and all! lfn003 fixed it! It did NOT work when I used the lfnsrv.dll in Checked.dll (the larger one). It DID work when I used the lfnsrv.dll in (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
Ian Meikle <ian_meikle@nospam.a...lobal.net> wrote in message news:3895DF1C.5D99B3...bal.net... (...) DJECHO simply echos the line to the file. It's special in that the Make program can transfer very long command lines to it via a buffer. This gets (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: WinNT & legOS
 
Ralph Hempel <rhempel@bmts.com> wrote in message news:000301bf6cf9$3c...@pro150... (...) I'm running DJGPP GNU Make, the one I put in the legOS for Windows package. Rossz (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: WinNT & legOS
 
Ian Meikle <ian_meikle@nospam.a...lobal.net> wrote in message news:38974DF8.8B4A42...bal.net... (...) Excellent! I wonder why Makelx wouldn't run properly on the NT system at work? I spent some time porting the makelx code to compile under MS VC++ (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  RE: WinNT & legOS
 
(...) Which make are you running? I've had trouble with mks make and long filenames. Now I use Cygwin's make and things are much better... Cheers, Ralph Hempel - P.Eng ---...--- The train stops at the train station, The bus stops at the bus station, (...) (25 years ago, 1-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: WinNT & legOS
 
Hello again Rossz, I have downloaded lfn003 and installed it and ALL WORKED OK :o) It build the demo programs (including running makelx). So although the WinNT saga is probably not over, it mow seems to work for me (and maybe some others). Many (...) (25 years ago, 1-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: __attribute__ ((rcx_interrrupt)) : how to use ?
 
(...) Well, i got the definitive answer from Markus 8-). It was in german, so i'll try to translate it: the effect of __attribute__ ((rcx_interrrupt)) depends on the calling context: - in leaf functions (that do not call other functions), it makes (...) (25 years ago, 1-Feb-00, to lugnet.robotics.rcx.legos)
 
  WinNT & legOS
 
I was mistaken in thinking the Long File Name utility ((URL) was breaking makelx. The program, makelx.exe, runs perfectly if typed from the command line. When executed out of the make program, however, it thinks the command line is invalid, whether (...) (25 years ago, 1-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: __attribute__ ((rcx_interrrupt)) : how to use ?
 
(...) Right. The calling conventions of the H8 say that r0-r3 are scratch registers (aka caller saves). However, interrupt handlers must preserve ALL of the registers. So the rcx_interrupt attribute makes that happen. (...) The compiler will only (...) (25 years ago, 31-Jan-00, to lugnet.robotics.rcx.legos)
 
  __attribute__ ((rcx_interrrupt)) : how to use ?
 
hi there, i´m still not really sure when and why to use __attribute__ ((rcx_interrrupt)) my current assumptions: 1 - it should be used for functions that are called AS interrupt handlers, to make sure registers are pushed onto the stack, and (...) (25 years ago, 31-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
legOS under WinNT - the saga continues. I've done further investigation. Long filenames (LFNs) are not fully supported in a DOS shell in Windows NT. I found a utility that enables LFNs here: (URL) it runs fine up to MAKELX. So it looks like the fix (...) (25 years ago, 31-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
I have also tried the make that came with Ming32. This seems to work better, however I get the following: (line numbers added for clarity) 1>>C:\legOS\Demo>make 2>>Makefile:44: .depend: No such file or directory 3>>djecho -o response " -M -O2 (...) (25 years ago, 31-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
I fooled around with legOS on an NT here at work and could get the individual commands from MAKEFILE to execute from the command line. It looks like NT doesn't properly handle the long filenames from within the make program (and possibly other (...) (25 years ago, 31-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
I have tried it also on my machine at work. Same problem. Both are WinNT boxes with NTFS file systems. Has anyone else got it working on WinNT with NTFS ?? Ian (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
No difference ... I even tried moving the files into the current directory, but that also did not help. David, do you have anyother GCC software installed on your PC ? I will try this at work on my other WinNT machine (I do not have any other GCC (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
Try changing the references to the include files from relative to absolute, e.g.: #include c:/legos/makefile.common #include c:/legos/makefile.user David, are you running Windows NT, also? If this is a Windows NT specific problem, once we have it (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  finally! the whole fix! (was: more on the rotation sensor)  [DAT]
 
(...) I *finally* figured out why none of my attempts to fix this in the state machine were working. If you consider forward and backward motion: 0 1 2 3 0 031 213 0 3 2 1 0 3 312 130 3 The first line indicates the actual sensor transitions. The (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) (URL) (...) Like I said, I don't mind editing- I find that reasonably simple and not very time consuming. It's the rest of it that is more time-consuming. In the meantime, as a stop-gap, I can probably set up a php based annotation system (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) There are certainly apps available like that in php, which I am much more comfortable with, and feel is (basically) much more secure. I'll look into them and report back. -Luis (...) ###...### Profanity is the one language that all programmers (...) (25 years ago, 30-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: more on the rotation sensor
 
(...) value) (...) The order is numerical, either 0->1->2->3->0... or 0->3->2->1->0... That's why legOS has them enumerated that way. The Mindstorms fw numbers them differently, which is why I mentioned it. (...) I don't think your specific example (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
I also tried to move the files into the "demo" directory and then change the makefile, but I still got the same error. Ian (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
No suggestions, but I have the same problem, starting with: makefile:16: ../Makefile.common: No such file or directory (ENOENT) I tried changing the / to \, but it didn't seem to help. (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
I have had a look and no SHELL setting. Anyother clues ?? Cheers Ian (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
Luis, I noticed the HTML files for the current HowTo are generated with SGMLtools. Do you have any sources in SGML, or were those created from LaTex? Some SGML or XML format would be cool, for it can easily be exported to HTML, PDF, PS or others... (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
Make sure there is no "SHELL=" in the environment. If this exists, GNU make will attempt to use the specified shell program. I have found the MKS Toolkit is incompatible with this port of Make. It took me several days to realize the SHELL setting (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  HELP - LegOS for Windows
 
Hello, I downloaded LegOS for windows, but am having some problems. When I try and make the demo programs I get the following errors: C:\legOS\Demo>make makefile:16: ../Makefile.common: No such file or directory (ENOENT) makefile:17: (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
Hi again! Well, after a whole day of thinking :) I realize it's not really easy to coordinate the effort of several paople, and I certainly have more respect for those who run successful such projects. In our case, the point would be to allow many (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: more on the rotation sensor
 
(...) of (...) not (...) value) (...) all (...) These (...) of (...) or (...) are (...) the (...) range (...) the (...) strength (...) to (...) I think I have an idea what is going on. Consider the sensor rotating forwards. If typical readings for (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) Like I said, I have time to edit- if people can contribute, I'll put it together. I just don't have time to play with legOS. (...) I too would like to try out SourceForge. The once catch is that we can't host everything- I believe the windows (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
Hi I am a Software Engineer with some spare time to contribute. My specialty is Real-Time Embbeded Operating Systems and drivers. Mostly in the Telecommunications World, about 6 years. About 4 years in imige processing. I would be willing to offer (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: C++ for legOS
 
(...) Ben> Re: the bloat you mention on your web page, perhaps if you're Ben> going to write a lot of C++ for legOS you should integrate Ben> the libc++ and wrappers++ libraries into your kernel so that Ben> all programs can share them. That would (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) It's a common problem! :) Well, it is like this: right now I have some time, and wouldn't mind to use it for taking care of the docs. But I don't have time to write or edit myself a lot - this is why it would be a good solution to just let (...) (25 years ago, 29-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
I really wish I had time to maintain the docs. Heck, I wish I had time to pay with the toys. :| Unfortunately, the professor who basically gave me credit to write the docs and mess with everything has left Duke for private research in New Jersey (he (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: C++ for legOS
 
(...) Re: the bloat you mention on your web page, perhaps if you're going to write a lot of C++ for legOS you should integrate the libc++ and wrappers++ libraries into your kernel so that all programs can share them. That would double (!) the size (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: C++ for legOS
 
(...) Cool! I wish I could try it, but I'll wait until someone gets it running on Windows... :-) Les, I like the way you said: "I don't really know what I'm doing with this stuff. I just hacked 'till things worked." 8^) /Vlad (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  C++ for legOS
 
Hi All: I've got the C++ cross-compiler working for LegOS. I can write & download C++ programs with simple classes, objects, inheritance & polymorphism all working. See this link for details: (URL) find it hard to believe this has not been attempted (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) for creating some documentation on legOS. Sorry that I didn't think about this earlier, but the easiest way would be to just build upon Luis Villa's excellent HowTo!!! The problems are then if he agrees with it, and how to set up the whole (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS documentation
 
(...) well, you could count on me as note-writer for lnp and maybe other stuff. I feel i won't have time to help in the 'orderly fashion thing', as of my experience this kind'a work can get really time-consuming if one want's to get it well done. (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)
 
  Re: Light sensors
 
(...) I looked closer at the readings, and the readings are okay for light backgrounds. For a dark one, however, the value is only half of the time the right one - for the other half 0x1F0 gets added to it... Anyone ideas why this is happening? (...) (25 years ago, 28-Jan-00, to lugnet.robotics.rcx.legos)


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

Redisplay Messages:  All | Compact

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