🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.certification.a-plus
Article #6

Re: RealMode Driver Help

#6
From: tech232
Date: Fri, 30 Mar 2001 14:28
63 lines
3786 bytes
When a program wants to access the cd, it calls mscdex which is a tsr
(terminate & stay resident program).  It might be called a driver except
that it is not loaded in the same place in memory as the regular drivers.
ie. it is not a part of the chain of drivers that get loaded in order in
memory at bootup. It is loaded into program memory space.  mscdex figures
out what the program is asking for then calls the driver for the cd.

CALLS means that it finds the driver code already in memory or loads it to
memory then and begins to read it line by line and execute the code

If you send an eject command from the program to mscdex, it figures out this
request and then asks the driver to eject the cd. etc.  It does this by
identifying the driver from the driver chain.  This part of the mscdex
autoexec entry identifies which driver it needs to call.   /D:MSCD0001  --
It could be /D:MSCD -- or /D:MSCD0002 or whatever you want to call it.  If
loading only one cd driver you could simply designate it /D:MSCD and it
would work ok.

To figure out which driver to use, mscdex checks the chain of drivers and
finds one with the correct name. ie /D:MSCDxxxx then runs the code for that
driver in the process passing the request (whatever it is, play-eject etc)
to that driver.

mscdex.exe is pretty much a generic tsr program altho you should use the
latest one you have.  The driver however is especially written for the cd
altho many will interchange and there are generic drivers that will work
with most cd's.

The driver is loaded from config.sys and must have the same /d:mscd in it's
command line.  ie. the /d:mscd must match in both autoexec and config.sys.
It gets loaded and MSCDxxxx is it's identifier so that mscd.exe can find it
when it needs to run the driver code.

tech232 / ChasG



The driver is loaded
"Alabasta" <destabi@excite.com> wrote in message
news:9a1hqe$925$1@lust.ihug.co.nz...
> Here's a real newbie question I guess a guru here may be able to help.
>
> I am loading win95 from cd rom and thought I had a startup disk that would
> allow this . BUT NO!!!
>
> I forgot i need to load the cd drive drivers so I copied MSCDEX.exe from a
> Win98 machine and added it to the start up disk.(the disk is one made with
> the add/remove programs - startup disk - so it must be fairly generic)
>
> I then had to edit config.sys and autoexec.bat but i know mscdex goes in
th
> autoexec.bat file but I am unsure of the model of the cd drive.
>
> Is mscdex.exe truely generic in realmode or must I find a driver
> compatible??
> Would this line do the deed???
>
> LH A:\MSCDEX.EXE /D:MSCD0001 /M:30 /L:D
>
> can you confirm I ve thought of enough before I go back and try again
>
>
>
Technical Details
Message-ID: <ld2x6.1$v55.19143808@localhost.bayou.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.skycache.com!Cidera!localhost.bayou.com!not-for-mail
References: <9a1hqe$925$1@lust.ihug.co.nz>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f42a4,bae481e02edab210
X-Google-Attributes: gidf42a4,public
X-Google-Thread: 100a73,bae481e02edab210
X-Google-Attributes: gid100a73,public
X-Google-ArrivalTime: 2001-03-30 06:38:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.skycache.com!Cidera!localhost.bayou.com!not-for-mail
From: "tech232" <cgodard@bayou.com>
Newsgroups: alt.certification.a-plus,aus.computers.cdrom
References: <9a1hqe$925$1@lust.ihug.co.nz>
Subject: Re: RealMode Driver Help
Lines: 65
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <ld2x6.1$v55.19143808@localhost.bayou.com>
Date: Fri, 30 Mar 2001 08:28:29 -0600
NNTP-Posting-Host: 209.209.198.71
X-Trace: localhost.bayou.com 985968593 209.209.198.71 (Fri, 30 Mar 2001 10:09:53 CST)
NNTP-Posting-Date: Fri, 30 Mar 2001 10:09:53 CST
Organization: Bayou Networks