To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *4655 (-100)
  Re: What are Opcodes for ...
 
hi Dave, thanks, I forgot that information totally, I normally use the site of Kekoa, which is easier to access. By the way, I presume you mean option -L instead of -l ;-) (...) -- met vriendelijke groet, Stef Mientki email: s.mientki@ids.kun.nl (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: What are Opcodes for ...
 
There's a good document in the Lego SDK that explains all of the opcodes. If you want to see which opcodes particular NQC instructions are using, just generate a code listing with the -l option. Then refer to the Lego documentation for the format of (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: RCXCC or Visual NQC 2001?
 
(...) I'm currently updating/modifying/developing RcxCC and plan on doing so for a very long time to come. If you haven't tried my revised version you should definitely do so. (URL) in the middle of some major revisions that I think will be of (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Floating ponts ??
 
Hello everybody I am writing a program that uses floats, but I have some problems. If I write /******/ float p; p = 0.3; if(p == 0.4) do something; /******/ The if statement evaluates to true. Is there anything special I have to do to use floats in (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.legos)
 
  What are Opcodes for ...
 
hi All, (specially Dave) I'm building a realtime graphical viewer ,like Michael Gasperi's Mr. Sensor, but with more possibilities (see (URL) goal is to get an 100 Hz througput from RCX to PC. At this moment I've reached 40 Hz, and the main (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: RCXCC or Visual NQC 2001?
 
(...) Presumably this doesn't sit on top of NQC though? (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: RCXCC or Visual NQC 2001?
 
(...) And, you should also consider ROBOLAB, by Pitsco-Dacta. That icon-based program is greatly in the spirit of LEGO and I find it a lot of ...fun! Jerry (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: RCXCC or Visual NQC 2001?
 
I started out using RCXcc and love it. Recently (last two weeks) I've been using Visual NQC and it too is good. In fact you can say it is RCXcc on "steroids". And while I LOVE RCXcc I must say that go with Visual NQC. The only reason for this is (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.nqc)
 
  RCXCC or Visual NQC 2001?
 
I picked up my RIS 1.5 at the weekend and have build my first robot using the construcapedia. I decided to start simple so have built the bot with tank tracks and 2 touch sensors triggered by the bumpers at the front. So I'm now ready to start (...) (23 years ago, 2-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: Visual NQC 2001 final version
 
The site was blocked because of to many traffic till the end of april. You can access the site normaly now. (May 1st) Ronald Strijbosch (...) (23 years ago, 1-May-01, to lugnet.robotics.rcx.nqc)
 
  Re: Blocking The Lego Remote?
 
(...) When we were working on setting up independently controlled LEGO bots we found this site: (URL) is a program to download which uses standard gamepad controllers as inputs and sends IR signals out through a single LEGO IR tower to control up to (...) (23 years ago, 30-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Visual NQC 2001 final version
 
Has anyone else run into the problem of the website *NOT* being there? I click on the link below and I get an error is some other language saying that the site is *NOT* available. (...) (23 years ago, 29-Apr-01, to lugnet.robotics.rcx.nqc)
 
  RE: LegOS bug - firmware unlock string not below CC00h in some circumstances
 
(...) Argh! This is so typical of many embedded projects that I have seen go sour over the years. It's due to not using the linker to full advantage. In my firmware, I declare the string in its own .text section (you can do this in inline assembler (...) (23 years ago, 29-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: Blocking The Lego Remote?
 
(...) Aluminum foil wrapped around the RCX works... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (23 years ago, 28-Apr-01, to lugnet.robotics.rcx.nqc)
 
  LegOS bug - firmware unlock string not below CC00h in some circumstances
 
Just thought I'd better report this... Firmdl3 is unable to download very large statically linked programs (with a .text segment greater than 4c00h bytes). Unlike previous size related bugs, this is *not* caused by firmdl, but rather by kmain.c. (...) (23 years ago, 28-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: HELP, has anyone ever seen SPIRIT.OCX events ??
 
Thanks Chris, I was just looking for that confimation. There are more bugs in the spirit.ocx, ever tried to read the sensor mode ? Well you'll probably get the sensor mode multiplied with 32. I've just reported these bugs to Lego. I've also asked (...) (23 years ago, 28-Apr-01, to lugnet.robotics.rcx)
 
  Re: Blocking The Lego Remote?
 
(...) This is a very basic problem with the whole LEGO IR protocol -- you can't address a specific RCX/Scout without also reaching every other brick in the room. I believe this is the reason why the RCX has the short-range IR setting. The approach I (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Blocking The Lego Remote?
 
Let me clarify. although it still may not be possible, I just want to create 2 lego BattleBot like robots. A Scout based bot being controlled by one person with the Lego Remote and a Second bot being controlled via RCX to RCX like in the Lego (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: HELP, has anyone ever seen SPIRIT.OCX events ??
 
(...) I just hacked together a quick-n-dirty C++ program to talk to Spirit.ocx. It unlocks the brick and downloads new firmware into the RCX, all using the public methods exposed by Spirit.ocx. I sink events from the .ocx, and I don't get any COM (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx)
 
  Re: C standard functions with legOS?
 
(...) As other people have pointed out, its not possible to use them straight off. I've written some floating point code for my own use to do conversions between rectangular (x,y) and polar (dist, bearing) calculations. The codes not documented I'm (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: Blocking The Lego Remote?
 
Hi Stephen, you will not have success with this approach, because the LEGO firmware has no collision detection (especially no collision avoidance !) for their IR protocol. So if you're using more than 2 IR devices with LEGO firmware you will receive (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another RcxCC revision
 
(...) non-functional at the moment. Thanks to Shane Seward for reporting it. I've fixed it but I won't have a new release up on my website for another day or two. For now you can work around the problem by using the command-line parameters or by (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: C standard functions with legOS?
 
(...) I've been meaning to butt in on this discussion sometime, but I got caught up in things, but better late than never. The source you refer to is probably mine. I wrote a suite of fixed-point math routines for multiplication, division, and (...) (23 years ago, 27-Apr-01, to lugnet.robotics.rcx.legos)
 
  MindScope, watch sensors/vars/timers in a graph
 
hi All, I build an extended PC-scope to watch sensors ans local variables in the RCX. The basic idea came from the program "Mr. Sensor" build by Michael Gasperi. (URL) Mientki (23 years ago, 26-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Blocking The Lego Remote?
 
Problem: I Have 2 Lego RCX's 1 Lego Scout and a Lego Remote. I want to build and operate 2 robots at the same time. One robot out of the Scout being remotely controlled by the Lego IR Remote and the Other with 1 RCX being controlled remotely via IR (...) (23 years ago, 26-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: C standard functions with legOS?
 
(...) An alternative is using fixed point math. There was some posts time ago, with C source for trigonometric functions. If you are interested, I should have links to them, somewhere (or do a `search' :-). bye Bernardo New e-mail: (...) (23 years ago, 26-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: C standard functions with legOS?
 
(...) The cross-compiler is set up to not use standard libraries. This is to give more control over the code produced. Also, many standard functions just wouldn't work on the H8. There is a float library (lib/float), which allows use of floating (...) (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: HELP, has anyone ever seen SPIRIT.OCX events ??
 
(...) I mean the active-X events, like "ondownloaddone". I've never seen an active-X component for which you should enable the events. So I presume spirit.ocx will fire an "ondownloaddone" event, when it's ready with the download. But spirit (...) (23 years ago, 25-Apr-01, to lugnet.robotics.rcx)
 
  RE: NEED TOUCH/LIGHT SENSOR HELP FAST!!
 
(...) OK, I'll chime in..... First, this should go to lugnet.robotics.rcx, so I'll post it there and leave the reply in build, but follow up to robotics, please. Without sample code, we can't help, but that's a bit much to ask anyways. Start small, (...) (23 years ago, 25-Apr-01, to lugnet.build, lugnet.robotics.rcx)
 
  Re: HELP, has anyone ever seen SPIRIT.OCX events ??
 
(...) Have you enabled the events? You need to both define an event and enable it before it will work. --Ian (23 years ago, 25-Apr-01, to lugnet.robotics.rcx)
 
  C standard functions with legOS?
 
Is it possible to use functions from C standard libraries with legOS, e.g. sin() from math.h or abs() from stdlib.h? They are a part of gcc, but e.g. math.h seems to produce compiler errors. Best regards. Michael Wisse (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: lcd
 
Yes, if you have three values, just display them like this : cputw((VALUE_1 << 8) + (VALUE_2 << 4) + (VALUE_3)); (...) (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
 
  lcd
 
Is it possible to display 2 lcd intergers on the screen at the same time? ie 2 rotation sensors. Thanks in advance chris (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
 
  Yet another RcxCC revision
 
Okay, thanks to the input from some of you who have tried my revised RcxCC I have recently fixed a few bugs and added a few more user-configurable options. Find the latest revision to RcxCC at: (URL) this version you'll find: 1) Fixed the NQC (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Sensor Commands and legOS 0.2.3
 
(...) TOUCH_1 is a macro defined in dsensor.h starting form version 0.2.4. If you don't want to upgrade, here is the code: #define TOUCH(a) ((unsigned int)(a) < 0x8000) #define TOUCH_1 TOUCH(SENSOR_1) #define TOUCH_2 TOUCH(SENSOR_2) #define TOUCH_3 (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
 
  Sensor Commands and legOS 0.2.3
 
I just installed legOS 0.2.3 under Redhat 6.2, using the RPM's that were linked to in the HOWTO. Everything I have tried so far has worked great, except for getting my touch sensors to work. The documentation I have read said that in 0.2.x one could (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: RCX and IR Range Characteristics?
 
hi Ralph, I think I'm lucky. I just did some experiments with a modified IR-tower. The modifications were: the "keep alive trick" from John Barnes and my own trick to add a few more diodes to get rid of the 9V battery. Without a batttery in the (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx)
 
  RE: RCX and IR Range Characteristics?
 
As expected Jeff Hazen and John Barnes sent along a few itmes of interest. (...) Jeff asked if the diffuse cover of the tower had any effect at all. From my experiments, Jeff - the answer is no. John Barnes suggested that the bit-balancing act that (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx)
 
  Re: RCX and IR Range Characteristics?
 
(...) SNIP (...) SNIP Not experience, but perhaps the location of the IR diodes in the tower is effecting it's peformance? As other people have noted before, the diodes are not located behind the smooth molded "windows" in the tower, but lower, (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx)
 
  RE: LegOS scheduler questions
 
(...) I don't /think/ so, but I don't have time to check to be certain and it has been now literally 10 months since I looked at kernel source. :\ (...) See #1. :\ (...) By design? As many as you can throw at it- there is no hard-coded limit, and (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
 
  RE: LegOS scheduler questions
 
Folks, This is my first day with Leogs. I just installed Legos, compiled a program and have run it successfully. Haven't got a chance to take a look at the kernel source. I have the following questions and any response will be greatly appreciated. (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
 
  RCX and IR Range Characteristics?
 
Hi All, A while back, Ben Erwin asked about other user's experiences with the IR tower and range. I'm trying to characterize a persistent problem with the pbForth serial library, with respect to message reliability. It seems that even in high range (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx)
 
  Re: CD-ROM Sample for Creative Projects with LEGO Mindstorms!
 
I liked your book, "Creative Projects with LEGO Mindstorms". We need more books like yours on the Mindstorms market. I've always spun wheels thinking I've got to build a robot that does something like sweep the floor... or maybe that was just (...) (23 years ago, 23-Apr-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
 
  WinLNP issues
 
For those who prefer the Java programming language, I've written some classes that may help with LNP. What you need is : the JDK 1.2, the Java Communication APIs (classes for Java communication through the serial port, and my classes located at : (...) (23 years ago, 23-Apr-01, to lugnet.robotics.rcx.legos)
 
  Visual NQC 2001 final version
 
CHECK THIS OUT!! The final version of Visual NQC 2001 is available now on (URL) this moment only the English version is available for download but the Dutch and German versions will come soon. For more information about new features see News on the (...) (23 years ago, 23-Apr-01, to lugnet.robotics.rcx.nqc)
 
  More LNP Issues
 
Thanks to Rainer for helping me with the stupid compiler bug :) Now that the PC side of LNP is working, I'm having troubles with the RCX side... I've modified the LNP sample provided on the WinLNP page as follows (with the includes trimmed): #define (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.legos)
 
  Question for John Barnes
 
hi John, Some time ago there was a discussion about keeping the IR-tower alive. I want to keep the IR-tower alive, for fast data transport from RCX to PC. You mentioned that you had drawn the circuit diagram, but you never published it. Do you have (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx)
 
  Re: Revisions to RcxCC
 
(...) Hmmm, it seems to be correctly passing -TRCX2 on the command line in my testing. I haven't actually tested with a brick containing the RCX2 firmware, but when I put an RCX2-only command in a program it compiles fine when I've selected RCX2 but (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) With the amount of work you have put in on this it should be I who apologizes for pestering you. I tried the most recent version. It is correctly finding the nqc compiler now. Unfortunately it doesn't appear to be passing the correct command (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) Whoops. I was assuming that since Mark's version put NQC in the same directory as RcxCC everyone was using the NQC in the same directory. I hadn't tried it differently myself. So in one of my past revisions I stuck a path on the front of the (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) Hi John, I just downloaded the 'latest' version, RcxCC.exe is timestamped 4/16/01 5:23pm. It looks like this version, like the one immediatly before it, requires that nqc.exe is in the same directory as rcxcc.exe. With previous versions of (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) Dean, I may have broken something in RcxCC related to running NQC. I'll take out the code I put in that pops up that error message and, with any luck, things will be back to normal. The odd thing is I can't figure out the conditions that make (...) (23 years ago, 22-Apr-01, to lugnet.robotics.rcx.nqc)
 
  CD-ROM Sample for Creative Projects with LEGO Mindstorms!
 
The link is small from the fatbrain site, so I barely noticed it: (URL) - Instructions and Movies Flashlight Follower - Movies and Programs Copy Cat - Movies only (The link is from here: (URL) (23 years ago, 21-Apr-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
 
  HELP, has anyone ever seen SPIRIT.OCX events ??
 
The spirit.ocx definies a number of events (far more than in the ocx documentation are mentioned), but neither one of them seems to work. I've logged them all, but a never saw one comming up. Someone reported the same problem with the cybermaster. (...) (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  SALE on Creative Projects with LEGO Mindstorms at Fatbrain!
 
***Creative Projects with LEGO Mindstorms is 30% off!!! Sale lasts until April 30.*** ROBOTICS SPOTLIGHT (URL) INTERVIEW, Ben Erwin (me) (URL) INTERVIEW, Joe Nagata (URL) (23 years ago, 21-Apr-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) By looking at your work with 'RCX internals', dumb is not the word i'd use :) I'd rather think of something like 'bit wizard' Björn (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  Re: Revisions to RcxCC
 
I feel pretty stupid asking this question, but I can't seem to solve the problem myself. When I try to compile a program using John's RcxCC tool I keep getting the message: Unable to execute NQC. Check your installation. I'm running Windows 98. To (...) (23 years ago, 21-Apr-01, to lugnet.robotics.rcx.nqc)
 
  RE: H8/300 Assembler/C interface
 
(...) Sorry, looks like I need sleep too! (...) Hmm, looks like r2 is a copy of the high byte of the second long, but the complete long is pushed onto the stack! So the thing about GCC NOT splitting is true, it just keeps a copy of the higher order (...) (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  Re: raw touch sensor values
 
(...) SENSOR_1 gives you the raw value from sensor 1. TOUCH_1 gives you the boolean value if it's a touch sensor. In fact SENSOR_1 gives you the raw value no matter what type sensor it is. HTH ROSCO (23 years ago, 21-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: H8/300 Assembler/C interface
 
(...) -fomit-frame-pointer, but it can cause problems debugging (obviously not important here). John A. Tamplin jat@jaet.org 770/436-5387 HOME 4116 Manson Ave 770/431-9459 FAX Smyrna, GA 30082-3723 (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) Not my GCC: 00000016 <_main>: 16: 6d f6 mov.w r6,@-e7 <-- save frame pointer 18: 0d 76 mov.w r7,r6 <-- new frame pointer 1a: 6b 00 00 00 mov.w @0x0:16,r0 <-- r0r1 is 1st long param 1e: 6b 01 00 00 mov.w @0x0:16,r1 22: 6b 02 00 00 mov.w (...) (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  raw touch sensor values
 
Hello, Can you access the raw touch sensor values in legOS? I know you can do it in NQC but I haven't figured it out in legOS. Thanks in advance, Nate Ridderman (23 years ago, 21-Apr-01, to lugnet.robotics.rcx.legos)
 
  RE: H8/300 Assembler/C interface
 
(...) Geez Kekoa, get some sleep. The GCC makes the callee clean up the stack. My pbForth ROM interface routines assume that the caller cleans up the stack, just like your RCX library which must have been confusing for you :-) I'll post all this in (...) (23 years ago, 21-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) A brief review of the ROM disassembly seems to indicate the routines in ROM save r0-r5 if necessary. For example, the routine at 070c saves all registers. Like you said, parameters are passed in r6 with extra parameters on the stack. The (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
One more question for Kekoa before I'm done... The RCX ROM routines take a parameter in r6, with additional params on the stack. Return value is in r6 too. Are all other registers considered volatile through the call, or do the ROM routines save (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  Re: Interfacing Sharp's GP2D02 Distance Sensor to the RCX
 
(...) Hi All, Philo has a really excellent and well documented solution to the issue 'distance sensor at RCX'. quoting 'connect the analog output GP2D12 sensor using the simplest design possible ' visit: (URL) u.. Andreas (23 years ago, 20-Apr-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  RoboLab Webring
 
|I am interested in starting a webring for web sites that primarily use |RoboLab. I noticed that there was a Mindstorms webring, but that the sites |associated with this webring mainly focus on the RIS programming |environment. I have found that the (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx.robolab, lugnet.edu, lugnet.robotics)
 
  Re: H8/300 Assembler/C interface
 
(...) No no no! Sorry. They are NOT split. Boy am I dumb. -Kekoa (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
(...) Not to be too obtuse, but your first message says that long and float are never split across r2 and stack. So you're saying that they ARE split? That's fine, because it makes things a lot easier - not that any of my functions actually need to (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) To be more specific, I wrote C code, then disassembled it. The C types "long" and "float" are both split. -Kekoa (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) I wrote C code and then disassembled it. :) -Kekoa (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
(...) I've just done some more browsing and found this tidbit: (URL) It seems to indicate that tghe registers are always filled and that a long may be split across r2 and the stack. Comments? Cheers, Ralph (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  Re: error from makelx: address out of bounds
 
I've found it. They must be declared as static: static LightSensor s(LightSensor::S3,false); int main(){ ... } Regards. Michael Wisse (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: WinLNP Issues
 
Hi Matt, i had the same problem. That's a Microsoft *feature* ;-) that comes with visual C++ 6.0. (This problem is described in the MSDN. If you've got it installed, you 'll find details there.) You have to get a service pack for this compiler. Get (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx.legos)
 
  Ross
 
Thanks Ross, I apreciate and value your advice in my persuit of enlightment:-) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx)
 
  WinLNP Issues
 
I'm trying to compile WinLNP, and I've run across a baffling problem: h:\program files\microsoft visual studio\vc98\include\...til.h(101) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786) Please choose the Technical (...) (23 years ago, 20-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: code
 
(...) [snip] (...) Can't see anything glaringly obvious, except you've used different priorities for your tasks. As they're infinite loops with no waiting, it's probably better to make their priorities equal. But the best way is probably to do all (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx.legos)
 
  RE: H8/300 Assembler/C interface
 
(...) Ahhh, that makes it awkward with the RCX ROM calls, but I'm pretty sure I can make my assembler source compatible with this. I'm just getting ready to release an assembler RCX serial library that is either polled or interrupt driven. Any (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) By the caller? No. They are callee-save. -Kekoa (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
(...) Thanks Kekoa. One more question, are the other registers r3,r4,r5,r6 considered volatile across a function call in GCC? Cheers, Ralph (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  code
 
Hi,I'm trying to run 2 infinate loops at the same time. Is this possible? this is an example of what I'm trying to do. thanks #include <unistd.h> #include <dmotor.h> #include <dsensor.h> #include <conio.h> #include <time.h> pid_t fun_a; pid_t fun_c; (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: H8/300 Assembler/C interface
 
(...) Yeah, you are right. My bad. -Kekoa (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  RE: H8/300 Assembler/C interface
 
(...) Not necessarily, that's why I'm asking. If the caller cleans up the stack, then the function just does an RTS and the caller adjusts the stack because it knows how much stuff was pushed on. For programs with lots of calls, this generates extra (...) (23 years ago, 19-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) Also: - caller cleans up parameters on stack - stack pointer is r7 The caller must clean up stack parameters b/c the return address is pushed after parameters are. -Kekoa (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  Re: H8/300 Assembler/C interface
 
(...) Somebody correct me if I'm wrong. I just compiled some programs to check this. I believe that maybe the *ROM* calling convection is as Ralph described, but almost definitely the GCC calling convention is: - r0, r1, r2 hold parameters from left (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  RE: RCX+PC=Rubik's Cube Solver
 
(...) DUDE! These are unbelievable......I would never even consider doing something like this due to other time constraints like partners and kids. These are amazing - a must see and candidate for Site of the Week, no? Cheers, Ralph Hempel (23 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  RCX+PC=Rubik's Cube Solver
 
All -- There's recently been some discussion in the Mindstorms Forums about the feasibility of producing an RCX-based Rubik's Cube solver. I am happy to report that I have finished a functional "late beta" version. You can see it at (URL) are (...) (23 years ago, 18-Apr-01, to lugnet.robotics, lugnet.robotics.rcx) !! 
 
  Re: Declarations in header files
 
(...) "extern inline" means that we are defining an inline function, but if the inline function is not used, there is also an externally defined function with the same purpose. So, if you compile without optimization, it acts like "extern void (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.legos)
 
  Data-transfering RCX -> PC in LeJOS
 
I'm trying to transfer some log-data from the RCX to the PC, using the "Serial.sendPacket(byte[] aBuffer, int aOffset, int aLen)", but it does not seem to work with a packet-length bigger than approx.. 24 bytes. The packet is constructed as a (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.java)
 
  H8/300 Assembler/C interface
 
Does anyone know offhand what the calling convention between C/C++ and H8/300 assembler is using the GNU tools? The assumptions I'm making are as follows: R7 is the stack pointer R6 is the first (leftmost) parameter passed and the result R0-5 are (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx)
 
  NQC and Fixed Point Values
 
My recent project, with NQC, has started to demand calculations with fractional numbers. In an effort to do this, I have quickly come to know the sorted world of floating points, BCDs, 1 – 2 s complement etc. I realize the only way to go about all (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Using 'containers' in Robolab
 
Thanks to you and Ben Irwin for your replies. After considerable beating my head against the wall I found my mistake: For the value in the angle container I had a constant instead of 'value of port 2' modifier. I surely will not forget that one. (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.robolab)
 
  Re: Electrical Data Link between 2 RCXs
 
It's me again with some improvements for an "Electrical Data Link between 2 RCX". In the current version I changed the default condition of the link to "high" (in the transmitter: OFF(OUT_B)) so that the receiver has a 1 at its sensor input. So, you (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.nqc)
 
  RE: New RcxCC revision posted
 
Hi, Ok, so, I got home, downloaded the .zip, installed it on my "LegoStation" (a 486 with RCX2 on COM2 and CyberMaster on COM3) over the last version. I think this was the "3.2 May 16th" Version. Started up, defined the window sizes and positions (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.nqc)
 
  error from makelx: address out of bounds
 
Hallo! My question again: I tried to declare sensors global, out of main(): Motor motor(Motor::B); LightSensor s(LightSensor::S3,false); int main(){ ... } make reports an error: /home/micha/legOS/util/makelx test.ds1 test.ds2 test.lx test.ds1: (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: New RcxCC revision posted
 
(...) Be sure to use the most recent version to test the startup options. I tested it the other day and it seemed slightly broken but the last round of fixes which I uploaded on Saturday may have fixed the problems. I'll be doing some more testing (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Dropping your RCX on the floor...
 
"Tobias Möller" <tobias.moller@telia.com> wrote in message news:39DDEC5A.24DD89...lia.com... (...) didn't... Heh, this reminds me of when I first opened my RCX set. I hadn't used lego for years, and was working as a programmer, and thought, (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx)
 
  Re: RoboLab prg size limit?
 
(...) There are some minor bugs in Robolab 1.5, so I always use version 2.01 or higher. If you email me the program, I would be happy to play with it. (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab)
 
  Re: Using 'containers' in Robolab
 
(...) What version of Robolab are you using? I use Robolab 2.01 and have not had the problems you are describing. As an example of using the Angle Sensor, I tried the program: Empty Container - Blue Zero Angle Sensor - Port 1 Wait 2 Play Sound 5 (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab)
 
  RE: Internet Controlled Robots
 
What a strange coincident. I had just posted the message when I went to my mailbox to find an examination copy of your text. I immediately checked to see if your text included any information and of course found it. You text is wonderful and as I (...) (23 years ago, 16-Apr-01, to lugnet.robotics.rcx.robolab, lugnet.robotics.edu, lugnet.robotics)


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

Redisplay Messages:  All | Compact

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