When I had my Osborne 1 there was a community supported OS called ZCPR3, written for the Z80 and any user could easily compile their own kernel. There was a question and answer interface that let you include functions in the kernel or have them be separate executables.
I compiled a kernel that was 5K in size, so out of 64K I had 59 free to run my software.

































