This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
As of march 2021, MOS isn't in active development anymore and will probably never be again !. (or maybe who knows)
MOS stands for Minimalist Operating System.
You can find all the MOS sources in this repository, included .bat scripts must be run on a Windows platform.
MOS is targeted to 8086 family intel processors.
MOS's meaning is to be fully customizable, from the bootloader to the kernel.
You can modify MOS from itself or from the sources.
MOS is designed for developers, the bootloader loads the kernel which is supposed to be modified to your own personal use.
For the moment, MOS is in early development stage, the bootloader executes the kmain() function, but it is empty, you're free to do what you want next.
As you can see below, the actual code support basic writing to screen via easy-to-use functions. (squares, lines, ...) (here the function writeHorizontalLine(0,0,100,0) is called).
To edit files and disks, i really like to use DD, it's VERY great.
If you're under Windows, you can use HxD editor, it's as powerfull as DD.
I used nasm to produce binary code, all the assembler parts of MOS are written in nasm syntax.
Of course, gcc suite (Windows version) is needed in order to compile and link everything.
To finish with, I also like QEMU to test binary codes.
NASM require utf-8 without BOM encoding.
Bootloader : ALPHA
Kernel : ALPHA
To run all the provided .bat scripts, you MUST add nasm, dd and gcc's directory to the PATH environment variable.