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 / 504
503  |  505
Subject: 
RE: CPR for RCX?
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Fri, 7 Jun 2002 13:25:24 GMT
Reply-To: 
<RHEMPEL@nomorespamBMTS.COM>
Viewed: 
2306 times
  
David wrote:

you will see a description from Mario Ferrari as to how he would like to see
the buttons work once pbForth is loaded.  I agree with his description, but
either way, some form of powering the RCX on and off, selecting from different
programs, and starting and stopping those programs is necessary without the use
of a terminal.  I would like to see pbForth reach a level of maturity where the
only reason you need to pull the batteries out is to change them because
they're worn out.

Me too, except that Forth gives you ample opportunity to hang
the machine with infinite loops and errant pointers causing writes
into the program space.

On the bright side, I have been working on a trap handler for pushbuttons
that will give us most of what we need. More on this in the next few weeks, I
hope.

See this article for hints on how to hook into the 1 msec timer...

<http://www.hempeldesigngroup.com/lego/pbForth/scripts/howtoRCXMusic.html>

I have just started getting involved with pbForth thanks to my son and his love
for Legos.  I would be happy to help with adding new functionality if Mr.
Hempel would provide the source code to pbForth and a method to "SEE" or "VIEW"
the existing words.

SEE would be great to add. If you can find a version that is ANS compatible
and forward me a link, I'll do what I can to get it into shape for pbForth.

As for source code, it's all included in the distribution. You'll need
to look in the following directories:

pbforth/*.tcl                 - has all of the generic words in high level language
h8300/rcx/pbforth/*.tcl       - has all of the rcx specific words
h8300/rcx/pbforth/pbforth.tcl - describes the files used in pbForth

Please do not get discouraged with the current behavior of pbForth, it is worth
the extra effort.

Thanks David. I really am trying to make pbForth better, and I appreciate
any constructive (or useful) criticism. I also give full credit for any
software contributed by my readers. :-)

Cheers, Ralph



Message is in Reply To:
  Re: CPR for RCX?
 
From my experience, what you are describing is normal behavior for the current version of pbForth. Mr. Hempel has done an excellent job of creating a version of Forth to work with the RCX, but the work is far from complete. If you look at the (...) (22 years ago, 6-Jun-02, to lugnet.robotics.rcx.pbforth)

6 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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