Minimal changes to get m6502 to compile (won't work)