Giter VIP home page Giter VIP logo

myos's Introduction

myOs

Simple Operating system, created for my own pleasure, just to understand how Os-es actually works.

Filename Description
boot.s This file sets many things like grub Multiboot Header, implements stack for x86, sets entrypoint of kernel, loads kernel, etc.
In near future I am planning to implement stuff like
Interrupts
Paging
Fully Initialize CPU
libc
floating point instructions
security
safeguards
debug [alredy implemented debug section in terminal]
GDT
runtime support for Cxx
And so on.
Gcc Call:
i686-elf-as boot.s -o boot.o
kernel.c will include many base functions and drivers needed for system to work properly.
Freestanding gcc call:
i686-elf-gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra
I am using freedstanding cross-compiler with libgcc included
linker.ld For gcc cross-compiler to link boot.o, and kernel.o together. It produces kernel.bin. ELF look-alike
Freestanding gcc call:
i686-elf-gcc -T linker.ld -o myos.bin -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc

27/01/2018 23:32 UPDATE

-Now code is divided into several files. (it is quite messy, but I will clean this up to the next update )
-Terminal is almost finished
---I added debug and log section - i will use it in future
---also made some useful functions (will describe it later)
-Now is time to implement GDT and IDT

myos's People

Contributors

sebastianbakala avatar

Stargazers

 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.