Operating System From Scratch : learn OS by practice
Assembly
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README.rst
a.img.gz
bochsrc
boot.asm

README.rst

Operating System From Scratch

Step 01: A smallest "OS"

Let's begin with a simplest boot sector. You'll see how easy it is to get started!

Here we go:

  • Install nasm the assembly compiler and bochs the emulator

  • Clone me (we're in GitHub, aren't we):

    $ git clone https://github.com/yyu/osfs01.git
    
  • Run your smallest "OS" right now:

    $ cd osfs01
    $ make
    

    Guess what? It's running!

    http://osfromscratch.org/snapshots/original/%E5%9B%BE01.01%20%E6%9C%80%E5%B0%8F%E7%9A%84%E2%80%9C%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E2%80%9D.png

    The screen is a little messy but you can see the red "Hello, OS world!", which means our boot sector works!

‹prev next›