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 / *397 (-20)
  New to PBforth - a few questions
 
Hello, I just installed PBforth and the associated GUI interface. It works great! However I do have a few questions to anyone who can help. If I type or just hit the enter key things seem OK. But after it sits for a few moments it gets junk on the (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.pbforth)
 
  Temporarily out
 
I am changing jobs so am a little distracted. I have not given up but it will be a few weeks before I get back to the serial stuff. (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  Software for Analyzing Forth Programs
 
From NASA Tech Briefs: (URL) parts of code can be categorized and quantified in selectable ways. Marshall Space Flight Center, Alabama Forth Source Code Analysis Tool Set (FSCATS) is a computer program that provides a wide range of capabilities for (...) (24 years ago, 13-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  RE: is include included in pbforth?
 
(...) And I would ike to say thanks! (...) The INCLUDE words are for the hFORTH scripts that this package is based on. I'm a terrible pack-rat, so I tend to put all the scripts in to give folks example code. It looks like I'm confusing things more (...) (24 years ago, 5-Jun-00, to lugnet.robotics.rcx.pbforth)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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