Coder Social home page Coder Social logo

xsspark / mos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moldytzu/mos

0.0 0.0 0.0 9.15 MB

Operating system written in C. Monolithic kernel design.

License: MIT License

Shell 0.46% Python 0.39% C 92.74% Assembly 3.40% Makefile 3.01%

mos's Introduction

mOS

Hobby operating system written in C that targets early x86_64 computers and low RAM requirements

Features

- Monolithic kernel design
- 32 bpp linear frame buffer support
- Custom initrd support
- Serial console support
- Static ELF loading support
- Basic VFS
- PCI enumeration
- Very basic ACPI support
- Block allocator
- Page allocator
- Preemptive round-robin scheduler
- Socket IPC
- Unlimited virtual terminals
- 15+ system calls accessible in userspace
- Driver infrastructure
- Symmetric multiprocessing support
- FAT32 support
- AHCI support
- ATA/IDE support
- PS/2 keyboard and mouse support
- Primitive window management
- CLI applications
- VMware SVGA II support
- Bochs/QEmu video support
- Serial debug console
- Userspace libraries

Hardware support

  • CPU: x86 CPU (minimum required with 64-bit Long Mode, SSE3 and FXSR)
  • Storage: AHCI/ATA Hard Disks or SSDs
  • Graphics: VBE, UEFI GOP, BGA, VMware SVGA (at least one of them required)
  • Input: PS/2 keyboard and mouse
  • Networking: none
  • Others: HPET (required), ACPI (required 1.0), PCIe, Serial

Goals

mOS is designed to be an useful and lightweight OS that doesn't comply with any already written specification while supporting older and newer hardware.

Lines of code

mOS (kernel+userspace+libraries) consist of 10825 lines of code (as of 20 Aug. 2023).

Building and running

See BUILDING.md

Screenshots

See screenshots folder here

Issues

mOS is in a very pre-alpha stage of development and it is not guranteed to be bug-free. We track them here. If you encounter a never to be seen bug, feel free to open a new issue. We're happy to see people try to help!

Font

The default terminal font is a modified version of Hack, licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.