A simple 6502 simulator