[Amforth] Reading Input

2014-04-22 Thread David Wallis
Hi Matthius, Thanks for you reply. I think this will be a solution. >2. increase the serial line buffer (core/drivers/usart-isr-rx.asm) to catch even the larges piece of data in one run. Presumably it's OK to just change the buffer size to $80 in that file without changing anything else? Anyway,

Re: [Amforth] Reading input

2014-04-21 Thread Matthias Trute
Hi David ... > I can of course do > > > > ." abcdefghijklmnopqrstuvwxyz" type > > > and it works fine. Is the interpreter reading the input buffer somewhere > esle? The last line puzzled me at first. Some more thoughts combined the pieces to a picture: The line wait4key key emit waits for

[Amforth] Reading input

2014-04-19 Thread David Wallis
Hi, Is there a 16 byte input buffer or something on the default UART? I'm trying to read input on the UART that the interpreter uses but I can't read more than 16 characters. I am using an ATMega644PA with an FTDI connection to my PC running cutecom. I have defined a word: : wait4key ( -- )

[Amforth] Reading input

2014-04-19 Thread David Wallis
Hi, Is there a 16 byte input buffer or something on the default UART? I'm trying to read input on the UART that the interpreter uses but I can't read more than 16 characters. I am using an ATMega644PA with an FTDI connection to my PC running cutecom. I have defined a word : wait4key ( -- ) B