Mail Archives: djgpp/2005/10/28/01:02:13

X-Authentication-Warning: 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: <>
References: <4360ac62$1_1 AT news DOT ecore DOT net>
X-Trace: 1130474562 116 (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 (or older in same place) as an example to map the memory.

- Raw text -

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