6502 passes functional tests. rejigged things a bit.