Hi Wojciech > If I want to extend the standard dictionary with some words defined > by me, is it possible to compile them on PC so, that when ATmega is > programmed, my words are already available?
Why do you want to mimic the C programming style? Edit/Compile/Upload? Thats soo old-fashioned... > I simply want to avoid relatively lengthy process of adding the new > definitions after programming I'd recommend Erich's strategy: flash the base amforth system, add your (tested) words and read the flash/eepprom back to the PC. Now you can go back to this stage at any time. Alternatively or in addition set a marker and hope that the errors in your new words do not destroy the existing flash/eeprom content. That would be faster to rewind. > (and minimize the EEPROM usage, as it is rewritten, whenever new word > is defined ;-) Strange. I still use the same Atmega16 for my development amforth was created on initially. If there is one system that got re-flashed and tortured, I'd consider this one in the top 5. Should I mention, that it still works fine? > ) I know, that I can do it defining the new words in assembler, but > the syntax is not very easy to read and write... is there any better > solution? Just forget assembler. Really. There are cases in which assembler is unavoidable (e.g. the 1-wire core words) but they are not that large. At least they should not be so. Matthias ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel