restore cartridge when bios is unloaded