GithubHelp home page GithubHelp logo

hhy5277 / serenity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serenityos/serenity

0.0 2.0 0.0 8.34 MB

Serenity Operating System (x86)

C++ 84.87% C 13.39% Makefile 1.12% Assembly 0.28% Shell 0.35%

serenity's Introduction

Serenity

x86 Unix-like operating system for IBM PC-compatibles.

About

I always wondered what it would be like to write my own operating system, but I never took it seriously. Until now.

I've grown tired of cutesy and condescending software that doesn't take itself or the user seriously. This is my effort to bring back the feeling of computing I once knew.

Roughly speaking, the goal here is a marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix. This is a system by me, for me, based on the things I like.

Screenshot

Screenshot as of cdb82f6

Current features

  • Pre-emptive multitasking
  • Compositing window server
  • IPv4 networking with ARP, TCP, UDP and ICMP
  • ext2 filesystem
  • Unix-like libc and userland
  • mmap()
  • /proc filesystem
  • Local sockets
  • Pseudoterminals
  • Event-driven GUI library
  • Text editor
  • IRC client
  • DNS lookup
  • Other stuff I can't think of right now...

How do I build and run this?

You need a freestanding cross-compiler for the i686-elf target (for the kernel) and another cross-compiler for the i686-pc-serenity target (for all the userspace stuff.) It's probably possible to coerce it into building with vanilla gcc/clang if you pass all the right compiler flags, but I haven't been doing that for a while.

There's a helpful guide on building a GCC cross-compiler on the OSDev wiki.

I've only tested this on an Ubuntu 18.10 host with GCC 8.2.0, so I'm not sure it works anywhere else.

If you'd like to run it, here's how you'd get it to boot:

cd Kernel
./makeall.sh
./run            # Runs in QEMU
./run b          # Runs in bochs (limited networking support)

Author

License

Undecided. Probably something close to 2-clause BSD.

serenity's People

Contributors

awesomekling avatar

Watchers

 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.