From: shc103 AT york DOT ac DOT uk (Steve Carter) Newsgroups: comp.os.msdos.djgpp Subject: Page Boundaries Date: 12 Aug 1998 16:13:47 GMT Organization: The University of York, UK Lines: 16 Sender: shc103 AT york DOT ac DOT uk Message-ID: <6qsevr$5jd$3@pump1.york.ac.uk> NNTP-Posting-Host: tower.york.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Anyone know how to allocate a page of memory, aligned to the page boundary? It would be a shame to allocate 128k to just use 64. This is for DMA to my soundcard, so it's a problem that must have been solved umpteen times. I'm working under DOS, and currently in pascal but I expect C might muscle in eventually. Thanks, Steve. -- Cleanliness is next to Cleanse; Godlike is next to Godliness, according to _my_ dictionary.