added partial support for ps1 and ps2 in sys module