diff --git a/OVMF.fd b/OVMF.fd new file mode 100644 index 0000000..4e63653 Binary files /dev/null and b/OVMF.fd differ diff --git a/README.md b/README.md index e4805ee..5c666cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ # nasm-uefi bare-bones nasm uefi application + +build with: +* nasm -f bin yo.asm -o yo.efi +* sudo mount uefi.iso /mnt +* sudo cp yo.efi /mnt/ +* sudo umount /mnt + +Launch QEMU with: + +* /usr/bin/qemu-system-x86_64 -machine accel=kvm -name guest=uefiguest -machine pc,accel=kvm,usb=off,dump-guest-core=off -smp 2,sockets=2,cores=1,threads=1 -uuid 515645b7-ab3a-4e82-ba62-25751e4b523f -bios ./OVMF.fd -m 1G -vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing -drive file=uefi.iso + +Launch the Spice viewer with: +* remote-viewer spice://localhost:5900 + +In the viewer, at the prompt enter 'fs0:' + +Then enter 'yo' + + + + diff --git a/uefi.iso b/uefi.iso new file mode 100644 index 0000000..16cf46f Binary files /dev/null and b/uefi.iso differ