Skip to content

LoopZ/biefircate

 
 

Repository files navigation

biᴇꜰɪrcate

very experimentalsome developer notes available

  1.  sudo apt-get install make gcc-mingw-w64-x86-64 gcc-multilib nasm
  2.  sudo apt-get install dosfstools mtools fdisk
  3.  sudo apt-get install qemu-system-x86 qemu-utils zip ovmf
  4.  ./configure
  5.  make -j4
  6.  make run-qemu

This aims to run x86-16 or x86-32 code from an x86-64 UEFI environment.

Currently the code tries to bring up any legacy option ROMs it can find, starting with the VGA option ROM.

The bootloader can now also run an unmodified kernel from MIT's Xv6 teaching operating system — bypassing Xv6's own legacy BIOS bootloader — on a QEMU virtual machine with serial console. To build and run Xv6, also do these:

  1.  make -j4 hd-xv6.img
  2.  make run-qemu-xv6

Again, some developer notes are available.

About

Running x86-16 or x86-32 code from x86-64 UEFI; _very experimental_ • mirror of https://gitlab.com/tkchia/biefircate • developer notes at https://gitlab.com/tkchia/biefircate/-/blob/main/doc/NOTES.asciidoc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 76.5%
  • Assembly 19.9%
  • Makefile 3.6%