pouët.net

Go to bottom

baremetal

this is a bare-metal x86 raymarcher that fits in the mbr and works on real hardware.

to boot this, you need to burn the start file to a usb stick or floppy (not tested) or
cd (not tested) using dd or an equivalent tool if you're not on linux.

your cpu needs to support SSE 4.1 (intel cpu's should support it since 2006 or so).
you also need to have support for legacy boot if you use uefi.
might run slower or faster on cpu's with different/non-uniform clock counters, I tested it on
my Q9650 (real hardware) and on qemu+kvm on an i7-4790k

for example:

    sudo dd if=start of=/dev/your/usb/stick bs=512 count=1 && sync

source code: https://github.com/Francesco149/baremetal-x86/blob/master/march/start.S
video: https://www.youtube.com/watch?v=LDYzCR2YtJs
Go to top