Managed World

Techno-babble from yet another babbler RSS 2.0
# Wednesday, September 13, 2006

Howdy all y'all. I'm hoping to get some feedback from all of you. Basically, I'm hoping to get a "reader's braindump" on what development features you are looking forward to most in Vista/Longhorn Server. So, what development features are you looking forward to most in Vista/Longhorn Server? Feel free to just leave a comment (nice and easy-like) :).

 #       Comments [3]
# Tuesday, September 12, 2006

For anyone that has had to boot Windows into debug mode to do some digging around (like remote Kernel Debugging), things have changed. In the past, you could open up boot.ini in the root of the system volume, and add a "/debug" flag to the Windows OS record of choice.

One of the things you might notice with Vista is that boot.ini is now gone, solid gone. So, with boot.ini gone, how do you boot into debug mode? It is done with a new tool called "bcdedit". In the root of the system volume, you'll notice a hidden system directory "Boot" which is the Boot Configuration Data store. So, to turn on Kernel Debugging with Vista, you can now execute "bcdedit /debug on" (be aware, you need to be running the command prompt under an account with Admin privileges).

If you want to see the load of stuff you can do with bcdedit now, just execute "bcdedit /?".

Posted in Vista
 #       Comments [1]
# Sunday, September 10, 2006

Before I joined the ranks at Microsoft, a hobby I started to take up was Operating System development. Technically, I didn't get very far yet (I had just started). My "kernel" (if you can even call it that) basically just printed "Hello World" to the screen. But heck, it was booting up from a floppy, loading the kernel into memory, and executing to do that (in a VM of course, I wouldn't even dare run my hobby OS on an actual machine :P).

Unfortunately, for the last several months I have been in "corporate housing" while my wife and I sell our house back in the Portland area. This means that I don't have access to various belonging of mine because they are in storage which we don't have access to. Included in this list of belongings is my main desktop computer that I was using as my development box. I have since switched over to developing with my laptop, but my OS development environment was on that machine. I haven't had the time to recreate that environment, so my hobby has kind of fallen by the wayside as of late.

Recently though, I came across these two articles which outline how you can use Visual Studio to compile your own Kernel. More specifically, it outlines how to compile a PE-format executable which can be booted by using GRUB. To my delight, I was able to recreate his findings and write the hobbyist OS I had started before in about 20 minutes. I would go into the compiler/linker options that make this possible, but why don't you just read the original resources.

However, word to the wise, OS development is not something you can just waddle on into. I would advise against using OS development as a way to learn C for example. OS development should be fun, so do yourself a favor and don't frustrate yourself from the get go :).  

Now, if you're a geek like me where the idea of messing around with writing your own OS sounds exciting, there are some resources you should definitely check out that I've come across (I know they've made it easier on me):

Websites

Books

Okay, that should keep you busy for a while (I know that I've just tipped the iceberg of all those resources :P). The best advice I can give comes from the OS-FAQ Wiki: make sure you understand everything that is going on. Don't just copy code and continue plugging along. You need to understand what the code is doing. If you use the code, understand what it does. After all, if you don't, how do you expect to fix it if it breaks (and inevitably with OS development it _will_ break).

Once you're comfortable with the boot process, how grub works, getting into C land, etc., then feel free to check out the two articles on using Visual Studio 2005 to build your OS. The good news? Every tool you will need (at least for the first huge chunk of it) is available for totally free (assuming of course that you can do it from VC2005 Express which I haven't tried yet). Is there a better price than that with all the resources above at your disposal as well? I think not :).

Enjoy and happy dev'ing :).

Posted in Programming
 #       Comments [2]
# Friday, September 08, 2006

It's moments like these that make me proud to be a Microsoft employee. Here's an excerpt:

Students have scheduled appointments with teachers, typed into their online calendars, instead of being limited to structured times for classes. Their laptops carry software that assesses how quickly they're learning the lesson. If they get it, they'll dive deeper into the subject. If not, they get remedial help.

Lessons will have more incorporation of current events to teach subjects. For instance, a question of whether Philadelphia is safe from the avian flu will teach students about geography, science and history.

"Learning is not just going to school," said Shirley Grover, the school's energetic principal who came from the American School in Milan, Italy. "Learning is equal to life."

If this proves to be viable and we find it happening elsewhere, it just may be a way to save our public education system. Perhaps if this trend continues, I'll revisit the decision to home-school my kids (no I don't have any yet, but my wife and I are hoping to :D) and send them to public school instead.

Way to go Microsoft (and BillG) for stepping up and trying to make this country better. Everybody knows that MS has performed some "questionable acts" in the past, so it's nice to see the company start "walking the walk" when it comes to changing the world for the better.

My hope is that this news sparks a competitive attitude from Apple. With how much Apple has dominated the education system as the vendor of choice, I hope they try their own "school of the future" project. This kind of competition would be a win-win for everyone. Imagine, two of the largest OS companies in the world competing to see who can make the best school? How cool would that be?!?

Posted in Personal
 #       Comments [2]

I'll be updating this post over time to reflect new resources that are made available regarding the transactions platform in Windows.

Websites:

Blogs:

Specific blog posts:

Media:

If you feel I have left any out, please let me know so I can update my list :).

Posted in Programming | Vista
 #       Comments [0]
# Thursday, September 07, 2006

After my post the other day linking out to a post about authoring file systems on Linux with Mono, I decided that I wanted to try it out myself. So, I went and grabbed the latest Ubuntu, and sojourned out to install it under Virtual PC 2004.

I remember trying to do this 6-12 months ago and having it fail _miserably_ for me (or most of the Linux distros for that matter) when trying to install under Virtual PC 2004. Eventually, I just gave up. Now that I have a little more knowledge on Linux and virtual machines using Virtual PC/Virtual Server, I decided to try again. Luckily, I'm now up and running with Ubuntu in a virtual machine. It wasn't without its hardships though.

Since I don't really use my virtual machines for multimedia purposes, I haven't bothered looking into whether the sound is working properly or not. Besides, my largest problem was with the graphics display. And if I can't even see what the hell I'm doing, how am I suppose to figure out if the sound is working :). Basically, when booting up Ubuntu, the graphics would freak out, go into a total whacko resolution, and there was no usage-o going on-o. This was easily fixable though. First, on the boot menu, I chose a display of 1024x768. Second of all, I forced it to boot with the vesa driver. You can either use the "boot with safe graphics" option or simply add "xforcevesa" as a boot option to the regular boot (which I ended up doing even though that might be the only difference between the two options. After doing that, my graphics were fine and I was living happily in Ubuntu land (as an aside: now I see why people are so excited about Ubuntu; it comes a _long way_ in bridging the "usability gap" between Windows/MacOS and Linux for the "typical" computer end-user (not the geek, mind you)).

Of course, after all this, I found this article on the Ubuntu site describing how to install it under Virtual PC 2004. How in the world could I have missed that article six months ago? I'm hoping it's just because the article is new and not because I'm a total tool.

So, to make a long story short, if you're wanting to try out Ubuntu under Virtual PC 2004 (and why wouldn't you considering everything you need is free :D), make sure to check out the guide from Ubuntu. It will save you time and heartache if you're not a Linux guy.

Posted in Personal
 #       Comments [0]

Contact

Email Me Send mail to the author(s)

Calendar

<September 2006>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

About this site

Jason Olson's thoughts on Programming, Games, Music and Life in General

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Jason Olson

Sign In
All Content © 2008, Jason Olson
Theme based on 'Business' created by Christoph De Baene (delarou)