first attempt at a generic rom reader