Giter VIP home page Giter VIP logo

my_simple_os's Introduction

The SIMPLE KERNEL

I tried to build my own simple operating system from scratch, thanks to Osdev (https://wiki.osdev.org/Bare_Bones), with its thorough explanation, the instruction is very very clear and up to date, i can follow and able for the first time, after several attempts trying to develop an OS and always failed even just to compile, this is my first OS from scratch that actually works and output something on a window.

How to build and Run

  1. Build and Run the OS binary
./build.sh
# Copy myos.bin to your main Windows OS
# Make sure you have Qemu on your Windows, then run
qemu-system-i386 -kernel myos.bin
  1. Run the cd rom version with Grub

To build a cd rom version, which you can actually run on a real machine (but don't! it may erase your data!). To build cd rom format, first switch to the cdrom branch, then run the build.sh. To run on Qemu, do the same thing except run the .iso format instead of the `.bin'. And also you need to have grub utility on your WSL distro.

sudo apt install xorriso grub-pc-bin
./build.sh
# Copy myos.iso to your main Windows OS
# Make sure you have Qemu on your Windows, then run
qemu-system-i386 -cdrom myos.iso

Why Windows Subsystem for Linux

Because I have been using Windows for quite a number of years, I have tried using several Linux distros, but don't get the appeal, especially with the HiDPI display on my laptop, every Linux destroys fonts just very small.

This code is built on WSL which is actually 100% pure Linux (probably), i am using windows as main computer because it's better, for text editing, etc. But for compilation it runs on WSL Debian.

Thanks to

my_simple_os's People

Contributors

mudiadamz avatar

Stargazers

 avatar  avatar  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.