M3 Operating System Development

A chronicle of the development of the M3 operating system

Instant Gratification – Building a Simple Bootloader

leave a comment »

I am all about instant gratification. Perhaps that’s a bad personality quirk for someone that has set out to write his own operating system, but hey, I’m me, and I can’t be anything else.

For someone that has just set out on the long road to building an OS, there is nothing more thrilling than seeing your code boot up for the first time. I can’t describe it – it’s just a total rush to hand-craft some assembly code, build a binary, write that binary to the boot sector and see your computer boot up and be completely under the control of your code.

In addition to satisfying my need for instant gratification, this exercise allowed me to start to become familiar with the various tools in my toolbox. When you’re coding this close to the metal, it is important to be very familiar with your tools.

So, without further ado, here it is – the very first iteration of M3’s boot loader, running on Q (QEmu on OS X):

M3 Boot Loader on Q Emulator (OS X)

M3 Boot Loader on Q Emulator (OS X)

In the next post, I will describe the steps that I took to do this.

Ahhh – instantly gratifying!


Written by m3os

February 28, 2009 at 12:52 pm

Posted in Status Update

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: