Began working on HAL implementation of port io