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 / *318 (-20)
  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)
 
  RE: Multitasking questions
 
(...) Ummm, I'm in the process of verifying all of the old scripts I package with pbForth. It looks like HAT is what actually works, and I've managed to change the documentation and not the code. HAT is in the origianl hForth implementation but I (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Multitasking
 
(...) 90% of my career has been in embedded systems and now I am doing ASIC design. ASICs are the ultimate in multitasking. Every one of those gazillions of transistors looks at its input continuously in parallel with the others in order to decide (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Multitasking questions
 
1) scripts/muldemo.txt uses the word HAT instead of ALLOT_TASK. Does HAT actually exist or is this left over from hforth. 2) Tasking by convention? When do tasks switch? PAUSE obviously. Does AWAKE actually context switch or only mark the task as (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasking
 
(...) Yes, indeed it does. But the catch is that if you're NOT in the CLI and spinning on something, you don't get anything else done (DUH!) Steve, you sound like you know multitasking issues. Sorry if what I said in a previous post implied (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
 
  Multitasking
 
Does the prompt handler (CLI) do multitasking? In otherwords if a new task is started and control returns to the CLI will the new task ever run? I think I am asking whether it calls PAUSE in a loop while waiting for user input? (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