On Thu, 23 Mar 2000 05:28:24 -0800, Jason Williams wrote: > void (*dtoa_handler)(int); > //initialize IRQ1 interrupt - D/A service > dtoa_handler = dtoa_interrupt; > interrupt(SIG_IRQ1,dtoa_handler); > The interrupts for the timer and IRQ2 work fine. The code for IRQ1 > never gets hit. I have confirmed (several times) that I am getting a > good, clean interrupt on the IRQ1 pin. What could be the problem? I'm > not disabling any interrupts anywhere in the code. The global > interrupt enable bit is set (enabled) - verified by the fact the other > two interrupts are working. You realize that you don't need the intermediate variable? You could just invoke "interrupt(SIG_IRQ1,dtoa_interrupt)". Check IMASK to make sure that IRQ1 is enabled. (The interrupt() API is supposed to do this.) Do you have the edge/level bit set appropriately for your source? Kenneth Porter Kensington Laboratories, Inc. mailto: http://www.kensingtonlabs.com |