Release
Before midnight I could already talk to it
A kernel that says hello is nice.
But it’s useless.
It’s a car that starts and has no steering wheel.
So that same night, before twelve, I gave it a steering wheel.
First, real programs. Each one lives in its own room. If it wants something from the kernel, it has to show a card with specific permissions. No card, no entry.
Programs talk through channels. And the messages are designed so that, one day, the other end can be on another machine without changing a thing.
Then I moved the screen, keyboard and serial drivers out of the kernel. They’re ordinary programs now. If one hangs, the kernel carries on.
And then came the shell.
A line where you type and the system answers. help. ls. get. Not much more.
It looks like nothing.
It isn’t. It’s the first time you talk to it and it talks back.
Before bed I gave it three more things:
A disk, with its driver outside the kernel too.
A file system of its own, adkfs, to keep things.
And networking. Just enough to ask the router for an address and send messages, like your phone does when it joins the wifi.
Along the way I fixed two ugly details. Messages from several cores no longer trample each other when they’re printed. And when the permission cards run out, the system gives the real cause instead of the wrong error.
Day one.
It boots, listens, stores and connects.
Next, it had to not break.