Simplified palette DMA code