Mail Archives: djgpp/1998/02/07/10:54:01
On 7 Feb 98, Swipnet was found to have commented thusly:
> Hi.. I have two questions:
I have two answers, but are they right? :)
> 1) Is there any equivalence to the Get/SetVector funtions in DJGPP.. ie
> if I want
> to replace an interrupt, how to I do it??
You will want to distinguish between using real and protected mode
interrupt handlers (a deep subject, one I will not pretend to be
knowledgeable at until I write my own handler that runs under djgpp).
Look at the descriptions for the library functions
_dpmi_get/set_real/protected_mode_vectors(). I think it is a good
idea as well that you read the DPMI specification (0.9/1.0) and learn
that well...perhaps like the back of your hand; find it at
www.delorie.com. You know that life is tough for those who make the
decision to write their own interrupt handlers.
> 2) How to I make my own library (.a file) from scratch?..
If using RHide, just name the target with an 'a.' extension. If
using make, there is a standard way of specifying the use of the 'ar'
command, which is what makes a library out of your objects. Read the
documentation on the use of the 'ar' utility.
Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara TURKEY
mitch AT duzen DOT com DOT tr
other job title: Sequoia's (dob 12-20-95) daddy
- Raw text -