In-reply-to » My little toy operating system from last year runs in 16-bit Real Mode (like DOS). Since Iโ€™ve recently figured out how to switch to 64-bit Long Mode right after BIOS boot, I now have a little program that performs this switch on my toy OS. It will load and run any x86-64 program, assuming itโ€™s freestanding, a flat binary, and small enough (< 128 KiB code, only uses the first 2 MiB of memory).

Seeing this run on real hardware is so satisfying, even if itโ€™s just a small example. ๐Ÿ˜…

https://movq.de/v/ec46b8cf99/netbook.mp4

โค‹ Read More