Article View: comp.os.msdos.programmer
Article #38Re: Getting device driver options
From: Jerzy Tarasiuk
Date: Fri, 30 Oct 1992 01:48
Date: Fri, 30 Oct 1992 01:48
12 lines
1361 bytes
1361 bytes
>>>>> On Thu, 22 Oct 1992 20:50:32 GMT, ack@space.physics.uiowa.edu (Allen Kistler) said: Allen> Here's a (hopefully) really simple question: Allen> Suppose there's a statement like Allen> DEVICE=C:\MYDRIVER option1 option2 Allen> in a CONFIG.SYS file. What do you do inside the driver (preferably during Allen> INIT processing) to read the options specified in the CONFIG.SYS file? DWORD[request+0x10] (same which need to be set to point to BPB array) contains pointer to string immediately following the '=' character in "device=something" line. The line is terminated by CR or LF. (note this is described in DOS Programmer's Reference, chapter Device Drivers, description of INIT command to driver)
Technical Details
Message-ID:
<JT.92Oct30024845@fizyk1.fuw.edu.pl>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!att-out!rutgers!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!fuw.edu.pl!cocos!jtReferences:
<BwJJ88.2wv@space.physics.uiowa.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!hoptoad!pacbell.com!att-out!rutgers!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!fuw.edu.pl!cocos!jt From: jt@fuw.edu.pl (Jerzy Tarasiuk) Newsgroups: comp.os.msdos.programmer Subject: Re: Getting device driver options Message-ID: <JT.92Oct30024845@fizyk1.fuw.edu.pl> Date: 30 Oct 92 01:48:45 GMT References: <BwJJ88.2wv@space.physics.uiowa.edu> Sender: news@fuw.edu.pl Organization: Warsaw University Physics Dept. Lines: 12 In-Reply-To: ack@space.physics.uiowa.edu's message of Thu, 22 Oct 1992 20:50:32 GMT Nntp-Posting-Host: fizyk1