From: Brendan Simon Date: Fri, 5 Jan 1996 13:27:42 +1100 To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: interrupt help please I have been using a data aquisition card for about a year now in a couple of projects. It uses the IRQ lines to service the A2D stuff. I am using DJGPP v2b2. I thought I had got on top of all the issues related to interrupts but alas the problems of machine crashes and page faults have come back to haunt me. whenever I get an interrupt (even if set at once a second via signal generator) I get the following error message :- Page fault at eip=250037; flags=3046 eax=002400b7 ebx=00268e00 ecx=0000345c edx=00000033 esi=000276fc edi=000034a8 ebp=0024e14c esp=00268e00 cs=a7 ds=b7 es=b7 fs=b7 gs=b7 ss=b7 error=0006 The code has been lifted from a known working program. There are only two real differences that I see as being possibly relevant. 1) the setting up of the interrupt vectors were moved from the file containing main() into a subroutine of another .c file. (big deal, should be OK ??) 2) I have a different A2D card (same model, just another card) Can someone please give me a pointer to what the error message above means. Brendan Simon brendan AT rdt DOT monash DOT edu DOT au