Initial import of pm6502 codebase