MOS6502: Forgot to add variables into the functions which have the switch blocks... D'oh.