Category Archives: Code IT

Build Your Own Operating System


  • Introduction
  • Getting the boot loader correct
  • Registers
  • Up to now….
  • Get commands and split
  • Shell
  • My Implementation
  • Date
  • Time
  • Help
  • Hardware configuration
  • Key board state
  • Appendix A
  • Bibliography


If anyone thinks that, it is possible to build (or modify) an OS without putting any work or research in to it, I like to say that it is pretty much impossible.

Operating system can be called as the intermediate between computer applications (user) and Hardware. Here we are using assembly language to write the operating system.

We need some tools before proceeding (all of these work will be done in a Linux environment).

  1. As you can’t ON/OFF your computer each time you want to test the code, we need a virtual machine (VMware, Virtual box, etc…)
  2. Then we need a floppy image that can be used to use with our virtual machine. For that I used a shell script file. You have to place that at the place where kernel and boot assembly files are resting and run it (Better to use the command line for executing that file). You can find the file in appendix A.

Now everything is ready to proceed.

Read the rest of this entry »


Tags: , , , , , , , ,