Hello, As a new user of Amforth, I just wanted to give some feedback on trying to implement 5.8 on an Arduino Uno R3 board.
I had quite a bit of difficulty and it took research over a couple of days to get FORTH running. Here are some of the issues (and missteps on my part) in hopes that they will be helpful. I run Puppy Linux normally, but can dual boot into Win 7 if need be. I started out trying to download the giant Atmel IDE -- but since it also took Microsoft .NET 4, it just didn't seem possible to run in Wine (as suggested in AMFORTH docs). So switched to WIN7. Download of all components was very long, and being unfamiliar with it, difficult to follow the AMFORTH instructions (which seem outdated ) In particular lots of directory references seem to have changed. The .hex and .eep binaries I produced finally, after trying to guess at what needed to be the directory structure, and flags, serial baud rate, and Mhz parameters (16 for UNO?), etc. just didn't work, and I had no clues for how to correct them. Template script comments like "Should be obvious" for baud rate don't help! No it's not obvious -- a newcomer isn't aware that there is a system default baud rate at all, or what that rate is. After a day of failure, by accident (not in AMFORTH documentation) I found the directory on Github Amforth that included the ATMEL assembler and necessary files and directories. This would have saved a whole day of frustrating work. And there were updated instructions for intsalling AMFORTH. Eureka! So, following those instructions, I created a directory "my" exactly as directed, and tried to make the test template as directed. Immediate compiler error. There are several "Words" directories scattered about, and the template script couldn't find some of the "Word" directories for includes. After I figured that out, I basically copied and pasted the contents of the unfound directories into the /Words the script could find, and then was able to compile. I know that was sloppy practice, and it seems like you probably have a better method in mind. But up to this point I'd had no success with any instructions for implementing AMFORTH and just wanted to see if I could possibly get a workable .hex and .eep. I won't go into the problems I had with avrdude trying to use two UNO's -- one as a programmer for the other per Craig Lindley's article. Suffice it to say I sent for and received a programmer from Ebay that worked (after rewiring the plug), and was able to burn the board with the new code. Unfortunately, I fell victim to the DE hfuse problem on my Uno board, but luckily found the discussion last month that said the hfuse needed to be D9 for AMFORTH. After solving some terminal setup issues, I was finally rewarded with the AMFORTH prompt, and am happy! I'm using Minicom in Linux (have alsoused Putty for Linux) I do have some questions, however: 1.) How do I upload .frt library files? 2.) Do the comments in those take up memory space? 3.) Where is the erase function for practice code, or do I have to re-flash a new version of AMFORTH every time to get rid of old code? I've been going through my old copy of Leo Brody's book again -- last time I programmed in FORTH was on a TRS-80 Model 1 clone that I built, called an LNW-80! Thanks for making this FORTH available for the Arduino. ps. I'd be happy to help out with documentation if needed. --Steve ------------------------------------------------------------------------------ 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