Mail Archives: djgpp/1996/10/26/05:13:24
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 -