Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site moncol.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!mtuxo!mtunh!mtung!mtunf!ariel!vax135!petsd!moncol!john
From: john@moncol.UUCP (John Ruschmeyer)
Newsgroups: net.micro.pc
Subject: Re: Changing the dumb '\' to '/'...
Message-ID: <404@moncol.UUCP>
Date: Thu, 27-Jun-85 17:24:55 EDT
Article-I.D.: moncol.404
Posted: Thu Jun 27 17:24:55 1985
Date-Received: Fri, 28-Jun-85 01:54:40 EDT
References: <7700007@prism.UUCP>
Organization: Monmouth College, West Long Branch, NJ 07764
Lines: 40

>From: matt@prism.UUCP
>
>The DOS call of interest is function 37 (hex), which is listed as
>reserved for DOS's use.  If function 37 is executed with AL set to
>0, the current switch character is returned in DL.  If it is
>executed with AL set to 1, the value in DL becomes the new switch
>character.
>
>Interestingly enough, function 37 also accept 2 and 3 as valid
>inputs in AL, but it isn't clear from tracing DOS what those numbers
>mean.  Anyone in netland know?

Time for another undocumented DOS 2.x feature- the AVAILDEV switch

By default, a file can not have the same name as a device (i.e. con).
If you add the following line to your CONFIG.SYS file:

		AVAILDEV=FALSE

then all devices must be referred to as \DEV\device (i.e. \DEV\CON). On the
other hand you can now have a file called AUX, PRN, or CON.

With AL set to 2, function 37 returns the current setting of this flag in
DL. With AL set to 3, function 37 sets this flag to the setting in DL.


[ Kudos to Ross Greenberg at timeinc for the list of undocumented
interrupts. ]

-- 
Name:		John Ruschmeyer
US Mail:	Monmouth College, W. Long Branch, NJ 07764
Phone:		(201) 222-6600 x366
UUCP:		...!vax135!petsd!moncol!john	...!princeton!moncol!john
						   ...!pesnta!moncol!john
Silly Quote:
		"He doesn't do anything right...
			He's saving the Old Pepsi."	- Johnny Carson

		New COKE- the refreshment that pauses.