Most Operating Systems are done in C or C++.  I do believe i heard MS-DOS was written in Basic though.  I do not have an idea if thats true or not.