Giter VIP home page Giter VIP logo

lonos's Introduction

License Issues Stars Forks

Build instructions

Prerequisites:

  • .NET Framework 4.6.1 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 patch apply # Some patches are requied, because Mono does not support
                                 # .NET Framework v4.7.2 yet
./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, wich 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 requied Assembler-Code and append it to the native binary. The Assembler code ist mostly used for early initalization.
  • 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

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.

lonos's People

Contributors

arakis avatar

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.