Giter Club home page Giter Club logo

ifem-os's Introduction

IFEM OS

Aspiring to be an operating system designed from the ground up for embedded/industrial applications with an emphasis on fault-tolerance. :-)

Introduction

IFEM is an experimental, work-in-progress, immature and early-stage operating system - you've been warned :-)

The idea behind IFEM is having an operating system where

  • kernel is a minimal and thin piece of functionality
  • modules and drivers don't know anything about each other beyond APIs and SPIs
  • and there are no dependencies during compile and link time - instead pieces fit together only at run-time.

Current Status

Version 0.0.1 is the first release where "something works":

  • bootloader loads the OS from the disk (image) into memory and hands the control over to kernel.
  • kernel
    • does basic hardware init routine
    • enables the protected mode
    • sets up two interrupt handlers (timer and keyboard)
  • interrupt handlers print the key-code on each keyboard interrupt and announce a message every 200 timer ticks.

Here's a recording of its execution:

How To Build

Using Gnu toolchain on a Linux box

Provided you have installed gcc (5+) and gcc-multilib (if on a x64 machine):

make clean all

No Gnu toolchain

Provided you have docker already installed:

$ docker run --rm -v $(pwd):/src -w /src -it gcc:9
# make clean all

How To Run

IFEM's "runnable" binary is ifem-os.img which you can find in the root of the source tree after a successful build.

There's a bochsrc file included in the source tree - provided you fix the paths in that file to match your own Bochs installation, simply run bochs while inside the source tree.

Virtualbox

If you intend to run IFEM inside a vbox machine, you just need to boot your vm from ifem-os.img as a floppy disk image.

Physical machine

If you still have access to a machine with floppy drive, just write IFEM's binary to the floppy (e.g. dd) and boot your machine!

ifem-os's People

Contributors

bahmanm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.