Xref: news2.mv.net comp.os.msdos.djgpp:7035 From: Laurentiu Badea Newsgroups: comp.os.msdos.djgpp Subject: Re: allocating dos memory Date: Wed, 07 Aug 1996 17:03:52 +0200 Organization: Laboratory for Numerical Methods Lines: 19 Message-ID: <3208B058.418E773D@lmn.pub.ro> References: <3208A980 DOT 6CCD23CD AT lmn DOT pub DOT ro> NNTP-Posting-Host: ha.lmn.pub.ro Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Laurentiu Badea DJ-Gateway: from newsgroup comp.os.msdos.djgpp Laurentiu Badea wrote: > > patrick fox wrote: > > > > When allocating a block of dos memory in djgpp, is there a way to force > > djgpp to not cross a page boundary (dos pages (0x00000 0x10000 0x20000 > > etc.)? I need this for allocating a dma buffer. > > alloc twice as needed if you have mem to spare. Of course I meant alloc two "pages" for having at least one aligned. -- -------------------------------------------------------------------- | Laurentiu Badea, bytemare AT lmn DOT pub DOT r | | CS student at PUB, laur AT ulise DOT cs DOT pub DOT ro | | Network Administrator | | for node lmn.pub.ro. http://www.lmn.pub.ro/~bytemare/ | --------------------------------------------------------------------