Window XP Source Code
* NOTE: It’s just for FUN. As u know, I LOVE Microsoft. :)
I found the code below from this link. Thanks to Donotalo for this coding. :)
/* Source Code – Windows XP
*/
#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#include "backdoor.h"
#define INSTALL = HARD
char make_prog_look_big(16000000);
void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)
{
make_100_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of-OS2();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
disable_RealPlayer();
disable_Lotus_Products();
hang_system();
} //if
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_31();
do_nothing_loop();
} // if
} //while
if (detect_cache())
disable_cache();
if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed,very_slow);
set_mouse(action,jumpy);
set_mouse(reaction,sometimes);
} //if
/* printf("Welcome to Windows 3.1"); */
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
/* printf("Welcome to Windows NT 3.0"); */
/* printf("Welcome to Windows 98"); */
/* printf("Welcome to Windows NT 4.0"); */
printf("Welcome to Windows XP");
if (system_ok())
crash(to_dos_prompt)
else
system_memory = open("a:\swp0001.swp",O_CREATE);
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
} // while
create_general_protection_fault();
} // main
Please read this coding very carefully.. It’s really funny….
Hav Fun! Njoy!
October 13th, 2006 at 2:01 pm
:-) It’s really funny.
October 13th, 2006 at 4:27 pm
>>It’s really funny.
Yeah. it’s..
Have you tried to install Windows Vista (maybe RC2)?
I guess, we might have more FUN! :)
October 13th, 2006 at 4:50 pm
what a genious…. Thatz all things Microsoft Windows has to do. lolz
October 14th, 2006 at 4:01 am
>>Thatz all things Microsoft Windows has to do.
:).. lol.. Oh. Yeah.
I guess, The main method of Windows XP might be do_nothing_loop() function.. ; :D
November 17th, 2007 at 5:44 am
So nice to see the attempt to damage Linux was futile :-))))))
November 19th, 2007 at 3:32 pm
Thanks for this. It really made my day!
November 19th, 2007 at 5:58 pm
Thats actually pretty close. :P
November 21st, 2007 at 7:12 am
This is so fucking lame. And old, I saw it posted the first time on the net around 1998 or something. Wow, you must think you’re really “fresh” and “funky” and “cool” since you found it and just assumed that no one else had seen it, when in reality the entire world except you and your lame-ass friends have seen it a billion times.
Oh, and for the record: Microsoft sucks ass, and the only people who like it are tiny little fanboys like you.
November 21st, 2007 at 7:39 am
Hi Rebenga,
Do you know when this post is posted??
>>assumed that no one else had seen it
Did I write like that somewhere in my post??
As I got this from forum, i know a lot of people already seem this one..
>>the only people who like it are tiny little fanboys like you.
A lot of people like Microsoft that’s why ms is still the biggest software company in the world.. but of course, MS Software are not for those who don’t have enough money to buy …
Can you tell me a lit bit more about you?? What are you?? You are saying something bad about Microsoft because you don’t get the windows as FREE?? :) lolz…
November 21st, 2007 at 9:57 pm
You’v been stumbled upon
Flammers are lame ….
you, you are simply moronic
November 21st, 2007 at 11:01 pm
>>You’v been stumbled upon
That mean some people likes this post… this is nothing I can do..
>>you, you are simply moronic
lolz..
November 21st, 2007 at 11:08 pm
btw, if you wanna tell me that I don’t know about latest technologies, you should take time to read my blog or subscribe my feed.. :) it’s too early for you to say like that to me..
November 22nd, 2007 at 2:20 am
haha.. so funny.. thanks… don’t be angry with those people, mike.. I think your blog is really great..
I saw your Firebug tutorial series… I like it.. It introduces me a lot of feature of firebug.. it helps me a lot…. thanks..
December 11th, 2007 at 1:00 pm
[...] 11 12 2007 I found the code below from this link. Read it all.. it’s quite [...]
December 16th, 2007 at 2:14 am
[...] Diana htoo from Facebook posted this awesome message on my Funwall last week. I’m kinda like it. I hope you also like it too. If you already know about this, you may skip it or read it again. (I told you this because I got some bad comments in this post.) [...]
December 17th, 2007 at 10:45 am
I don’t think u get the MVP Reward you’re looking for
December 17th, 2007 at 6:32 pm
:) cuz of this post? :)
December 18th, 2007 at 10:27 am
This code probably looks better than the actual code. This is well written and self documenting! Microsoft could probably do well to copy some of this ;)
April 8th, 2008 at 5:24 am
waaaahaaaaahahahahaaaaaaaaaaaaaa
September 2nd, 2008 at 12:11 pm
What’s this source code for?
October 22nd, 2008 at 12:22 pm
Gosh said
am September 2 2008 @ 12:11 pm
What’s this source code for?
Uhhhhhhhhhhhh……
To show how stupid it is to use Windows Operating Systems. Apparently someone did not actually VIEW the entire code, or they would have noticed all the *Goofs* about it!
“Real People use Linux!!”
October 22nd, 2008 at 12:24 pm
BTW……I forgot to mention. That was/is some pretty funny code. It nails M$ on the head!
November 2nd, 2008 at 11:54 pm
i found no funny thing in it
November 4th, 2008 at 10:25 pm
rana said
am November 2 2008 @ 11:54 pm
i found no funny thing in it
– That is probably because you actually use windows, and you more then likely don’t know your computer code to actually make out what was trying to be accomplished by this whole thing to begin with. If you actually sit there and READ the entire code that is posted at the top of this page, I mean – REALLY read the entire thing, then maybe…..JUST MAYBE, you will see what is/was so funny about it.
April 16th, 2009 at 7:51 pm
[...] código estava no site: http://michaelsync.net/2006/10/13/window-xp-source-code [...]
May 1st, 2009 at 1:04 am
>You are saying something bad about Microsoft because you don’t get the >windows as FREE?? :) lolz…
That’s quite the narrow-minded thing to say.
As a computer science student, I can get Windows for free, I even have a legit install disc for Vista business edition that I got for free from a Microsoft rep. However, I don’t use Windows. I prefer to use Linux, it’s simply superior to Windows, and it’s a lot more fun :)
May 11th, 2009 at 9:37 pm
please open xp source code iwant to more knowlage in your operting system please thank you