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 / *192 (-20)
  Save image in pbForth (without any save-supporting code)
 
Hi Ralph, It appears to be a quite easy task - to save the pbForth image without SAVE- SYSTEM support. Only thing you need to do is to define a marker before you will upload the “save” words: MARKER end_of_image [ upload SAVE-SYSTEM support ] After (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasker and MARKER word
 
Sergey, (...) Never mind my last message. I can see you store the actual task chain in the definition of MARKER and then restore the task chain correctly. WOW! I think pbForth is on the cusp of respectability now! Cheers, Ralph Hempel - P.Eng (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Multitasker and MARKER word
 
(...) WOW! This is great Sergey! I haven't had a close look, but are you actually taking ALL of the tasks out of the list, or just the ones defined AFTER the point in the dictionary that is being restored by MARKER ? (...) Thanks for the kind words. (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Multitasker and MARKER word
 
Hi Ralph, Here are my results regarding MARKER and multitasker problem: small additional code in MARKER word could do the trick. It was even easier then I though: you don’t need to put tasks in the “sleep” mode. Just remove them from the task chain (...) (25 years ago, 14-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Mindfest Extreme Mindstorms
 
Here is a little page (actually two pages) of notes and stuff from Mindfest. No pictures - that's already been done. The summary of the 2 (or 3) days is: (URL) and the text of my opening remarks is: (URL) Have fun... Cheers, Ralph Hempel - P.Eng (...) (25 years ago, 13-Nov-99, to lugnet.robotics.rcx.pbforth, lugnet.robotics)
 
  Building a MazeWalker
 
Ok. You have heard me blather on about how I will eventually get the mazewalker posted. The code isn't posted YET, but the pictures and text are...here's the link. (URL) This is a complete maze navigation system. It figures out where the boundaries (...) (25 years ago, 13-Nov-99, to lugnet.robotics, lugnet.robotics.rcx.pbforth)
 
  RE: Save image in pbForth (srec version)
 
Sergey, I'll add the other basic wordlist stuff to the kernel, then I'll let the users "build" the optional system to their needs. In fact, I have three extra files that I assemble into a complete kernel. The RCX definitions (all assembler) (...) (25 years ago, 13-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Save image in pbForth (srec version)
 
Hi Ralph, (...) Well, I meant that I know how to do it, but not yet tried ;) Also, it shouldn't be so difficult, so I will try it now. (...) Thanks for "really good forth coding", I can only say "I did my best" ;) Seriously, manage it as you think (...) (25 years ago, 12-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Save image in pbForth (srec version)
 
(...) Oh, you mean that you can save the system dictionary up to the point of the SAVE_SYSTEM stuff that is at the end of the dictionary? Great! (...) I think a SAVE_SYSTEM script that is loaded in just before the system is to be saved is right. I (...) (25 years ago, 12-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Save image in pbForth (srec version)
 
(...) Also, it is possible to create an alternative SAVE-SYSTEM word that will generate image without SAVE-SYTEM support included (similar to MARKER word). (...) It would be great. I would like to have it in a standard distribution. Only thing, in (...) (25 years ago, 12-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Save image in pbForth (srec version)
 
(...) <snipped pbForth code> COOL! I guess you could load this in just before you actually need to do the dumping of the memory. This is a great contribution, Sergey. Do you mind if I put it in script format and package it with the standard (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Save image in pbForth (srec version)
 
Hi Ralph, Finally I got it to work. Now there is XMODEM protocol and S-record writer on top of it. SAVE-SYSTEM word has been redefined to produce S-record image. Although upload time is up to 5 min now, instead I don't spend time anymore to mess (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Long range IR mode.
 
(...) The >R and R> words are used as little helpers. The put (or get) the top element of the data stack to the return stack. As long as you dont fiddle with the return stack between uses, they are a great way to do this. The alternative way to code (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Long range IR mode.
 
(...) Great, much more generalized code. What are the >R and R> words BTW? Did FFB7 C@ . and found the contents to already FE, as in, it appears that the default IR mode is indeed Long to start with. Seems like the effective range is much shorter (...) (25 years ago, 11-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Long range IR mode.
 
<Range mode intro snipped> (...) I'd redefine it something like this....use upper case BASE @ HEX \ To keep from evaluating HEX every time... : RANGE_SET ( f -- ) \ non-zero is long, 0 is short >R FFB7 DUP C@ R> IF FFFE AND ELSE 0001 OR THEN SWAP C! (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Long range IR mode.
 
(...) Just scanned through Kekoka's excellent dissection of the ROM routines. Seems like system variable/register at address $ff7b contains the relevant Long range/Short range bit flag, ie. bit 0 toggles the IR range 0 = Long, 1 = Short. Could I (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Save image word for pbForth.
 
(...) OhOh. Now you have got me thinking again. I can fix my make system to provide images that have optional wordsets, double precision, floats, etc. This is a good thing. (...) Check (URL) and look in the PDA section. LOTS of free stuff there. (...) (25 years ago, 8-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Save image word for pbForth.
 
(...) I like the solution proposed by many Forht packages (by hForth in particular): there is a basic kernel and a few different variations with optional wordsets. For myself, I would like to see at least one additional variation to pbForth - image (...) (25 years ago, 8-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Save image word for pbForth.
 
(...) This is an important part of what I want pbForth to be. It should be possible lo load up "precompiled" images to let users put exactly what they want in their system. (...) Since SAVE-SYSTEM is something you do at the END of the development (...) (25 years ago, 8-Nov-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Save image word for pbForth.
 
Hi Ralph, Thanks for words of cheers ;) (...) Exactly. My first attempt was to dump out the whole image and make terminal to receive it as a textual file. Uh uh... (...) Well, of course I would like to make it available for community. If you think (...) (25 years ago, 7-Nov-99, 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