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 / *804 (-40)
  Re: using the remote control with legOS
 
(...) with an unpatched legOS-2.3, there's no easy way to do that. The incoming buffer is a static array inside function lnp_integrity_byte(), it's not accessible from outside. However, there is a hard way out (i used it during development of lnpd) (...) (25 years ago, 8-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP Example please
 
Thankyou very much Martin, that worked like a charm except for the lnp_addressing_write...t,srcport) which works as lnp_addressing_send(...t,srcport) Probably just a typo just thought I better let anyone else know who maybe interested. Now all I (...) (25 years ago, 8-Feb-00, to lugnet.robotics.rcx.legos)
 
  using the remote control with legOS
 
the LNP stuff is neat, but it seem's that the remote control isn't using either "integrity" or "addressing" protocol how do I access directly the incoming IR buffer ?? I didn't see any source code for "lnp_integrity_set_handler" , how does it work ? (...) (25 years ago, 7-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP Example please
 
(...) To get a somewhat crude explanation of how LNP works, and how to make RCXs with different LNP-Hostaddresses, i'd suggest to read thread 'LNP Addressing Schemes', last week in this newsgroup. However, if you don't need addressing or several (...) (25 years ago, 7-Feb-00, to lugnet.robotics.rcx.legos)
 
  LNP Example please
 
Does anyone have an example or two of using LNP so two RCX units can communicate with each other? I have been searching all over the place, looking through the header files and everything for weeks. Am I missing some well hidden documentation page (...) (25 years ago, 6-Feb-00, to lugnet.robotics.rcx.legos)
 
  RE: Tactical Robot - A robot that play a board game REALLY!!!
 
(...) original LEGO firmware can be busted wide open when you look at alternative firmware. In Francesco's case, packaging a C library for everyone is a big step forward. Many of you may remember that Kekoa's original C interface to the ROM was done (...) (25 years ago, 5-Feb-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: Tactical Robot - A robot that play a board game REALLY!!!
 
WOW! I didn't know any thing like that was possible with the RCX. Does it know when it wins? How long did it take to program? Thats incredibly. (...) (25 years ago, 5-Feb-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Tactical Robot - A robot that play a board game REALLY!!!
 
I have done a 5-level depth robot that play a real board game (URL) Francesco (25 years ago, 5-Feb-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Re: docs/sourceforge/etc
 
Of course, then again I could look and see that there already is a lego-doc.sourceforge.net. Now whether or not TLG approves of that URL is another matter (I was trying to think of another option, since Lego doesn't want "lego" in a URL.) The rest (...) (25 years ago, 4-Feb-00, to lugnet.robotics.rcx.legos)
 
  docs/sourceforge/etc
 
Hey, y'all- Sorry to say that this has been a long week, so while I've looked into the annotation system somewhat, I haven't gotten anything running yet. I hope to look into it further tonight- the php web site has some very nice and open code that (...) (25 years ago, 4-Feb-00, to lugnet.robotics.rcx.legos)
 
  How good is the light sensor ?
 
Hello, I just bought a Mindstorm set and am testing it out. When I went through the tutorial on the CD I could not get the motors to stop when the light sensor was activated. When I loaded Legos (thanks Rossz), I ran the demo program linetrack and (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: Setting a different com port w/ frmdl3 and dll
 
Ooops, Figured it out. When you set the RCXTTY variable, leave out the spaces. ie: set RCXTTY=com4 NOT: set RCXTTY = com4 The whitespace is not parsed out by the MS-DOS command line. Now that I have the frmdl3.exe and dll.exe recognizing com4, I'm (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: Setting a different com port w/ frmdl3 and dll
 
Thanks for the info, I tried setting the environment variable (running Win 95) RCXTTY=com4 without much effect. I did get frmdl3.exe to send out to com4 with the following: frmdl3.exe --tty=com4 legOS.srec However, dll.exe still won't send via com4. (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: More light sensors in legOS
 
(...) still (...) added (...) I'm working on similar measuring too. I'm getting quite stabile values, but quite noisy too... I don't know if it's the same problem (I'm reading the values in decimal). I've just converted "0x1F0" to dec... Too much, (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  More light sensors in legOS
 
Hi again! I did not get any answers for my previous question about this, and I am still puzzled as for why light sensor readings for a dark background have 0x1F0 added to them once in a while (more often than not, actually) any ideas for what might (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: PC -RCX comunication
 
(...) please, don't take my little attacks against MS too serious, it's just -- i really dislike their FUD way of making business, and i like to have a choice. However, i feel we shouldn't discuss this too much in this place. (...) Well, imho the (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP Addressing Schemes
 
(...) It's quite simple: Currently, there are two kinds of LNP-Packets: the first one is called the integrity packet (switch your mail-reader to fixed font now): +--+---+---...---+---+ |F0|LEN| IDATA |CHK| +--+---+---...---+---+ F0 : identifies an (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: PC -RCX comunication
 
(...) OK. I agree with you about open-source OS. I like linux, but I prefer using visual programing in the PC side (Visual C++ o Visual Basic). (...) What about the QC examples? I've seen a easy interface IROn, IROff, IRReady, IRSend IRReceive .... (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: Setting a different com port w/ frmdl3 and dll
 
The easiest way is to set the environment variable RCXTTY to the com port you want to use. Type the command set RCXTTY=com4 before you run firmdl3 or dll, or add the line to autoexec.bat Cheers Philip -----Original Message----- From: David Chen (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
"Rossz Vámos-Wentworth" <rossw@jps.net> wrote in message news:38989DC8.62ED27...jps.net... (...) of (...) (COMMAND.COM & (...) The problems that you are mentioning generally only occur after running 16-bit programs (and thus ending up with a 16-bit (...) (25 years ago, 3-Feb-00, to lugnet.robotics.rcx.legos)
 
  LNP Addressing Schemes
 
I have the basic Linux<->RCX Infra-red comms. working using lnp calls on the RCX and Martin Cornelius' lnpd on the Linux end. I have a few questions about this: Addressing: . How does the addressing scheme work? . Can a RCX address more than one (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
(...) The DJGPP tools are 32-bit. It's a limitation of the DOS shell (COMMAND.COM & CMD.EXE) that is the problem. Cygwin doesn't have a command line limit problem, but it has its own unique headaches. Read the number of posts of people trying to get (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: HELP - LegOS for Windows
 
"Rossz Vámos-Wentworth" <rossw@jps.net> wrote in message news:FpACn3.FLt@lugnet.com... (...) gets (...) aren't (...) remove (...) make (...) Why are you using the 16-bit (DOS) DJGPP tools under Windows NT instead of the Cygwin 32-bit stuff? You (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  Re: PC -RCX comunication
 
(...) the only windows example i know about is the dll program, but AFAIK it was not trivial to get this program to run under winXX. if you don't insist on being constantly bored by a closed-source OS ;-), there is another solution: Under linux, you (...) (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  PC -RCX comunication
 
Where can I find an example of using PC-RCX IR comunication? I prefer using windows in the PC. (25 years ago, 2-Feb-00, to lugnet.robotics.rcx.legos)
 
  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)


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

Redisplay Messages:  All | Compact

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