Mail Archives: djgpp/1996/05/12/03:19:06
On Fri, 10 May 1996, Shawn Hargreaves wrote:
> but it is very sketchy. It's also complicated under djgpp by the fact that
> the DMA buffer usually has to be in the low megabyte of physical memory,
> so you need to use special DPMI calls to allocate DOS memory. There is
> some code that does this in my Allegro library (checkout dma.c and sb.c).
There is also the VDS (virtual DMA services) API that should let you
solve the problems with the DMA and memory mapping. The problem is that
you need a memory manager that supports VDS to use it, so it won't work
e.g. on a machine that runs CWSDPMI with raw memory or XMS.
- Raw text -