Hi David, > I don't need a Forth prompt on the other uart - I'm just chatting to > other devices, initially an Omnikey RFID R/W module, and I'll probably > also want to hook up to XBee radios later. So I just want to write a > string of bytes to the second uart and have the response read into a > buffer under interrupt control. So, just implementing interrupt driven > serial receive on uart1.
Some kind of a mixture of http://amforth.sourceforge.net/recipes/interrupts.html and http://amforth.sourceforge.net/recipes/redirect-io.html should do what you want to do (and perhaps the multitasker) I'm too lazy to convert the assembly usart word to forth code. There *was* a technical reason to use assembly for interrupts in the first amforth versions, but that is no longer the case. Never change a running system ;) Matthias ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel