From: SerDevian Newsgroups: comp.os.msdos.djgpp Subject: Re: Interuppt functions Date: Thu, 13 Mar 1997 09:27:58 -0700 Organization: XYZZ Software Co. Lines: 21 Message-ID: <33282B0E.71380FE2@CS.colostate.edu> References: <5g8qst$me8 AT oban DOT cc DOT ic DOT ac DOT uk> NNTP-Posting-Host: ts1107.slip.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Mr P. Steele wrote: > I am writing an interuppt haddler and when using the following function > definition > > void ( _interupt * Keyboard_handler)() > > I get declaration error. You've been using Borland C, haven't you? :) To find out about interrupt handlers (keyboard, specifically), look at the coding section of my web page (below). I've got example source and an explanation there. Or look at the source code to Allegro. It has several interrupt handlers. It's a bit bigger, though... -- Yamaha / XYZZ "May farce the with be you." mailto:scriven AT CS DOT colostate DOT edu mailto:scriven AT VIS DOT colostate DOT edu http://www.VIS.colostate.edu/~scriven/