GithubHelp home page GithubHelp logo

archibate / newos Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 431 KB

A hobby unix-like operating system

Makefile 1.28% C 93.04% Assembly 2.25% Shell 0.38% GDB 0.13% Awk 0.19% Python 2.73%
operating-system kernel c-library filesystem c-runtime

newos's Introduction

New OS

A hobby unix-like operating system

Equipped with:

  • a simple shell.
  • filesystem NeFS made from stratch.
  • busybox-like command line utils.
  • vi as the text editor.
  • fork() copy-on-write.
  • ELF dynamic linking like a DLL.
  • Simple C standard library.
  • I/O multiplex by ionotify(), a subset of poll() from stratch.
  • optional graphical user interface (toggle by VIDEO=1 in Makefile).
  • simple window manager based on System V IPC.
  • simple IDL langurage generating IPC code.

Enviroument:

  • Arch Linux (x86_64)
  • gcc 9.1.0
  • nasm 2.14.02
  • binutils 2.32 (for ld, strip, objcopy)
  • coreutils 8.31 (for cat, dd, etc.)
  • make 4.2.1 (for Makefile)
  • qemu-system-i386 4.1.0 (for simulation)
  • bochs 2.6.9 (for bximage)
  • python 3.8.0 (for tools/idl.py)
  • gdb 8.3.1 (for debugging)
  • tigervnc 1.13.1 (for viewing)

To build:

make all

will create build/boot.img.

To run:

make run

will run our OS in qemu.

vncviewer :5900

to view the console.

try typing this in our console:

vi /usr/src/snake.c

To run in graphics:

make clean
make run VIDEO=1

will run our OS in graphics mode (work in progress).

vncviewer :5900

to view the graphics.

try typing this in the serial terminal:

bkg xinitd
xtest

Errors on your machine?

Please contact me at [email protected].

newos's People

Contributors

archibate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mfkiwl

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.