From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: DMA handling Date: Wed, 8 Oct 1997 19:08:07 +0100 Organization: None Distribution: world Message-ID: References: <60sbs3$foq AT dfw-ixnews8 DOT ix DOT netcom DOT com> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.