Message-ID: <32F80E17.25B1@post.comstar.ru> Date: Tue, 04 Feb 1997 20:35:35 -0800 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: zager AT post DOT comstar DOT ru MIME-Version: 1.0 To: DJGPP Mail List Subject: Allegro and interrupts ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm using Allegro and want to install some my functition. This function had to called each time the my_keyint() in /allegro/src/keyboard.c triggered by keyboard interrupt. There are to ways to do it. 1st is alter Allegro src by adding my code at the end of my_keyint(). But this way is obviously unwanted. 2st write my own wrapper like this static int new_my_keyint() { my_keyint();//calling Allegro's function //and finaly proccess some my code ... ... } Am I right or I missing somethig important ? -- Regards, Dim Zegebart, Moscow Russia.