Article View: comp.os.msdos.programmer
Article #56Re: Getting device driver options
From: Semashko Serg
Date: Fri, 30 Oct 1992 20:35
Date: Fri, 30 Oct 1992 20:35
19 lines
1371 bytes
1371 bytes
>Here's a (hopefully) really simple question: > >Suppose there's a statement like > >DEVICE=C:\MYDRIVER option1 option2 > >in a CONFIG.SYS file. What do you do inside the driver (preferably during >INIT processing) to read the options specified in the CONFIG.SYS file? >Even if you could, it would be ugly to call dos to read the file, but you >can't, so what's the scoop? > Offset 12h of device request during INIT contains dword address of the text after DEVICE= in CONFIG.SYS -- ____________________________________________________________________________ e-mail: semashko@lcta1.jinr.dubna.su Join Institute Semashko Serge . for Nuclear Research ____________________________________________________________________________
Technical Details
Message-ID:
<AA7oPyg0A9@lcta1.jinr.dubna.su>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!fuug!kiae!newsservReferences:
<BwJJ88.2wv@space.physics.uiowa.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!fuug!kiae!newsserv From: semashko@lcta1.jinr.dubna.su (Semashko Serg) Newsgroups: comp.os.msdos.programmer Subject: Re: Getting device driver options Date: Fri, 30 Oct 92 22:35:19 +0200 Distribution: world Organization: LCTA, Dubna Message-ID: <AA7oPyg0A9@lcta1.jinr.dubna.su> Sender: news-service@newcom.kiae.su Reply-To: semashko@lcta1.jinr.dubna.su References: <BwJJ88.2wv@space.physics.uiowa.edu> Lines: 22