delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/10/28/01:02:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Sample code for DMA buffer allocation via XMS?
Date: Thu, 27 Oct 2005 23:23:51 CDT
Organization: Rice University, Houston, TX
Lines: 7
Message-ID: <4361a7d7.sandmann@clio.rice.edu>
References: <4360ac62$1_1 AT news DOT ecore DOT net>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1130474562 116 128.42.105.3 (28 Oct 2005 04:42:42 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: Fri, 28 Oct 2005 04:42:42 +0000 (UTC)
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I need to allocate DMA buffers from within a DJGPP application.

This depends on the environment you are using.  Under PMODE without VCPI,
you have 1:1 mapping on any malloc() memory.  Under CWSDPMI you can use 
the the example files in http://clio.rice.edu/djgpp/cwsdma2.zip (or older 
cwsdma.zip in same place) as an example to map the memory.

- Raw text -


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