Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site whuts.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuts!2212msr From: 2212msr@whuts.UUCP (ROBIN) Newsgroups: net.micro.pc,net.micro Subject: Environment size o=in PC-DOS 3.1 Message-ID: <584@whuts.UUCP> Date: Thu, 13-Mar-86 08:35:59 EST Article-I.D.: whuts.584 Posted: Thu Mar 13 08:35:59 1986 Date-Received: Sat, 15-Mar-86 02:10:54 EST Distribution: net Organization: AT&T Bell Laboratories Lines: 71 Xref: watmath net.micro.pc:7397 net.micro:14027 Subject: Re: Anyone know how to enlarge the PC-DOS default environment size? > Shekondar - For some reason I was unable to reach you via mail, so I'm posting the information to the net again. Max Robin -------------------------------- This patch increase 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.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 af3:0d11 0a00 or al,[bx+si] -e 0d11 4af3:0d11 0a.80 ;system prompts you with '4af3:0d11 0a.' ;you must type 80 ;3e gives 992 bytes, same as 62 paragraphs ;of 16 bytes achieved by using SHELL patch - ;enter carriage return -w ;write change YYYY ;message telling how many bytes were written -q ;quit --------------------------------- Max S. Robin AT&T Bell Laboratories Rm. 3E-318A Whippany, NJ 07981 201-386-6865 email:whuxg!2212msr *** REPLACE THIS LINE WITH YOUR MESSAGE ***