2 ms·
> You haven't lived until a bug of your own causes a triple-fault exception that causes a literal system shutdown. On the OS I work on, I deliberately added a
by 0x0203 3y ago
> You haven't lived until a bug of your own causes a triple-fault exception that causes a literal system shutdown.
On the OS I work on, I deliberately added a triple fault trigger as a fallback method of rebooting the system if the "normal" methods fail, which I have seen before.
To anyone looking to play with writing their own OS, definitely just do it. It's a lot of fun, and there's almost no limit to how much you can learn. With QEMU and bochs, and VirtualBox, etc... it's not that hard getting started. If you want to play around without starting from scratch, but find Linux source too complicated, give OpenBSD a look. Not that Linux is that hard, but it takes some getting used to how they do things. I find OpenBSD considerably more approachable.