delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/09/15:28:49

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Urgent Question: Interrupt handling
Date: Wed, 09 Oct 1996 18:26:55 GMT
Lines: 39
Message-ID: <844885552.3942.1@abwillms.demon.co.uk>
References: <01bbb58c$a6acc510$c61ed58d AT enigma>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Mike McDonald" <kelek AT engin DOT umich DOT edu> wrote:

>     Am I missing something about programming interrupt handlers under
>djgpp? 

Yes. Sorry to be blunt!

It's a complex isssue. For a fuller treatment, read:

http://www.abwillms.demon.co.uk/prog/djints.txt

A tutorial on DJGPP interrupt handling (oddly enough).

If you install Bill's GCC patch mentioned in there, you can use my
very own (shucks) libhw at http://www.abwillms.demon.co.uk/libhw.zip
to make most of it easier, and also use prewritten handlers for things
like... keyboard interrupts! If you want to do something special, you
could at least use that code as a basis for your own handler.

> I need to finish this handler ASAP.  Could anyone post or e-mail me
>some sample code for setting up a rudimentary interrupt handler?

No such thing as a rudimentary interrupt handler in DJGPP :-)


Regards,


ABW
---

COMPUTER: We are in position over the Rebel homeworld.
VADAR: Engage the Death Star primary weapon, let those rebel worms die!
COMPUTER: Sorry, your evaluation version of Battle Computer 3.0 has expired. 
          Please send 2.6 billion dollars to the address in REGISTER.TXT

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>

- Raw text -


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