Hi Paolo,

> I was trying xon_xoff.frt but it seems that  the content of refill is
> restored with its original value at every reset.

REFILL is a deferred word that resides in the USER area. The startup
USER area is a copy of a EEPROM memory block. Technically you have
two options to change refill permanently: Either change the EEPROM
default option or (preferably) use a sequence like

: refill-init ['} my-refill is refill ;

in your turnkey word. I recommend the latter version since the
actual address in EEPROM may change from version to version (happened
already). The system initialization before turnkey starts does nothing
with the terminal, so it's a safe to set up refill there.

Matthias

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to