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!

20 Comments so far »

  1. julia said

    am October 13 2006 @ 2:01 pm

    :-) It’s really funny.

  2. Michael Sync said

    am October 13 2006 @ 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! :)

  3. Lil said

    am October 13 2006 @ 4:50 pm

    what a genious…. Thatz all things Microsoft Windows has to do. lolz

  4. Michael Sync said

    am October 14 2006 @ 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

  5. Dave said

    am November 17 2007 @ 5:44 am

    So nice to see the attempt to damage Linux was futile :-))))))

  6. Matt said

    am November 19 2007 @ 3:32 pm

    Thanks for this. It really made my day!

  7. Adam McKerlie said

    am November 19 2007 @ 5:58 pm

    Thats actually pretty close. :P

  8. Rebenga said

    am November 21 2007 @ 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.

  9. Michael Sync said

    am November 21 2007 @ 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…

  10. Leo said

    am November 21 2007 @ 9:57 pm

    You’v been stumbled upon

    Flammers are lame ….

    you, you are simply moronic

  11. Michael Sync said

    am November 21 2007 @ 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..

  12. Michael Sync said

    am November 21 2007 @ 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..

  13. Jackie said

    am November 22 2007 @ 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..

  14. Real code… « this life i lead said

    am December 11 2007 @ 1:00 pm

    [...] 11 12 2007 I found the code below from this link.  Read it all.. it’s quite [...]

  15. Michael Sync » An Exchange of ‘Beauty’ Vs ‘Money’ said

    am December 16 2007 @ 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.) [...]

  16. hahaha said

    am December 17 2007 @ 10:45 am

    I don’t think u get the MVP Reward you’re looking for

  17. Michael Sync said

    am December 17 2007 @ 6:32 pm

    :) cuz of this post? :)

  18. Lance Carlson said

    am December 18 2007 @ 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 ;)

  19. sidali said

    am April 8 2008 @ 5:24 am

    waaaahaaaaahahahahaaaaaaaaaaaaaa

  20. Gosh said

    am September 2 2008 @ 12:11 pm

    What’s this source code for?

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: