| delorie.com/archives/browse.cgi | search |
| Message-ID: | <324F2E6B.5B70@spy.isp.nsc.ru> |
| Date: | Sun, 29 Sep 1996 19:20:27 -0700 |
| From: | Ryzhenkov Ilya <ilya AT spy DOT isp DOT nsc DOT ru> |
| Organization: | ISPh SB RAS |
| MIME-Version: | 1.0 |
| To: | DJGPP Mailing List <djgpp AT delorie DOT com> |
| Subject: | Some question on interrupts |
Hello!
I have a few questions on interraupt handling under djgpp.
The situation : i must write down few interrupt handlers using
C only (no asm). All handlers are in pmode.
It's needed to pass a kind of exam in university ;)
1. Does interrupt wrapper saves/restores all regs ?
Or i must do it myself in the C code ? How ?
2. How can i chain interrupt BEFORE my handler.
i.e the following scheme is desired :
interrupt occur
wrapper starts
wrapper call previous handler
wrapper call my handler
wrapper exits
3. If the previous answer is "you can't" then how can I
directly call previous handler ?
Sincerely yours,
Ilya
-----------------------------------------------------------------------------
mailto://ilya AT spy DOT isp DOT nsc DOT ru
http://spy.isp.nsc.ru
on IRC (EFNet) as "Orangy" usually on #djgpp #novosibirsk or somewhere
else ;)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |