Mail Archives: djgpp/1997/01/14/06:39:34
Hi Shawn and SET,
>> In protected mode, to make a DMA buffer, one must allocate memory under
>> 1M, correct?
>
>Yes.
No. It depends for what device we are talking about. For example I
have program the DMA for an ISA device that can address any memory
up to 16M.
The trick about using memory above 1M is getting the physical address
to program the DMA with. If you are interested I have a piece of code
that lets me malloc() the DMA buffer and then work out its the
physical address.
-Neil
--
***********************************************************************
Neil Jarvis
Proteon International Ltd, R&D, York, UK. Tel: (+44) 1904 693409
Neil DOT Jarvis AT proteon DOT com
http://tom.proteon.com:8080/~naj/
***********************************************************************
Thought of the day:
The gene pool could use a little chlorine.
***********************************************************************
- Raw text -