Read and write the ROM.