PerditionC / biefircate

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/NOTES.asciidoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

biᴇꜰɪrcate

very experimentalsome developer notes available

  1.  sudo apt-get install gcc-mingw-w64-x86-64 gcc-multilib
  2.  sudo apt-get install dosfstools mtools
  3.  sudo apt-get install qemu-system-x86 qemu-utils 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/NOTES.asciidoc

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 75.8%Language:Assembly 20.0%Language:Makefile 4.2%