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 / 403
402  |  404
Subject: 
RE: A reset key for pbforth
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 31 Oct 2000 14:12:41 GMT
Viewed: 
1607 times
  
Ernst de Ridder wrote:

Hi all,

as I am one of those people who cannot remember the order of the
arguments to
DUMP, I wrote a simple interrupt handler to use RUN as a reset key (like
ctrl-alt-del on a PC). Comments are welcome here, or by email.

Ersnt,

Thanks for this tip. I was contemplating using some kind of
interrupting switch to the batteries, this is much better.

I might make it accept a parameter which is a mask of the keys
to press for the reset function. I'll integrate this (with credit)
into the next pbForth.

With the bug on stack allocation wrapping over a 256 byte boundary,
I'm going to allocate fixed stacks for multi-tasking in an optional
kernel build. Once we get easy to access tasking for pbForth it will
be more acceptable.

Finally, there has been some discussion about the pbForth linux zip
file. I'll be posting a new one shortly.

To everyone else, I'm willing to adapt any text you might submit for
docs for my website.

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbForth>

Buy "Extreme Mindstorms: an Advanced Guide to Lego Mindstorms"
<http://www.amazon.com/exec/obidos/ASIN/1893115844/hempeldesigngrou>
--------------------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------------------



Message has 1 Reply:
  Re: A reset key for pbforth
 
(...) Good idea. I saw I didn't paste the definition of RESET_BUTTONS into the message. Inside the interrupt handler, the Program key hides the Run key. So Program+Run=4 and Program+View+Run=6. If I read the docs correctly this is not the normal (...) (24 years ago, 1-Nov-00, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  A reset key for pbforth
 
Hi all, as I am one of those people who cannot remember the order of the arguments to DUMP, I wrote a simple interrupt handler to use RUN as a reset key (like ctrl-alt-del on a PC). Comments are welcome here, or by email. Ernst Include the following (...) (24 years ago, 30-Oct-00, to lugnet.robotics.rcx.pbforth)

3 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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