An accurate NES/Famicom emulator