Mail Archives: djgpp/2000/04/02/10:30:41
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 -