cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/13/00:00:50

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Page Boundaries
Date: Thu, 13 Aug 1998 00:21:24 -0300
Organization: NBTel Internet
Lines: 20
Message-ID: <35D25BB4.EC72F30C@unb.ca>
References: <6qsevr$5jd$3 AT pump1 DOT york DOT ac DOT uk>
NNTP-Posting-Host: fctnts10c24.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Steve Carter wrote:

> 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 need to know that too.  I want to use __djgpp_map_physical_memory, but it
says I need a page-aligned data-block.  What is page-aligned and how to I
create/calculate a page-aligned address.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019