BootOS: Monolithic operating system in 512 bytes of x86 machine code
I have also developed a very small kernel in 512 bytes, it&#x27;s a fun exercise [1] (this is a really old project that was uploaded to BitBucket long after it initially started). I quite like this BootOS project, you can of course see the compromises that any OS this size has to make.<p>I would make a recommendation to the BootOS project which is to squeeze a function table as I have done in order to allow programs to call functions in the kernel. If not, you either end up re-writing these functions for each of your programs, you have to recompile your programs any time you change your kernel or you end up trying to maintain jump positions.<p>For those still reading, I&#x27;m working on a large overhaul of saxos which includes very simple multi-tasking (currently working). The intention will be to have the kernel load a 512 byte GUI on top and then for the programs to have access to a terminal within the GUI. Once that&#x27;s working I then want to move towards also allowing programs to draw to the Window, but that also brings its own issues.<p>[1] <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;danielbarry&#x2F;saxoperatingsystem&#x2F;src&#x2F;master&#x2F;KERNEL&#x2F;KERN.ASM" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;danielbarry&#x2F;saxoperatingsystem&#x2F;src&#x2F;mas...</a>