Nintendo Entertainment System (NES) emulator implementing a cycle-accurate simulation of the MOS 6502 CPU and 2C02 PPU pipeline