www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/10/18:04:06

From: dtauritz AT WI DOT LeidenUniv DOT NL (D.R.Tauritz)
Organization: Leiden University,
Dept. of Mathematics & Computer Science,
The Netherlands
Subject: Interrupt handling
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 10 Oct 1994 18:47:44 +0100 (MET)

To all,

Thanks for your comforting messages concerning porting my TASM code to GAS.
Well, I guess the logical follow-up are the problems encountered while
porting my code ;-)

I'm trying to write an interrupt handler in C like the example provided in
  djgpp\samples\dpmi\timer.c
In my program everything works when I select software interrupt 8 (timer
interrupt) but not when I select software interrupt 72 (IRQ 10). While I
really have hardcoded an interrupt generation via my soundcard which is
installed for IRQ 10...
In the file sb.c (djgpp/contrib/sblaster) both protected mode and real mode
interrupt handlers are installed. Why is this? I thought DJGPP was a
protected mode only package! Anyway, I wrote something similar to the real &
protected mode combo used in sb.c, alas, without success, my interrupt
handler installs without giving an error but the installed interrupt routine
is never called...
Any suggestions would be very much appreciated.

Daniel

-----------------------------------------------------------------------------
| Daniel R. Tauritz                            | Maintainer of the          |
| E-mail: dtauritz AT wi DOT leidenuniv DOT nl            |   Aria FAQ                 |
| Department of Mathematics & Computer Science |   Aria Internet Department |
| University of Leiden                         |   Aria Support List        |
| The Netherlands                              |   Leiden Audio Archives    |
-----------------------------------------------------------------------------
|     The Aria Internet Department: ftp.wi.leidenuniv.nl:pub/audio/aria     |
-----------------------------------------------------------------------------

- Raw text -


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