Sharing our knowledge

Michael Sync

Window XP Source Code

October 13th, 2006 by Michael Sync

* 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!

27 Responses

  1. julia Says:

    :-) It’s really funny.

  2. Michael Sync Says:

    >>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 Says:

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

  4. Michael Sync Says:

    >>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 Says:

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

  6. Matt Says:

    Thanks for this. It really made my day!

  7. Adam McKerlie Says:

    Thats actually pretty close. :P

  8. Rebenga Says:

    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 Says:

    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 Says:

    You’v been stumbled upon

    Flammers are lame ….

    you, you are simply moronic

  11. Michael Sync Says:

    >>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 Says:

    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 Says:

    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 Says:

    [...] 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’ Says:

    [...] 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 Says:

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

  17. Michael Sync Says:

    :) cuz of this post? :)

  18. Lance Carlson Says:

    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 Says:

    waaaahaaaaahahahahaaaaaaaaaaaaaa

  20. Gosh Says:

    What’s this source code for?

  21. Doug Says:

    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!!”

  22. Doug Says:

    BTW……I forgot to mention. That was/is some pretty funny code. It nails M$ on the head!

  23. rana Says:

    i found no funny thing in it

  24. Doug Says:

    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.

  25. Suposto source do Windows XP | Eduardo Valente Says:

    [...] código estava no site: http://michaelsync.net/2006/10/13/window-xp-source-code [...]

  26. Tom Says:

    >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 :)

  27. daljit Says:

    please open xp source code iwant to more knowlage in your operting system please thank you

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.