delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/02/10:30:41

Date: Sun, 2 Apr 2000 09:46:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: keyboard interrupt
In-Reply-To: <38DFBCCB.6A1BC333@mtu-net.ru>
Message-ID: <Pine.SUN.3.91.1000402094605.9367P-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


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