Skip to content

leosncz/MinimalistOperatingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOS Operating System

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)

What is MOS ?

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.

Advantages and Disadvantages

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.

Example when running actual code

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).

Example

Tools

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.

File encoding

NASM require utf-8 without BOM encoding.

Version

Bootloader : ALPHA
Kernel : ALPHA

Environment variables

To run all the provided .bat scripts, you MUST add nasm, dd and gcc's directory to the PATH environment variable.

About

A "little", "minimalist", x86 Operating System.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published