www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/07/10:54:01

Message-Id: <199802071500.RAA01132@ankara.duzen.com.tr>
Comments: Authenticated sender is <mitch AT ankara DOT duzen DOT com DOT tr>
From: "S. M. Halloran" <mitch AT duzen DOT com DOT tr>
Organization: User RFC 822- and 1123-Compliant
To: "Swipnet" <anders DOT clerwall AT swipnet DOT se>
Date: Sat, 7 Feb 1998 17:01:14 +0200
MIME-Version: 1.0
Subject: Re: Two questions
CC: djgpp AT delorie DOT com
In-reply-to: <886856283.985017@mn8>

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 -


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