added morns changes to scr/portin.h