🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Load config.sys driver as TSR ???

#3101
From: Doug Dougherty
Date: Mon, 19 Nov 1990 19:45
37 lines
1914 bytes
motti@ocsmd.ocs.com (Motti Bazar) writes:

>Hi there,

>I wonder if anybody as come across a utility or even real code to
>load config.sys driver as a TSR ???
>It will allow me to load config.sys type drivers any time I need
>them (and maybe even to unload) instead of editing config.sys and
>rebooting.

>Any ideas ??? If I'll get enough info, I'll do it by myself and
>post it.

>Regards ... Motti

This is a very interesting idea.  I'm actually not sure how well it will
work out in practice, but I encourage the idea.

My question is a related one.  I am currently developing an "ASK" device
driver.  You put it in your CONFIG.SYS like this:

	device=ASK.SYS VDISK.SYS 384 /X

and it asks you whether or not you want to load VDISK.

Unfortunately, it is not working, and I think the reason is that you
cannot (so say all the manuals) do DOS function calls from within the
INIT code of a device driver.  (Currently, what the code does is crash
the system shortly after trying to open the named device driver file)

However, I know this can work.  There are commercial products that have
this calling syntax.  I have disassembled one of them, XLOAD.SYS, by
Helix Software (great bunch of guys, they are!) and it does, in fact,
contain the DOS function calls to open (3D), read (3F), and close (3E)
a file handle.  How they get away with it is a mystery to me...

Any help would be appreciated.
Technical Details
Message-ID: <valley.659043938@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!pacbell.com!att!linac!midway!valley
References: <1105@ocsmd.ocs.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!pacbell.com!att!linac!midway!valley
From: valley@uchicago (Doug Dougherty)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Load config.sys driver as TSR ???
Message-ID: <valley.659043938@gsbsun>
Date: 19 Nov 90 19:45:38 GMT
References: <1105@ocsmd.ocs.com>
Sender: news@midway.uchicago.edu (News Administrator)
Organization: University of Chicago
Lines: 37