Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun-barr!texsun!texbell!merch!sneaky!spudge!johnm From: johnm@spudge.UUCP (John Munsch) Newsgroups: comp.sys.ibm.pc Subject: Re: DOS memory allocation Keywords: fooling with DOS's mind Message-ID: <670@spudge.UUCP> Date: 12 May 89 17:40:32 GMT References: <8261@phoenix.Princeton.EDU> Reply-To: johnm@spudge.UUCP (John Munsch) Organization: Friends of Guru Bob Lines: 15 In article <8261@phoenix.Princeton.EDU> jwbirdsa@phoenix.Princeton.EDU (James Webster Birdsall) writes: > It occurred to me >that an easy way to do this would to be allocate memory from the top >down instead of bottom up, as usual. Can DOS be persuaded to do this >in an elegant manner? I'm sure you'll get tons of responses, but just in case... DOS versions past 3.0 have the INT 21h function call 58h which sets the DOS memory allocation strategy. One of the available options for this is to allocate from the top down. Consult a DOS technical manual for details on the parameters of the function call. John Munsch Son of "Sam I Am"