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 / *455 (-100)
  Re: signals / legOS internals
 
(...) The stack pointer must always always always point at the bottom of the stack data area, i.e. to the last valid data item on the stack. As a consequence, push val (or mov.w val,@-r7) never overwrites data. When an interrupt occurs, the first (...) (25 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
 
  signals / legOS internals
 
Peek-a-boo! I've been banging my head against this a bit and thought I'd see if any of you can shove me in the right direction. I am trying to implement signals in legOS. The problem is that a signal can happen at any time. I know how to make that (...) (25 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: IR questions
 
(...) Only transmitting keeps the tower alive, at least according to my tests. If absolutely necessary, an occasional 0xff sent by the PC will keep the tower alive; this will result in only a start bit being sent, which ought to occupy very little (...) (25 years ago, 22-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  IR questions
 
This is a whole bunch of IR questions, which come from my first serious fooling around with the IR. Since some of these are legOS or Linux specific, I've cross-posted- I hope no one is too offended. 1) Despite putting the bot in an infinite while (...) (25 years ago, 22-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: legOS make newbe question
 
(...) I'm sorry it took so long to reply, Phil, but as a non-windows user, well, I didn't see much in the initial messages that led me to think I could help. From what I've seen, this is the cause of the error- the two Makefiles (Makefile and (...) (25 years ago, 22-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: www.legOS.net, maybe?
 
(...) Markus, It might be a good idea to carefully review the LEGO Group's policies on domain names, possibly even retaining an attornery if you are serious, or contacting TLG attorneys with specific questions. Note that TLG's "Fair Play" page (URL) (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  [ANN] pbFORTH 1.0.5 for RCX
 
Finally, I have got pbFORTH to where I can release it again. It now has: - A simple cooperative tasker - A marker word so you can erase things easily - Support for poweroff - High res (10msec) count down and stop timers - Various and sundry fixes (...) (25 years ago, 21-Jun-99, to lugnet.robotics, lugnet.robotics.rcx.pbforth)
 
  Re: Blocking IR
 
Hi Kekoa, Could you post your working IR .srec code or email me if possible? I have tried the examples with the LegOS read sensor routines and I still get the same results. i.e. it works at about 2mm from the unit but fails after more than 5mm. I (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: www.legOS.net, maybe?
 
Well, for at least one year (possibly two) I can keep binaries and other large items on arthurdent (which is where the HOWTO and my Debian binaries are kept.) Let me know if you want space... -Luis (...) ###...### Profanity is the one language that (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: www.legOS.net, maybe?
 
(...) ??? Are you sure: I just looked, and they appear to redirect to some other site ((URL) who give you 20 MB and register you at InterNIC - but here's the catch: InterNIC will bill you! There's also a 1.2 MB file size limit (which may or may not (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  www.legOS.net, maybe?
 
Hello, sorry for being out of touch. I just stumbled across a service called www.registernic.net. Apparently, they are handing out .com, .org and .net domains and 6MB of webspace free for two years. They register in your name, and they don't even (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
I'll have to wait now till I get home from work to try the examples :( Phil (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
Thanks for all of your help. I am surprised also, I thought alot of others were successfully using legOS and thought there would be someone who had gone through this. I checked as you said, and c, c++ and mint are in the legOS.0.1.7 lib directory, (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
In addition to what I mentioned in the previous message, I also set the sensor input port to active. Setting it to passive also works, in which case the ambient light level seems to be around 480-495, and the sensor aimed directly at the IR port (...) (25 years ago, 21-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
(...) So I just tried this, and it took more than a few minutes to get it to work. But it does work. Apparently, the modulation of the IR signal is needed for the light sensor to give a reading. The standard modulation used during regular IR (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
(...) I doubt you have a broken RCX. If you did, firmdl.c would not download firmware correctly. (...) That is a good thing to try; I suppose it did not help things? (...) I don't see why you couldn't post the .srec file. I don't know if you also (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
(...) Too bad nobody who actually uses LegOS is speaking up. I was under the impression you weren't supposed to move any makefiles around, and that you were just supposed to edit the appropriate makefile (probably Makefile.common) and type make at (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
I've got it making the first-c++.o file now, but it chokes because it can't find the first-c++.coff file. Probably because it's not being made for some reason. Here is the current make message: snip-- C:\legOS.0.1.7>make h8300-hms-ld -T h8300.rcx (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
Thanks for your help but I think I might have a broken RCX. The code I've been testing and the examples you have help me with all work if I place the light sensor about 2 mm from the IR transmitter. At about 2cm it no longer works at all. I have (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
Thanks for helping me through this, but nope, That was a mistake when I typed it into the message. The makefile.common has the slashes placed as you show them.. I put Makefile.common and makefile into the LegOS demo directory, Is this the correct (...) (25 years ago, 19-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
(...) What if you change the \ to a /, and add a trailing /, as in: LEGOS_ROOT=/cygnus/c...gOS.0.1.7/ -Kekoa (25 years ago, 19-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
Thanks, make -v GNU Make version 3.75, by Richard Stallman and Roland McGrath. Copyright..... Report bugs to..... C: -Phil (...) (25 years ago, 18-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: legOS make newbe question
 
(...) For starters, how about the output of "make -v"... -Kekoa (25 years ago, 18-Jun-99, to lugnet.robotics.rcx.legos)
 
  legOS make newbe question
 
I've tried so many times to get LegOS running, but sure I have problems with the Makefile.common Any help from you experts would be greatly appreciated. BTW, I have some experience with gcc and makefiles, and was able to get the paths correct for (...) (25 years ago, 18-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
Regarding your program. Try sending 0s, not xs, i.e.: char *buffer = "\0\0\0\0\0"; Zeros are coded with the IR on 91% of the time, while xs are coded with the IR on only 45% of the time, neglecting the modulation, which cuts that all down by half. (...) (25 years ago, 16-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
Here is some code for IR detection, with the help from Kekoa. However it doesn't work. I know the hardware is all working because if I run minicom and then run this programme and point the RCX at the lego tower junk appears on the screen. If I take (...) (25 years ago, 15-Jun-99, to lugnet.robotics.rcx.legos)
 
  Announcement: OnScreen Programming for Legos RCX
 
(URL) readme.txt (ASCII version of web page, note some of the content reads especially better on the web, or using a fixed spaced font): OnScreen Programming version 1.0 for Lego Mindstorms Once installing this system, the Lego Mindstorms RCX can be (...) (25 years ago, 15-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  emulegOs ported to Linux/Unix platforms
 
Mark Falco completed the first port of emulegOS to the Linux/Unix platforms. He did the gui with Tcl/Tk, a popular scripting tools available for many platforms including Win and Mac. This version will probably become the *standard* version of (...) (25 years ago, 14-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Lego Network Protocol questions
 
Ralph Hempel wrote in message <000001beb0e4$f9d0df...pro150>... (...) I'll back you up on this as well. I did some experiments using two towers connected to two different PCs, and found that I could send raw bytes from one PC to the other without (...) (25 years ago, 14-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: Blocking IR
 
Great, I'll try this out tonight. Many Thanks, Phil. (...) (25 years ago, 14-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Are there any limitations/restrictions on releasing legOS compiled programs (.srec files)?
 
I am not a lawyer, but I have been interested in license issues for some time. Because LegOS is basically a library and not really an OS, and because it is compiled in with the rest of your code, technically speaking you must release code to anyone (...) (25 years ago, 14-Jun-99, to lugnet.robotics.rcx.legos)
 
  Are there any limitations/restrictions on releasing legOS compiled programs (.srec files)?
 
Are there any limitations/restrictions on releasing legOS compiled programs (.srec files)? I'm aware that legOS itself is MPL (Mozilla Public License), but are the programs that are compiled with it, and contain a portion of it, subject to open (...) (25 years ago, 13-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
(...) I forgot to mention. At the top of dir_write, you probably want to add: if (dir_tx_state == TX_ACTIVE) return -1; Or something to that effect, so you don't transmit a second message while a first is still transmitting, and so you have a way of (...) (25 years ago, 10-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Blocking IR
 
(...) Do you mean dir_write? This is a problem with LegOS only. If you want non-blocking writes, comment out (in version 0.1.7 at least): while(dir_tx_state==TX_ACTIVE) ; // FIXME: scheduler integration if(dir_tx_state==TX_OK) return len; // (...) (25 years ago, 10-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: RCX Tower Internals
 
(...) I'm pretty sure the echo is not direct, it goes out through the emitters and back into the receiver. This is demonstrated by varying the lighting conditions and/or the baud rate and noting the response. If the echo were direct, you'd receive (...) (25 years ago, 10-Jun-99, to lugnet.robotics.rcx)
 
  RE: RCX Tower Internals
 
Kekoa wrote... (...) This might be a really simpleminded circuit. As far as I can tell there are a pair of 132's (simple HC logic chips) - one for each direction. They implement direct echo back, which implies that the channel is really only half (...) (25 years ago, 10-Jun-99, to lugnet.robotics.rcx)
 
  Blocking IR
 
Before I start trying to do this, does anyone know why the LegOS function write_ir is a blocking function? I'm trying to write an IR detection system but am unable to do so in LegOS because every time I write a byte to the IR port the RCX locks up. (...) (25 years ago, 10-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: arbitrary motor allocation
 
(...) Why does the code need a case statement? What interface are you looking for? void motor_dir(motor, dir) and motor_speed(motor, speed)? I missed the previous discussion. This is easy to implement, with no major changes to the code, just an (...) (25 years ago, 9-Jun-99, to lugnet.robotics.rcx.legos)
 
  arbitrary motor allocation
 
If I recall correctly, there was some discussion of a rewrite of the OS's motor code so that arbitrary motors could be assigned by the code without the need for a large case statement in user code. Has that happened? Is it happening? Can I help? (...) (25 years ago, 8-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: RCX Tower Internals
 
Kekoa Proudfoot <kekoa@pixel.Stanford.EDU> wrote in message news:FCzorK.Gyn@lugnet.com... (...) (URL) and compare to see if they look similarly. For me at least, the emitters (...) By the way.. Kekoa, I've looked at your page.. And I've discovered (...) (25 years ago, 8-Jun-99, to lugnet.robotics.rcx)
 
  Re: RCX Tower Internals
 
(...) Mine is like this too, I think. See (URL) compare to see if they look similarly. For me at least, the emitters and detector are slightly above the "clear" section. (...) For me at least, there is no way the components can line up with the (...) (25 years ago, 8-Jun-99, to lugnet.robotics.rcx)
 
  RCX Tower Internals
 
Hi All. I've just had some wierdness with my tower and decided to open it up to see what's inside. My basic issue is that the two emitters and the detector are not lined up (even close) with the "Clear" lens section on the front of the tower. Is (...) (25 years ago, 7-Jun-99, to lugnet.robotics.rcx)
 
  RE: Lego Network Protocol questions
 
(...) I'll back you up on this. My pbFORTH sends a simple character stream and it seems to work fine. No complements are necessary. I sure would like to be able to keep the RCX tower alive, though. I wonder if it's the character going through that (...) (25 years ago, 7-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  tm-and-ir (again)
 
Hi all, I've been using Legos without any major problems but never got the tm-and-ir demo to work properly. I can receive characters on the RCX fine but when the 'view' button is pressed (within 3 seconds) the results are normally junk on the screen (...) (25 years ago, 7-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Lego Network Protocol questions
 
(...) So of course I was curious about getting rid of the complements. Apparently, they are not necessary, or so my testing so far seems to indicate. Under the several lighting conditions I tried, and for distances of up to 27' (the farthest I could (...) (25 years ago, 6-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
(...) I forgot to mention that one possible deficiency is the complements. They can be eliminated, for the most part, with careful counting of zeros. I haven't done any testing regarding this, so I don't know how many zeros in a row will break (...) (25 years ago, 6-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: Lego Network Protocol questions
 
Regarding the IR protocol, I have elsewhere suggested the following simple low-level format: 1 start, 1 stop, 2400 baud, odd parity 55 f0 f0 L ~L D1 ~D1 .. Dn ~Dn C ~C L is number of data bytes, valid range 1..255, less depending on buffer sizes Dx (...) (25 years ago, 6-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  RE: Lego Network Protocol questions
 
Sorry, I have been out of the loop for quite some time now on the protocol. Next time will someone smack me when I voluntarily take a compiler theory course on top of 3 other computer sciences courses. I had no life for over a month. I am currently (...) (25 years ago, 5-Jun-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: I'm having problems getting legos to compile
 
(...) you can specify where the .h files are using the -I switch... maybe you just need to check the Makefile (or Makefile.common) and change some paths there... or: check the configuration of compiler, sorry, I can't help with that... erik (25 years ago, 5-Jun-99, to lugnet.robotics.rcx.legos)
 
  I'm having problems getting legos to compile
 
on cygwin.. I'm sure it's something I forgot to setup. Can anyone help?? it's complaining that it can't find the .h files.. (25 years ago, 5-Jun-99, to lugnet.robotics.rcx.legos)
 
  PBForthConsole v0.4 source
 
Hello, I've updated my pbFORTH console tool. New features include: - Backspace is now supported. Sloppy typing is no longer a disaster. - A file upload option. This allows you to develop scripts offline and upload them all at once, which is (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Rotation sensors?
 
(...) Thanks, I was using that as a reference for the FORTH overview I wrote. (...) Thanks for the heads-up. It should be no trouble changing the URL, as the book is still a draft. After August or so it'll get harder, but still won't be impossible. (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Rotation sensors?
 
(...) OOOOHHH. That makes me feel warm and fuzzy and willing to do more work! Here's a link to an on-line (free) book about FORTH for real time applications. Tim Hendtlass (the author) is really good about linking to the book, which is hosted on the (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Rotation sensors?
 
Hi Ralph, (...) Sorry for not being more specific. It shows the same value all the time. (...) Yup, you nailed it. I thought the rotation sensor was a passive resistive device. The call to SENSOR_ACTIVE fixed it up. (...) Thanks, I'm still getting (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Rotation sensors?
 
(...) Thanks for attaching the code Jonathan. Before I go through the steps of trying this out, what do you mean by doesn't work? ie. 1. Does it hang and not display anything? 2. Does it display the same data all the time? 3. Does it not respond to (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  Rotation sensors?
 
Has anyone used a rotation sensor with pbFORTH? I can't seem to get it to work. My test script is attached. Thanks, Jonathan ----- HEX : isRunButtonPressed BUTTON_GET 1 AND 1 = ; : showRotation 3002 SWAP 3001 LCD_NUMBER LCD_REFRESH ; : clear (...) (25 years ago, 4-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Whither 0> ?
 
(...) Yes, it's not in the hFORTH (ANSI) standard. You can always do SWAP 0< instead. The new release I'm working on does define 0> .... As a workaround, you can define 0> as above, and then remove the alias later. Cheers, Ralph Hempel - P.Eng (...) (25 years ago, 3-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  Whither 0> ?
 
Hi Ralph, I'm able to use <, =, >, 0<, and 0=, but 0> is not defined. Any idea why? Thanks, Jonathan (25 years ago, 3-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Java 2 pbFORTH console, version 0.2 source release
 
(...) Wow! I haven't looked at this, and probably won't until I get more Java experience, but thanks for the effort. Just to keep everyone up to date on pbFORTH, I have (as usual) got too much other stuff on my plate right now. I am going to have (...) (25 years ago, 3-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  Java 2 pbFORTH console, version 0.2 source release
 
Hello, This is not for the faint of heart. I wrote a Java 2-based pbFORTH console that strips out repeated characters when talking with the RCX (most of the time). It still chokes when the IR tower awakens, but you can get some pretty clean-looking (...) (25 years ago, 3-Jun-99, to lugnet.robotics.rcx.pbforth)
 
  compilation errors w/ legOS 0.1.7+patches
 
Hello all! I just downloaded and installed legOS 0.1.7 and applied all of the available patches. I created a quick program, one which one turns on a motor, sleeps, the returns, and attempted to compile it. This is the error that I get: (...) (25 years ago, 3-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Download at www.multimania.com
 
I have all the LegOS files (including reasonably recent egcs and binutils .tar files) here: (URL) As usual, I recommend the LegOS howto for new users- (URL) it helps... (...) ###...### God was my co-pilot, but we crashed in the mountains and I had (...) (25 years ago, 1-Jun-99, to lugnet.robotics.rcx.legos)
 
  Re: Download at www.multimania.com
 
I got exactly the same problem - I cannot get the legos nor other files from the legos site. I always get random sized files (shorter than actual size of files I try to dowanload). somebody help please. I just got the mindstorm and would love to (...) (25 years ago, 31-May-99, to lugnet.robotics.rcx.legos)
 
  emulegOS: a legOS (and RCX) emulator
 
Marco Beri and I just released the first version of emulegOS, a software emulator of legOS and the RCX itself. We like a lot legOS and the way it opens a broad range of possibilities to the RCX, but felt the need of a more comfortable environment (...) (25 years ago, 29-May-99, to lugnet.announce, lugnet.robotics, lugnet.robotics.rcx.legos)
 
  Re: light values?
 
Ah... that makes sense- I didn't realize that power was completely cut. Should have (I'm not *that* incompetent in reading electronics diagrams). Oh well. Thanks for the feedback, John... Luis (...) ###...### God was my co-pilot, but we crashed in (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
 
  Re: light values?
 
(...) The light sensor is an active sensor, which means that it requires power to operate. When you call ds_passive, you are no longer supplying power to the sensor between readings. Some people have reported being able to use the light sensor for (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
 
  Re: light values?
 
Some months ago, I posted this question, but got no response. I've finally played with it some more this morning and have some observations: 1) After setting ds_active, my light sensor returns values of 0-100, as I should. 2) After calling (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
 
  RE: Floating point support for 1142 bytes
 
(...) Let's face it Kekoa, you just couldn't stand not REALLY knowing what the group was talking about so you went and did the work we should have done before the discussion even started. :-) (...) (URL) That's a bit easier to deal with. Way to go. (...) (25 years ago, 28-May-99, to lugnet.robotics, lugnet.robotics.rcx)
 
  Floating point support for 1142 bytes
 
Following some discussion about the topic a few weeks ago, I was sufficiently curious and motivated enough to write a floating point library for the H8/RCX. Initially I thought I'd implement a non-IEEE floating point format optimized for the RCX, (...) (25 years ago, 27-May-99, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Lego Network Protocol questions
 
In lugnet.robotics.rcx.legos, Kekoa Proudfoot writes: [ ... ] (...) To this end, i've started work on a Discrete Event Simulator. The idea is to use this to see the effects of some of the things you mention above. Note that this is not an (...) (25 years ago, 21-May-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  JVM port status
 
The first phase of the JVM port to the RCX is complete (translating the existing 68HC11 code into C++). We are now testing that to make sure the port did not introduce bugs. The next steps (in parallel) are to finalize the RCX-specific classes and (...) (25 years ago, 21-May-99, to lugnet.robotics.rcx)
 
  Re: Assembly tool?
 
(...) I'm afraid I was going to use Delphi (25 years ago, 19-May-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Assembly tool?
 
(...) John, Are you thinking of doing this in TclTk as discussed before? If so, why don't we collaborate a bit...I've done a serial handler in TclTk for a proprietary RS485 network at 9600 baud. At 2400 baud, I'm sure I could do the same. Your (...) (25 years ago, 19-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Assembly tool?
 
Ah, in that case you will need my pbFORTH IDE and downloader, which is not on the drawing board yet, but just a wishlist: o filter out ddoouubbllee letters, use echo to check o fast download, skipping comments and compressing whitespace, macro (...) (25 years ago, 19-May-99, to lugnet.robotics.rcx.pbforth)
 
  RCX Command Center Version 2.3
 
I am happy to announce the availability of version 2.3 of RCX Command Center. RCX Command Center is a Windows (95, 98, NT) program that assist you in programming the Lego MindStorms and Cybermaster Robots. It provides a higher level interface to the (...) (25 years ago, 19-May-99, to lugnet.robotics.rcx.nqc, lugnet.robotics)
 
  Re: Assembly tool?
 
I have Windows NT, but I'm running the CygWin stuff for legOS. Jonathan (...) (25 years ago, 19-May-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Assembly tool?
 
(...) Its not pbFORTH, its the RCX tower. Thats how I can tell if pbFORTH crashed, the HyperTerminal screen looks NORMAL!!!! It is a bit annoying though. I started work on a Tcl uploader when I decided a better tutorial was more important. More (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Assembly tool?
 
What operating system are you running on? (25 years ago, 18-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Assembly tool?
 
Hi Ralph, (...) I wanted to see if I could stop pbFORTH from echoing characters back to the PC. I figured it wouldn't be hard to do, and it would make my HyperTerminal sessions look a lot cleaner. So what do you use? I couldn't get (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Assembly tool?
 
(...) Jonathan, you use the GNU toolchain to assemble the files, but why bother? The pbforth.srec file is available for download and it is complete by itself. Just use "nqc -firmware pbforth.srec " to get it into the RCX. I have a newer release with (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.pbforth)
 
  Assembly tool?
 
Hello, I was wondering what tool I need to compile the pbFORTH asm files. I have the tools that are used for legOS--is there something there that can assemble the asm files? Thanks, Jonathan (25 years ago, 18-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Does NQC support arrays?
 
Depending on what the value in the array needs to be you could use a bitmap (e.g. if you want to store true/false to denote the presence of something)... you could then represent the decimal value of the "array" of ones and zeros ... so, for (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
 
  Re: Does NQC support arrays?
 
Hari Wiguna <hari@mindvision.com> wrote in message news:FBx2nH.B42@lugnet.com... (...) Nope, it doesn't. This is due to a limitation in the RCX environment. If it did support arrays you could have a max of 32 elements (assuming you didn't have any (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
 
  Does NQC support arrays?
 
I'm building a BrickCode Reader. Basically it reads a stack of 2x2 bricks of various colors like a barcode. I've managed to hack together a prototype BrickCode Reader. I can feed it a stack of bricks and it beeps different tones based on which color (...) (25 years ago, 18-May-99, to lugnet.robotics.rcx.nqc)
 
  Download at www.multimania.com
 
Hi, I'm not sure exactly why this is, but for some reason I can't get a binary download to work from .. (URL) .. Whenever I try and download any of the files from this server ( using both a PPP line at home, and the connection at Uni.) I get (...) (25 years ago, 16-May-99, to lugnet.robotics.rcx.legos)
 
  differences between 9719 and 9747?
 
What are the exact differences between Mindstorm pack 9719 and 9747 ? -- ***...*** Stefan Prescher prescher@hermes.fho-emden.de (25 years ago, 16-May-99, to lugnet.robotics.rcx)
 
  Re: NQC 1.3 released - Command Center?
 
(...) [snip] (...) DOH! Yup. I've gotten quite fond of the RCXCC/NQC combination. It handles just about anything that I have thought up so far! DLC (25 years ago, 14-May-99, to lugnet.robotics.rcx.nqc)
 
  Re: firmdl question
 
(...) I believe the units are tens of firmware bytes downloaded already. Oh, to point out the obvious, this is a ROM thing, not a firmdl thing. -Kekoa (25 years ago, 13-May-99, to lugnet.robotics.rcx.legos)
 
  Re: Rom sensor read routine
 
(...) The current LegOS model really hammers the sensors, almost to the point of oversampling them. It only takes a short while (less than 0.1 ms, I think) to sample all four sensors; I think LegOS samples the next sensor immediately after finishing (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.legos)
 
  firmdl question
 
When using firmdl to download a program to the RCX, what exactly do the numbers on the LCD indicate? Are there units I should be attaching to them, or are they just there to indicate progress without specific units? Just curious- Luis ###...### God (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.legos)
 
  Re: Multitasker test script
 
Perhaps I should not have stripped all the comments for speed :) \ The rationale for the delay above and the delay after the IR flash is \ that the message is 77 bits of 417 microseconds each, a total \ transmission time of 32 milliseconds, the (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Multitasker test script
 
(...) It was this line that trashed the task chain when the power button was pressed, I thought I'd checked it a few times but perhaps it was something else. (...) Yes. What I really want is an equivalent of SendMessage in NQC (which maps to opcode (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Rom sensor read routine
 
Hi Kekoa, (...) I am fixing this right now. (...) The current legOS sensor read cycle is this (i=illuminate, c=A/D conversion) S1: iii iii iii ccc S2: ccc iii iii iii S3: iii ccc iii iii S4: iii iii ccc iii If you find your sensor 2 readings to be (...) (25 years ago, 2-May-99, to lugnet.robotics.rcx.legos)
 
  RE: Multitasker test script
 
John, I've been looking at your ping routine and note the following... Even if FF EMIT did not block, the wait makes things irrelevant. At 2400 baud, the FF is out the port within 4 msec. In fact, if EMIT did not block, you could probably wait jsut (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
 
  FORTH documentation on line
 
No, it's not documentation for pbFORTH - yet. I have found a decent book on line, it is Tim Hendtlass's Real-Time FORTH book. It is really geared for FPC, a dialect that is available for the PC, but the sections on numbers, stack manipulation, (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasker test script
 
John, I tried to put this part of the code into my test script without the ping word and it worked fine. Yes, I uncommented the line that does not work for you. I'm going to have a closer look at ping...I wonder if it's running out of stack or doing (...) (25 years ago, 13-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Multitasker test script
 
Here it is, it is working, but is waiting for IR_MODE_HI, STOP and a non-blocking EMIT. There is a light sensor on the centre connector pad. .dp displays proximity in the LCD as DEFCON.RawLight alternating with the average ambient raw light sensor (...) (25 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasker test script
 
(...) Post away! Two heads (too bad there only seem to be two of us :-( are usually better than one! Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel at bmts dot com ---...--- (25 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Multitasker test script
 
My DEFCON code multitasks OK (except when it tries to STOP). I doesn't actually work yet because it needs SendMessage (or non-blocking EMIT) but I'll post it here if anyone is interested (actually I'll post it unless anyone objects). (25 years ago, 12-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: NQC 1.3 released - Command Center?
 
(...) I assume you meant "RcxCC". Last I heard from Mark, it will be "soon". I'm pretty sure you can just replace nqc.exe and rcx.nqh in RcxCC with the 1.3 versions. There won't be templates/hilighting for any new commands, but at least you will be (...) (25 years ago, 12-May-99, to lugnet.robotics.rcx.nqc)


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

Redisplay Messages:  All | Compact

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