I just started to play with Riscy Pygness (
The only thing which seems to be lacking is interrupt support. Well, I can write the interrupt service routine in assembly and add it to the kernel, and it will be the most efficient solution. However for interactive experiments it would be much nicer to have possibility to implement ISR as a Forth word. Such functionality is available in the latest version of amforth for ATmega's
Has anybody added this functionality to Riscy Pygness? Maybe someone could suggest the best way to implement such functionality? Is it possible to make use of multitasking functionalities provided by the kernel to service interrupts in a reasonable way? What are the traps, which may badly affect the interrupt servicing latency?
-- TIA & Best Regards, Wojtek