www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/26/05:13:24

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Interrupt functions in DJGPP
Date: Fri, 25 Oct 1996 17:22:15 GMT
Lines: 33
Message-ID: <846264050.6272.0@abwillms.demon.co.uk>
References: <54leeh$1m3 AT artemis DOT ibernet DOT es>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

highlander AT redestb DOT es (HiGhLaNDeR) wrote:

>	I'm translating a Mod Player from Turbo Pascal 7.0 to GNU C, and the
>first obstacle i found, is to make an interrupt handler in DJGPP. I
>want to make an Int 8 handler, to temporize the song, and i don't know
>how must be a interrupt in GNU C. Anyone who has done one can show me
>the structure? To change the interrupt vectors what functions i must
>use, in Turbo Pascal they are "setintvec" and "getintvec" they are the
>same...

Far from it!

For a full treatment of this, look at
http://www.abwillms.demon.co.uk/prog/djints.txt
Then move on to http://www.abwillms.demon.co.uk/prog/
and download libhw, but read the notes first. If you're using V2.01,
the section attribute fix will, hopefully, be available from this
weekend onwards.

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