SWswetland·Sep 22, 2019
If folks want to experiment with a tiny, bare-bones unix-y OS on relatively modern platforms, xv6 (used as a teaching OS at MIT) is ~10kloc of C for the kernel and a handful of userland programs: https://github.com/mit-pdos/xv6-public
More information, docs, etc: https://pdos.csail.mit.edu/6.828/2014/xv6.html
A few years back I did a quick port of it to x86-64 as a project to learn more about 64bit intel (having been in the ARM world for some time) which was fun: https://github.com/swetland/xv6
In Nanix: An idea for a modern, small, Unix-like operating system