Skip to content
/ abanu Public
forked from abanu-org/abanu

Abanu is an operating system written in C#

License

Notifications You must be signed in to change notification settings

arakis/abanu

Repository files navigation

Documentation Status License Issues Stars Forks

Join the chat at https://gitter.im/lonos-project/lonos

Getting the Sources

Visit the official repository https://github.com/lonos-project/lonos

Build instructions

Quick Start (recommended)

Follow these instructions: http://docs.lonos.io/en/latest/build.html

Manually

Prerequisites:

  • .NET Framework 4.7.2 or latest Mono
  • NASM Assembler (sudo apt-get install nasm)
  • mtools (sudo apt-get install mtools)
  • xorriso (sudo apt-get install xorriso)
  • Optional: qemu or bochs for emulation.
git clone --recursive https://github.com/lonos-project/lonos.git
cd lonos 
./lonosctl configure mosa        # Build the Mosa-Compiler
./lonosctl build all             # Builds the lonos kernel and creates a disk image

Run it with ./lonosctl run qemu x86 or ./lonosctl run bochs x86

The technology behind this project

  • The most important part of the Lonos project is the Mosa-Compiler, which is written in pure C#. The Mosa-Compiler converts an already compiled Assembly (build via msbuild or xbuild, default compiler from .NET/Mono) into native Code.
  • build some required Assembler-Code and append it to the native binary. The Assembler code is mostly used for early initialization.
  • Building the Operating System Disk Image, with Grub2 as Bootloader

Status of the OS

This is a research project / proof of concept. So it isn't a fully functional OS. This is implemented:

  • Build tool chain
  • Reading Kernel-Embedded ELF-Files
  • Integration of assembler code within the kernel.
  • Output kernel log messages via serial interface to a text file on the host
  • Scrollable screen output
  • Setup GDT
  • Basic Interrupts
  • Basic Memory Protection
  • Task-Switching
  • User-Mode

Contributing

Feel free to contact Arakis, open a Issue or a Pull Request.

License

Lonos is published under the GNU General Public License (Version 2, only). This software includes third party open source software components. Each of these software components have their own license. All sourcecode is open source.

About

Abanu is an operating system written in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.9%
  • Shell 1.7%
  • Other 0.4%