[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dma transfers




Hi all,



1 - Thanks for the answers about reading the BAR,

2 -

  I am trying to move data from a buffer in main memory
into the PCI device using an on chip dma controller (i960RP).
  
  I wrote the code to work under dos and compiled it with borlandc 3.1.
The program works fine in dos mode.

  When I try to run the program in a dos window under win'95, the 
transfered data is not as it should be. I guess the win'95 is switching
the tasks so that the address I delivered to the dma controller as a 
parameter that is pointing to the begining of the block, is not always
containing my buffer.



  How can I tell the win'95 that the buffer should be locked in memory?
Is it possible (given the fact that the code is a standard dos exe)?


 


=========================================================================
Noam Efrati                    | e-mail: noam@terra.co.il  
Terra computers ltd.	       | phone : 972-7-6483444	 
Omer Industrial Park           | fax   : 972-7-6483445
84965 Israel                   |
=========================================================================
ê
ö