Rework memory allocation for purposes of loading ROM file.