Cycle accurate NES emulator