implemented IOPort methods (untested)