www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/17/04:09:34

Date: Sat, 17 Oct 1998 11:08:58 +0300 (EDT)
From: Toni Rasanen <torasane AT mail DOT student DOT oulu DOT fi>
X-Sender: torasane AT paju DOT oulu DOT fi
To: djgpp AT delorie DOT com
Subject: Re: UDMA <-> getting physical address of an array ?
In-Reply-To: <36277D79.C9D0F1EF@mcis.de>
Message-ID: <Pine.SGI.3.95.981017110233.18662A-100000@paju.oulu.fi>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Fri, 16 Oct 1998, Gero Timann wrote:

> Modern DMA-Controllers allows now to write/read to/from 16MB (insteed of
> the old 1MB with only 64k-addressing). Great, no dosmemget and

Whether the new DMAchips can cross boundary limits or not, it's
a simply stupid to presume that everyone has a new chip when you
create a program. So don't presume, check. And still make your
routines to support old DMA's, unless you really wish your program 
to have some 90% less users...

> from an array, where i want to store the data, under DJGPP ?

As I am writing this at the unversity, I can't access my own
notes, but if I happen to remember corrent, you ought to use
__dpmi_allocate_dos_memory -function (or something like that).
Check the help files for more detail (rhide preferably :), it's
really rather simple. 

 ///           Toni Räsänen
///       torasane AT mail DOT student DOT oulu DOT fi

- Raw text -


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