Date: Sun, 2 Apr 2000 09:46:20 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Alexei A. Frounze" cc: djgpp AT delorie DOT com Subject: Re: keyboard interrupt In-Reply-To: <38DFBCCB.6A1BC333@mtu-net.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 27 Mar 2000, Alexei A. Frounze wrote: > In fact, you can't make it in plane C with DJGPP. I thought the DJGPP FAQ explained how to do just that (in section 18.9). Is something wrong with that explanation? > That's because > DJGPP/GCC doesn't know the reserved word such as "interrupt" or > "__interrupt". You must make IRQ wrapper in ASM and switch there stack > as well due to flat memory model which is used by C programs. That's why the library provides such wrappers. So this is not a problem with handlers written in C.