An Extended 6502 Emulator