From: Groepaz <gr...@gm...> - 2004-04-15 15:46:49
|
On Thursday 15 April 2004 17:27, JockyW wrote: > Of course i have read that :) I didn't write it but I align the address > before i pass it to the DMA address reg (same for length). > > Problem is that the DMA regs take only 26 bits (b0-b25) with b0-b4 all > zero. My address is 32 bits so should I simply strip 6 bits off? I have the > feeling that the address has to be remapped to some kind of bus address. > But I have no idea how. err? *dmareg=((address&~0xc0000000)>>5); ? gpz |