Not sure if this is your problem, but I can't use amforth-shell.py if I need to use key?, if I know I will be using key? I use picocom or minicom.
picocom --send-cmd "../amforth/trunk/tools/am4up" --omap delbs --emap bsdel -l -b 19200 -p n -d 8 /dev/ttyUSB0 Without the buffering of amforth-shell.py I can't insert text or make use of the history, tab-completion or the user-friendly emacs-like keybindings, because amforth does not handle these things on its own. Regards, Andreas On Tue, Apr 22, 2014 at 3:27 PM, Erich Waelde <ew.fo...@nassur.net> wrote: > Hello, > > it may well be me being stupid... > > building clean amforth-5.2 from releases/5.2/appl/template > add "words/1ms.asm" to dict_appl.inc > fix template.asm for atmega32.asm > loading lib/bitnames.frt and core/devices/atmega32/atmega32.frt > > The following code produces a reset at calling " key? ". > > PORTB 0 portpin: led0 > : init led0 pin_output led0 high ; > : ms 0 ?do 1ms loop ; > : once led0 low &200 ms led0 high &800 ms ; > : run init begin once key? until ; > > > > > ver > amforth 5.2 ATmega32 ok > > PORTB 0 portpin: led0 > ok > > : init led0 pin_output led0 high ; > ok > > decimal > ok > > : ms 0 ?do 1ms loop ; > ok > > : once led0 low &200 ms led0 high &800 ms ; > ok > > : run init begin once key? until ; > ok > > run > amforth 5.2 ATmega32 > > > Is it just me? > Did I do something stupid? > > I met this first with amforth-5.1, but may be older. > Ideas? > > > Cheers, > Erich > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel