old routines from SRGP. Steve's plib/sg.h does a nice job of completely replacing this (and since plib is already around) and is a nice clean design so it just makes sense.