Started porting sd driver from retrobsd.