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 / *323 (-20)
  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)
 
  RE: Which terminal on Linux? plus random thoughts.
 
(...) I have beta quality Tcl code that sends an SRECORD firmware imge up to the RCX (fast or slow) and has basic terminal capabilities. It also strips comments and whitespace out of files as they are uploaded to reduce the time. I'd like to put a (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)
 
  Which terminal on Linux? plus random thoughts.
 
I'm interested in other people's experience with various terminal emulators on Linux. I've been using minicom with indifferent results, probably because it doesn't support delays between lines which possibly overruns pbforth's serial input. minicom (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: sensor questions plus
 
(...) The ROM stuff is documented in Kekoa Proudfoot's internals document, see (URL) for all the details. The RCX interface words in pbForth call into the ROM... (...) It actually *processes* the results of a sensor read by the OCIA interrupt (...) (24 years ago, 4-May-00, to lugnet.robotics.rcx.pbforth)
 
  sensor questions plus
 
You said to keep asking questions. I'm taking you at your word. Questions I've got. o - Sensor questions: Could you explain how the sensor code works? How does it interact with the ROM. Is this (ROM stuff) documented elsewhere? What does SENSOR_READ (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Banging on the tasker
 
(...) That's my plan. The nice thing about the tasker is that people can write code in a format they are more used to. The same things can be done with event driven single task code but it inverts the control flow. It is more meaningful for most (...) (24 years ago, 3-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