Mail Archives: djgpp/1999/03/01/07:01:09
Hi!
I have to write the assembly language interrupt handler to interface
a piece of hardware with my DJGPP compiled C++ program.
The interrupts rate is so high (up to 20 kHZ), that I have to install
both real mode and protected mode handlers. Additionally, due to
the complicated data processing I have to write it in assembly language
(NASM I think).
Unfortunately, although there are some information about the interrupt
handlers written in C language (even in DJGPP-faq - chapter 18),
I couldn't find anything about using the assembly language interrupt
handlers. How to write them, to interface them smoothly with the rest
of C program? How to access handler's data from the C program.
How to write "dual mode handler" (code which may be executed both in
real and in protected mode)?
Any help or pointers to sources of information is appreciated.
TIA
Wojtek Zabolotny
wzab AT ise DOT pw DOT edu DOT pl
- Raw text -