www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/19/12:37:38

Date: Thu, 19 Dec 1996 19:19:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Berdeklis <peter AT chinook DOT physics DOT utoronto DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Question about hardware interrupts...
In-Reply-To: <Pine.SGI.3.91.961219115552.12215A-100000@chinook.physics.utoronto.ca>
Message-ID: <Pine.SUN.3.91.961219191227.26067B-100000@is>
MIME-Version: 1.0

On Thu, 19 Dec 1996, Peter Berdeklis wrote:

> One last thing...  If I have to call enable() and disable() in the prot. 
> mode handler then I have to lock that code.  But I don't know the size of
> the code because it's part of the standard library.  Therefore I must call
> the DPMI host's '__dpmi_get_and_enable/disable_virtual_interrupt_state'
> directly, right?

The easiest way is probably to call the appropriate DPMI function in
assembly from your handler.  The library function is really just a wrapper
around a short assembly code.  You can look in the library sources
(djlsr201.zip) for its assembly code. 

> Is there a way to force gzip to add that
> extension instead of changing it to *.inz.

Which gzip do you have?  If that's gzip compiled with v2.0, I hope it 
does that automagically when LFN is set to `y'.  If not, then that's a 
bug in the DJGPP port (probably from the old v1.x days when no long 
filenames were available).  In the latter case, you are out of luck, 
unless you care enough to get the gzip sources and correct the bug.

- Raw text -


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