HDMA working. GDMA corrected.

HDMA working. GDMA corrected.