Custom hobby kernel / OS targeting RISC-V (currently QEMU's virt machine).
A project implemented as a relaxation / meditation practice with close proximity to the hardware and little noise in between. It's supposed to become a small and fully comprehensible system with nothing I didn't choose between me and the metal.
For this project, I aim to work as much as feasible from physical sources. That means a paper copy of the OSTEP book and printed and ring-bound versions of (parts of) the RISC-V privileged and unprivileged specification and additional documents like the RISC-V Assembly Programmer's Manual and the RISC-V ABIs Specification. This captures some of the vibe of working with the C64 and the C64 Programmer's Reference Guide without the noise of internet and AI. There are valid uses for internet and AI as sources of information, but for this project, there is absolutely no AI-generated code allowed.
To build the kernel run
makeand then run it with
make qemuTo exit the emulation in QEMU, press Ctrl+A X.