Hard for me to see why ram_to_io_addr is not set to nil here?