Hey blog readers! we have a new Facebook page! Check it out at http://on.fb.me/U9s2Ld
If you don't already own any of these, I recommend Visual Studio 2013 Express, it's the only free one. I will be uploading screenshots from Visual Studio 2013 Professional. There should be no difference other than you might see a few extra buttons on my screen (which aren't required to make Cosmos work).
|This is what your add project dialog should look like.|
|The default code that loads with the template|
But before we start changing the code, let's just run the default code and see what it does. If you look at the toolbars at the top of the screen, you should see a green arrow.
Next to it should be some text (Launch, Debug or Start are the most common, it depends on which version of Visual Studio you are running). Click the green arrow. It can take some time to compile (on my six year old machine, it takes about one or two minutes). Once done, you should see VMware Player pop up. If you see VMware, skip the next paragraph.
If not and you got an error, it could be one of two things. One, you edited the code. To fix this, go back and create a new project. Or two, you decided to not install VMware and use your own Virtual Machine or even use your own machine. In this case, navigate to your project directory and look around for a .ISO file. You can plug this into your own Virtual Machine or burn it to a CD or USB drive and try it on a real machine. You could also try to network boot it, but you will need your own tools (the integrated PXE server has been removed from Cosmos).
Now you should see a bunch of text followed by:
Cosmos booted successfully. Type a line of text to get it echoed back.
http://allstuffnerdy.blogspot.com/2014/05/cosmos-part-2-lets-make-shell.html. If you are more experienced at programming, head over here http://www.codeproject.com/Articles/99928/Develop-Your-Own-Operating-System-in-C-or-VB-NET. They cover everything that I covered in this article, but they also go over the advanced debugging features in Cosmos that you may find handy to use at one point or another. Have Fun!