Flash-based NES DPCM converter