Giter Site home page Giter Site logo

stellaris-code / ludos Goto Github PK

View Code? Open in Web Editor NEW
49.0 10.0 5.0 271.29 MB

A toy monolithic kernel written in C++

License: MIT License

CMake 0.80% Assembly 0.75% C++ 66.47% C 31.71% Shell 0.26% Batchfile 0.02%
os asm nasm cpp cpp11 c osdev kernel operating-system operating-system-kernel operating-systems operating-systems-learning operating-system-learning low-level x86-assembly

ludos's Introduction

LudOS

LudOS is a hobby linux-like kernel written for fun in C++.

Features

  • Currently supports the 32-bit x86 architecture
  • An extensible virtual file system with the ability to expose function call interfaces on nodes to provide a cleaner interface than ioctl
  • PS/2 Keyboard and Mouse support
  • Preemptive and Cooperative Multitasking
  • Supports resolutions up to 1920x1080 using VBE framebuffer
  • Uses MTRRs to provide better performance with the framebuffer
  • Support for SATA drives via AHCI and ATA
  • ext2 filesystem and tar files mounting on the VFS
  • A lighting-fast graphical framebuffer terminal and shell

Goals

  • Support for the 64-bit x86 architecture and ARM
  • TCP/IP driver
  • A full-fledged graphical window manager
  • Dynamic linker support
  • Porting programs like GCC, NASM or FreeDoom to LudOS

Dependancies

QEMU is needed to run the kernel using tools/run.sh. On Ubuntu and derivatives : sudo apt-get install qemu-system

How to build :

Built binaries are already included in the build/bin directory, but if you want to build yourself the repository do as follow :

  • First build your own cross-compiler following these instructions : https://wiki.osdev.org/GCC_Cross-Compiler
  • Build to project by running CXX=<cross-g++-path> CC=<cross-gcc-path> cmake CMakeLists.txt and then make.

How to run :

Run the script tools/run.sh which will run QEMU on the kernel binary file.

Screenshots :

Imgur Imgur Imgur Imgur Imgur

ludos's People

Contributors

marius851000 avatar stellaris-code avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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