Re: [Amforth] R: Re: R: Re: R: Re: HW flow control

2014-08-11 Thread Matthias Trute
Paolo, > Does REFILL load a single line? The REFILL for the terminal input (TIB-REFILL) calls ACCEPT and this returns a single line. So: yes. > In a multiline colon definition is it called for each line? Yes. Matthias ---

Re: [Amforth] R: Re: R: Re: R: Re: HW flow control

2014-08-10 Thread Michael Kalus
Never forget: xon/xoff is for *single* character exchange - send one, get echo, check it, send another one... Sender must interpret *each* echo character immediately and stop at xoff at once. Use xon/xoff to connect two amforth devices via TXD/RXD. Or on a PC use a sending tool able to do that

[Amforth] R: Re: R: Re: R: Re: HW flow control

2014-08-10 Thread Paolo Garro
I apologize Matthias, Your solution is ok. Managing flow control inside REFILL is the same of my proposal and is a better implementation. Paolo  Inviato da Samsung Mobile Original message Subject: Re: [Amforth] R: Re: R: Re: HW flow control From: Matthias Trute To: amfort

[Amforth] R: Re: R: Re: R: Re: HW flow control

2014-08-10 Thread Paolo Garro
Hi Matthias, Does REFILL load a single line? In a multiline colon definition is it called for each line? If so I think the best place to handle XON/XOFF is QUIT itself. At the begin of the loop after calling REFILL assert XOFF and before closing the loop assert XON. That way transmission is blocke