Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site mhuxi.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!mhuxm!mhuxf!mhuxi!v1b From: v1b@mhuxi.UUCP (davis) Newsgroups: net.micro.pc Subject: Re: Anyone know how to enlarge the PC-DOS default environment size? Message-ID: <410@mhuxi.UUCP> Date: Tue, 11-Mar-86 08:11:57 EST Article-I.D.: mhuxi.410 Posted: Tue Mar 11 08:11:57 1986 Date-Received: Fri, 14-Mar-86 04:05:50 EST References: <1007@unmvax.UUCP> <40@ur-tut.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 65 > ---------------Keyboard Sacrifice to the Line Eating Unix God!----------------- > > Anyone... > > Several months ago someone posted a way to enlarge DOS 3.0's or DOS 3.1 > default environment area. I need to store several environment variables there > using the "SET name = value" command from PC-DOS. This is necessary for both > my text editor and 2 of the compilers that I use. > > I'd appreciate it greatly if the patch could be either posted to > net.micro.pc or emailed to me. > > My thanks in advance... > > --->> Shekondar <<--- > >From shqer Fri Dec 20 08:36 EST 1985 forwarded by shqer >From 2212msr Fri Dec 20 08:37 EST 1985 remote from whuts This has been posted before but it seems to be of continuing interest to net subscribers. NOTE - I'M STILL LOOKING FOR ADDRESS TO PATCH FOR USE WITH DOS 3.1 (ON IBM-AT). This patch increases the environment size from 128 bytes to (H)0080 (128 decimal) paragraphs of 16 bytes each. debug a:\command.com -u cs:0f2b ;DOS VERSION LOCATION ;2.X CS:ECE ;2.0 (COMPAQ) CS:F66 ;2.11(ATT&T PC6300) CS:DF2 ;3.0 CS:0F2B ;contents should be MOV BX,000A -a0f2b ;address to asemble new code into XXXX:0f2b mov bx,0080 ;system prompts you with XXX:0f2b - ;enter carriage return -w ;write change YYYY ; message telling how many bytes were written -q ;quit For DOS 3.1, an undocumented feature of the SHELL command is used in the CONFIG.SYS file: shell=drive/pathname_of_command_processor drive/path_to_command_process /p/e:number_of_16_byte_paragraphs where: 10