[net.micro.cpm] permanently changing default disk fr

grayson@uiucuxc.UUCP (02/01/85)

>I am running CP/M-86, and want to be able to set the default disk from within
>a program in such a way that it *REMAINS* set after exiting the program.

Just modify the byte at 0004 - half of it contains the default drive number,
and half contains the default user number.  (I forget which half, but that
can easily be discovered by experiment).

	uucp:	{ihnp4,pur-ee}!uiucdcs!uiucuxc!grayson
		Dan Grayson, Math Dept, Univ of Ill, Urbana 61801