6502 Emulator in Python