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 / *328 (-20)
  Re: serial port interrupts
 
(...) I'm not suggesting that it isn't hard. Compared to native debugging with printf and gdb in an emacs window it is quite hard. It's just that you build up a bag of tricks after a while or take up application development instead. :-) One of the (...) (24 years ago, 15-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: serial port interrupts
 
(...) It's amazing, but I get all kinds of comments on how it's impossible to debug systems like the RCX brick. I guess if you're used to deeply embedded systems, figuring out how to let it tell you what's going on is a big part of the magic... (...) (24 years ago, 15-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: serial port interrupts
 
(...) Actually that's what I was intending but I couldn't remember the words at my keyboard. To make debugging easier I will use parallel words that can be merged in later. I was going to use the following debugging strategy: Put the isr init in a (...) (24 years ago, 15-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: serial port interrupts
 
(...) Sounds good Steve, see notes below for some pointers... (...) Absolutely. All we have to do is enable the interrupts on the receiver throw the chars into a buffer. I'd keep the standard FORTH words that already exist so less system source (...) (24 years ago, 14-May-00, to lugnet.robotics.rcx.pbforth)
 
  serial port interrupts
 
Ralph, I'm getting tired of losing characters going to the RCX on the serial port because forth is busy. It is making my work more complex than it needs to be. If you are not going to do serial port interrupts I will take a shot at it if you give me (...) (24 years ago, 13-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Factor upload script for user extensions
 
(...) Ummm, great idea. How about an item that turns into a pulldown list of 1-liners? I've got the X close or AltF4 shell closing capture thing, and I've also got XMODEM working. If I can get enough time, a public beta is in order... Cheers, Ralph (...) (24 years ago, 13-May-00, to lugnet.robotics.rcx.pbforth)
 
  Factor upload script for user extensions
 
Ralph, I suggest that you factor a proceedure out of the tcl uploadScript that sends a string to the RCX. This could then be used for additional menu or tcl commands that send Forth code to the RCX. Here is a potential implementation used to power (...) (24 years ago, 13-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Standard extension suggestions
 
Glen Paling Wrote: (...) Snipped code samples... Glen, These are really a good example of how the community can help itself. How does everyone feel about a code repository? How should it be implemented? Where should it live? I'm reluctant to have (...) (24 years ago, 12-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Standard extension suggestions
 
I think that's a great idea. I find example code the easiest way for me to learn. The pbForth can be little intimidating at first, (you can't even turn off the power with the on-off button). Earlier last fall Sergey Udovenko posted some code handle (...) (24 years ago, 12-May-00, to lugnet.robotics.rcx.pbforth)
 
  Getting started
 
(...) Hmm... Which OS are you using? Configuring the terminal window is easy once you know the magic incantation 2400 baud, no parity, 1 stop bit, no handshaking. Ralph forgot to document that so you have to learn it from this or several other posts (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Standard extension suggestions
 
(...) >Let me describe how I program on the RCX and it (...) Actually, it's this first bit that I find intimidating...the forth part sounds fun. Jeff jeffrey.hazen@northmill.net (24 years ago, 8-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Standard extension suggestions
 
(...) It is hard for me to tell. It is not hard for me but I am a programmer with many years under his belt. However forth seems idealy suited for someone getting started. It is a very interactive environment which encourages experimentation. Let me (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Standard extension suggestions
 
I think this would be a good idea, even if they never incorporated into the "official" kernel. Sort of a code repository similar to what has been proposed for NQC. That said, the thing that intimidates me is my lack of any experience with the (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.pbforth)
 
  Standard extension suggestions
 
I suggest that we collectively create a standard extension package that makes life a little simpler for beginners or maybe for developers in general. I have already started what I would use but it occured to me that this might be of general value. (...) (24 years ago, 8-May-00, to lugnet.robotics.rcx.pbforth)
 
  POWER_OFF serial port interaction
 
The following word has unexpected behavior: : off ." off" CR CR POWER_OFF ." on" CR ; I see the output when it turns off. when I turn it on I see nothing on the serial port. It finally appears when I type anything at the terminal. The character I (...) (24 years ago, 6-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: How much RAM is left?
 
(...) Pfff. As if that could possibly be important. If it isn't an object-oriented client-server architecture in Java++, it can't be serious :-) (...) If I read the source correctly, memory is allocated sequentially, and in my image I've got SOURCE (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: How much RAM is left?
 
(...) Nope, the memory is allocated linearly from the end of the image. The current image size is 12 or 13K. New dictionary entries and ALLOTed memory are interspersed as they occur. NOTE WELL that there is a subtle bug in the RCX ROM routines when (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)
 
  How much RAM is left?
 
(...) I believe that. 32k of RAM is a luxury for forth. That's another thing people don't generally understand about forth, they way it effectively compresses runtime software. I've heard of ram reductions of a factor of 5-10 for forth when compared (...) (24 years ago, 5-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Which terminal on Linux? plus random thoughts.
 
(...) Umm, I mean cover the tower and the RCX with a box.... :-) (...) No, Ernst's idea has a preamble byte for the transfer, and then the RCX grabs all of the chars and sums them. If the sum is wrong, then it NAKs the packet and the host sends it (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Which terminal on Linux? plus random thoughts.
 
(...) I missed that. What do you mean by simply covered. (...) No surprise there. I implemented XMODEM a long time ago on a spectrometer. I don't remember the details but obviously it stayed with me. Besides all protocols tend to look the same at (...) (24 years ago, 4-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