Hi Pito, >> You could use the timer interrupt since any >> (forth-written) ISR is handled by it. > > Could you clarify a little bit?
It was my understanding that you want to check the proper working of the inner interpreter in a watchdog like manner. > Currently my leds are switched on/off in the do_next, do_execute > (led0) and do_interrupt (led1). That is a profiling system. What do you want to profile? Number of calls? Time? Both? Something else? long ago I've written for myself a very dump profiling system that simply counted the calls to the inner interpreter. That numbers were used afterwards for reporting. btw: The inner interpreter is called approx 10-20 thousend times per second and MHz (some long running assembly words may cause smaller numbers). a blinking LED could be troublesome to watch at ;) Matthias ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel