Check in my old SR24 code, for posterity