In-reply-to » Btw @movq you've inspired me to try and have a good 'ol crack at writing a bootloader, stage1 and customer microkernel (ยตKernel) that will eventually load up a Mu (ยต) program and run it! ๐Ÿคฃ I will teach Mu (ยต) to have a ./bin/mu -B -o ... -p muos/amd64 ... target.

@prologic@twtxt.net Iโ€™d love to take a look at the code. ๐Ÿ˜…

Iโ€™m kind of curious to know how much Assembly I need vs. How much of a microkernel can I build purely in Mu (ยต)? ๐Ÿค”

Canโ€™t really answer that, because I only made a working kernel for 16-bit real mode yet. That is 99% C, though, only syscall entry points are Assembly. (The OpenWatcom compiler provides C wrappers for triggering software interrupts, which makes things easier.)

But in long mode? No idea yet. ๐Ÿ˜… At least changing the page tables will require a tiny little bit of Assembly.

โค‹ Read More