Mail Archives: djgpp/1996/12/19/12:37:38
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 -