Code Monkey home page Code Monkey logo

tos's Introduction

About

TOS is a hobby operating system written in C and assembly (GAS).

If you're looking for the code I've written, most of it is in kernel/arch/i386 and kernel/kernel

The currently implemented features are

  • Bringing up the CPU (GDT, IDT)
  • Setting up the rest of x86 (PIC, PIT)
  • Interrupts
  • Basic Keyboard support
  • (very) Basic kernel mode shell

The next features up are

  • Physical memory manger
  • Virtual memory manager
  • Fancy visual stuff when I get bored

Building

A GCC cross compiler for i686-elf is required, as well as QEMU or some other way of running an i686 binary.
Building can be done with ./build and simuation with ./qemu (if using QEMU).

The complete process can be found in the resources section.

For Manjaro

If you happen to be building on Manjaro (as I am) this is exactly what you need to do:

  • get the newest binutils from here: ftp://ftp.gnu.org/gnu/binutils/
  • get the newest gcc from here: ftp://ftp.gnu.org/gnu/gcc/
  • exstract them both into HOME/src
  • Follow these instruction starting at "The Build" : http://wiki.osdev.org/GCC_Cross-Compiler
  • install: qemu, xorriso, mtools

Resources

These are the resources I used for learning and examples

  • OSDev.org wiki, specifically the Meaty Skeleton tutorial was used as the bases for the build system, file layout and very basic libc requirments
  • The OS Development Series from brokenthorn.com for most of the knowledge, especially on the CPU bring up
  • Bran's Kernel Development Tutorial from www.osdever.net for the interrupt set up and some very repetitive assembly

tos's People

Contributors

tvieregge avatar

Stargazers

Jorge Gomez avatar

Watchers

 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.