HDMA/DMA emulation optimized and improved. HDMA documentation improved.

HDMA/DMA emulation optimized and improved. HDMA documentation improved.