Hello gp2, hello all, so I chime in late, but nevertheless.
1. The road to amforth on controller X Yes, that road is definitely long and windy. I sometimes give classes on exactly that. There are so many pieces that *must* work together, before the first ok prompt shows up. You did a great job, and most importantly, you did not give up! Congrats! 2. uploading forth code. There are at least 2 options here: a. am4up There is a file am4up.c in the tools subdir of amforth/trunk. Compiling produces a small program which can be included into the list of tricks that minicom knows. There was a piece of documenation as well --- see below. b. amforth-upload.py This python script will read your file and transfer it to the controller via serial interface. You need to disconnect minicom (or whatever terminal program you use) to allow access. This is what I use. I have hacked a Makefile snippet to use this: TARGET=main CONSOLE=/dev/ttyUSB0 upload: amforth-upload.py -t ${CONSOLE} $(TARGET).fs c. Then there is a newer Implementation "amforth-shell.py" This is a fairly comfortable thing. It will substitute PORTA with the appropriate hex address and other tricks. However, this is why I do not use it. It changes the lines behind my neck. I don't like tools like this, however, ymmv. See http://amforth.sourceforge.net/TG/recipes/Upload.html d. at the very end of the FAQ http://amforth.sourceforge.net/faq.html there is also a mention of ascii-xfr 3. forget/marker You can load "marker" after burning the controller. You can find it in amforth/trunk/lib/ans94/core-ext/marker.frt Please note: marker --start-- will define a marker and place the word "--start--" in the wordlist. If you call "--starter--" at a later point, it will reset the system to the state *before* the marker was defined, in other words it will delete "--start--" from the wordlist, too. Hmm, I thought there was a cookbook entry on this, but I don't see one. Maybe time to create a short example ... So, hope this helps, and welcome to the list. Erich PS: ok, this is not really the correct email to respond to, but the last one I received in this thread. Tom Maynard writes: >> "FORGET is not implemented > > Um, yes: my note was incredibly poorly worded. I should have said something > like, "'FORGET' -- which in Amforth is implemented using 'MARKER.'" But, > too late now: you found it and figured it out. > >> I assume I have to add MARKER by including it and burning a new instance > of FORTH, is that correct? > > Exactly so. Once you have an image with MARKER included you can set the > marker wherever you like and then "forget" all of your experiments back to > the marker. As a returning newbie, having to burn a new image just to > forget words was a royal PITA: MARKER saved the day for me as well. > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel -- The purpose of computing is insight --- not numbers R. Hamming ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel