delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/10/14:32:05

Message-Id: <m0xJeBW-000S28C@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>, djgpp AT delorie DOT com
Date: Fri, 10 Oct 1997 15:42:10 +0000
MIME-Version: 1.0
Subject: Re: DMA handling

Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> wrote:

> firewind wrote:
> >but Allegro is not the answer to everything.
> 
> I certainly can't argue with that :-)
> 
> >The poster asked how to -use- DMAs, not where he could get prefab 
> >libraries that have some DMA-using elements. Pointing him to Allegro 
> >does not answer his question.
> 
> I think you are missing the point of what SET was suggesting. He was
> saying not just to get and use Allegro, but to look at how it works, and
> then you will understand how to do the same thing yourself. Words are
> just one way of explaining something: in many cases a few lines of code
> can be much simpler and easier to understand...
> 
> The fact is, I don't know of any good docs about the DMA. There is a
> file by someone called Draeden on x2ftp, but it is basically just a list
> of register names: pretty useless if you don't already know what is
> going on! When I was writing the DMA code in Allegro, I learned how to
> do it from looking at the sources from MikMod and the Gravis Ultrasound
> SDK, and unless someone has written any better docs since then, I think
> looking at example source code is the best thing you will find...

Shawn is right. From the other hand I learnt DMA on the University, and 
learning how the 8237 and the PC achitecture works. And I don't think is a good 
idea to explain all of this in the newsgroup.

SET
 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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