3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Create your own operating system!

Step 3Boot!

Boot!
Now, open up the debug menu, and click Start without debugging. There will be a white popup asking you various questions, but the defaults will suffice for now, so just click OK.

You should see a black console window with a lot of text. Eventually the operating system will finish booting and display "Hello world!". Congratulations, you just made an operating system! Well, okay, so it's not really an OS in the traditional sense, but it's a start.

In addition to providing the template, the Cosmos user kit installs a new Cosmos class. With this, you can do things like shutdown, reboot, and other OS-ey things.

Shutdown:

Cosmos.Sys.Deboot.Shutdown();

Reboot:

Cosmos.Sys.Deboot.Reboot();

NOTE: All the code for the OS will go under the xBoot.Execute() line of code.

« Previous StepDownload PDFView All StepsNext Step »
1 comment
Dec 23, 2011. 9:53 AMsci4me says:
Alrighty, so I am trying to use Visual C# 2010 Express with the newest version of Cosmos. So it works, but when I build it, I get an error. And that's with the default code! I did add refrences to Cosmos.Hardware and all that and it still doesn't work! The error is about Cosmos.Hardware.Hardware... cant find it? Do you know of any way to fix this? If I use MS4 is 2008 Express, it works like a charm. But I want to use the newest version! Any ideas? Also, thanks for a great tutorial! It helped a lot! :)

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
10
Followers
3
Author:dungeon runner(A Billion Tiny Gates)
What's to say? A student, a writer, a builder, all the many hats of which I don. A person is not a person until someone tapes on a label, you know. My life is adventure, my interests are many, my fedo...
more »