move a load of stuff into the same section as readcard(), there's no point in running it if there is no change to cc!