Rewrote the DMA system