To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / *393 (-20)
  Re: Major breakthrough serial wise.
 
(...) I'm confusing everybody by asking questions that imply that I am changing existing code. I do not touch existing code. The question about where to enable the interrupt is a final cleanup one. It is not what I am doing now. I have not touched (...) (24 years ago, 5-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Major breakthrough serial wise.
 
Soirry for the late reply, I've been on a sudden business trip and was unable to get to my email... (...) Great! I would leave the basic serial stuff alone and enable interrupt driven serial IO in a separate set of words, like RCX_INIT and (...) (24 years ago, 3-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  is include included in pbforth?
 
Fist I would like to say that this pbforth is great. it realy enhance this toy. Now that i got this out of my chest... I notice that some of the examples included in the pbforth package use the word INCLUDE so I tried to use it but apparently (...) (24 years ago, 3-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Major breakthrough serial wise.
 
in article 39365A56.86986217@nexen.com, Steve morris at smorris@nexen.com wrote on 6/1/00 5:43 AM: (...) Try posting this on a more general list if the following suggestions don't help: 1) put the RCX and tower underneath a box to block out all (...) (24 years ago, 1-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  Major breakthrough serial wise.
 
I have been fiddling with serial interrupts with little success. Today I finally figured out that interrupts are masked in the CCR until you run the word RCX_INIT. I was blindly assuming that interrupts were generally enabled and I only had to deal (...) (24 years ago, 1-Jun-00, to lugnet.robotics.rcx.pbforth)  
 
  LCD_NUMBER, made it work.
 
(...) I got it finally after re-reading the doc a few times. My arguements were in the wrong order. (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  LCD_NUMBER, Can't make it work.
 
The following has no effect: HEX 3002 301F 22 LCD_NUMBER LCD_REFRESH The following do as expected: LCD_4TH LCD_REFRESH LCD_CLEAR LCD_REFRESH Am I missing something? I've tried a few other things with LCD_NUMBER. Once I got 9999 on the display (that (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: grasshopper learns new tricks
 
(...) Considering that it has been almost 20 years from my first attempt you should rather say "about time." CREATE DOES> is important to me because it is sort of a minimalist object creator in the sense that it allows the creation of classes of (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: grasshopper learns new tricks
 
(...) Phew, it pushes most people over the edge of sanity.... (...) But the dew is still fresh on the grass, young apprentice, and the hot sun may yet inflict harm to you in unexpected ways... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  grasshopper learns new tricks
 
CREATE DOES>, VALUE and EVALUATE. Thank's guys. These will all enhance my code. I knew about CREATE DOES> but never really understood it. Your description pushed me finally over the edge of basic comprehension. EVALUATE is really cool and VALUE is (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  CONSTANTS and VALUES in pbForth
 
(...) There are a couple of things in this note. One is an introduction to CREATE DOES> and the other is a solution to your actual problem. Basically, what CREATE DOES> does is separate the run-time and compile time semantics of a word. This is (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Forth question
 
(...) You might want to try : zzz S" CONSTANT ONE" EVALUATE ; 1 zzz (...) I think VALUE can be used for that. Ernst (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: How do I delete firmware from firmware?
 
(...) Great. Thanks. This is a real lifesaver since I am deleting and reloading firmware at a rapid rate and my RCX is inside a construction which makes it awkward to get at the batteries. Now the delete/reload can be done entirely at the GUI. (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Forth question
 
(...) Actually the various reasons are simple so I might as well state them. The serial port is not available at the time I want to create a constant because the serial port will be broken and therefor can't be used as the forth input stream. I am (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Forth question
 
(...) I still want to create a constant from within a definition. I have an initializing word that will calculate the value of the constant. For various reasons I can't do this calculation except within the runtime behavior of the word. This is not (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Forth question
 
(...) 1 CONSTANT ONE Recall that CONSTANT is a *defining* word, just like the ":" It makes a name in the dictionary, in this case "ONE" and then links to a special bit of code that is executed every time ONE is interpreted. It grabs the value out of (...) (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Forth question
 
I'm trying to define a constant in a compiled word. : zzz 1 CONSTANT ONE ; I know its not right. It tries to compile "ONE" which is not what is wanted. What is the right way to say this? (24 years ago, 24-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: RTC
 
(...) Yes. The IR just becomes a dumb serial port whith an annoying builtin echo, almost like you had a serial port cable attached to the RCX. Open the port on the host system using whatever language you want and proceed to send commands to it. Of (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: RTC
 
(...) You can use RCX.pm, but that's really for sending native byte streams to the RCX. You can just use standard IO calls to write to the serial port on your Linux Box. Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: RTC
 
NOTE: This is a continuation of a conversation with Mr. Hempel via email. >> Can I send this text to the robot from a pc at an arbritrary time? How long >> will it take each instruction to download? >Yes you can. I've written a Tcl (...) (24 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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