On 3/27/2011 8:22:27 PM, kenmcc...@allmail.net wrote:
 > Hi, I soldered in a crystal and a couple of caps and
 > it's working fine
 > now, Amforth seems much more sensitive to clock frequency than the
 > Arduino C programs.
 >
 > I've
 > had no trouble with the serial interface running C programs on the
 > BBB. That sent me on some wild goose chases trying to figure out what
 > was wrong with Amforth.
 >

As I understand it, the amforth way of dealing with interrupts on the 
serial port is to have the ISR set a flag, and the uart is truly 
serviced when the inner interpreter steps to the next word. There is an 
elegance to that approach, as it allows secondary ISR to be written in 
forth, but it has more latency than a traditional ISR (grab byte and 
stuff into ring buffer immediately). Without hardware drtiven serial 
handshake, that increased latency may account for the greater  
sensitivity to timing?

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to