initial import of bios emulation