MOS6502: I'm sure the _IF_* functions are wrong, they'll need bit shifting, but since its easier to push this interim code level to git and then pull it from the laptop when I switch development platforms, it's going in and there's nothing that you can do about it. :-P