Message-ID: <324F2E6B.5B70@spy.isp.nsc.ru> Date: Sun, 29 Sep 1996 19:20:27 -0700 From: Ryzhenkov Ilya Organization: ISPh SB RAS MIME-Version: 1.0 To: DJGPP Mailing List Subject: Some question on interrupts Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 ;)