🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2936

Re: Device driver INIT function

#2936
From: david nugent
Date: Wed, 07 Nov 1990 00:43
30 lines
1619 bytes
In <CMM.0.88.657803304.ingea@svarte.ifi.uio.no> ingea@IFI.UIO.NO (Inge Arnesen) writes:

> According to the MS DOS documentation I have, only the lower MS DOS functions
> (up to call 0ch) can be called from a device driver function (to prevent
> DOS reentrancy).

Yes, MS documentation is always "correct" and "complete" (heavy sarcasm!).


> I have heard roumors that other functions might be called from the INIT
> function of a device driver. An author of a QEMM386-like program uses
> the Exec function call from the INIT function without problems.

> Does anybody know what function I can call from the INIT function in a
> device driver?


I've used write handle (40H), get vector (35H), set vector (25H) with no
apparent problems under DOS versions 3.10 and above (I don't support earlier
DOS versions in my software anyway, so that's all I care about).

I guess it's most often a case of "try it and see".  :-)

    - david

-- 

        Fidonet: 3:632/348   SIGnet: 28:4100/1  Imex: 90:833/387
              Data:  +61-3-885-7864   Voice: +61-3-826-6711
 Internet/ACSnet: david@csource.oz.au    Uucp: ..!uunet!munnari!csource!david
Technical Details
Message-ID: <753@csource.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!ucsd!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csource!david
References: <CMM.0.88.657803304.ingea@svarte.ifi.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!ucsd!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!csource!david
From: david@csource.oz.au (david nugent)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Device driver INIT function
Message-ID: <753@csource.oz.au>
Date: 7 Nov 90 00:43:12 GMT
References: <CMM.0.88.657803304.ingea@svarte.ifi.uio.no>
Organization: Unique Computing Pty Ltd, Melb, Aust.
Lines: 30