finish GetOSBit and add CONST