r3051: adding more cp0 functionality