www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/05/22:00:15

From: Brendan Simon <brendan AT rdt DOT monash DOT edu DOT au>
Date: Wed, 6 Sep 1995 11:31:17 +1000
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: interrupt stops being invoked

>From: Sam Vincent <svincent AT zippy DOT sonoma DOT edu>
>You must use djgpp version 2.0 and lock the memory touched by the interrupt
>routine in order to grab a hardware interrupt.. otherwise the paging
>mechanism (due to virtual memory) could end up triggering a page fault
>in the middle of a hardware interrupt..  (not good.. a machine lockup)
>
>-Sam

Yes I should do this (I don't know how yet.  I am using V2)

I have a 16Mb machine (486DX100) and there seems to be no swapping to disk.
I should elaborate that the program sill runs but the interrupt routine 
doesn't seem to be invoked any more.  ie the getkey statment I have in a loop
still gets executed and prints my nice graphics (grx2.0) appropriately.

So maybe the PIC gets confused.  I'm not sure.  
I'll try the locking to see if it helps.

Thanks, Brendan.
brendan AT rdt DOT monash DOT edu DOT au

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019