Windows 2000 source code! Adv. users only!

Sharky Forums


Page 1 of 2 12 LastLast
Results 1 to 15 of 22

Thread: Windows 2000 source code! Adv. users only!

  1. #1
    Katana Wielding Moderator Klashe's Avatar
    Join Date
    Sep 2000
    Location
    IL, USA
    Posts
    3,306

    Post Windows 2000 source code! Adv. users only!

    WEll, here ya go, I found this on the internet and I must say...it's pretty complicated...


    Windows 2000 source code


    The source code for Windows 2000 is freely available for everybody.
    Have a good look at the code, you might learn something!

    // TOP SECRET Microsoft(c) Code
    // Project: MsW2k
    // Projected release-date: February 2000

    #include "win31.h"
    #include "win95.h"
    #include "evenmore.h"
    #include "oldstuff.h"
    #include "bill_rulz.h"
    #define INSTALL = HARD

    char make_prog_look_big[1600000];

    void main()
    {

    while(!CRASHED) {
    display_copyright_message();
    display_bill_rules_message();
    do_nothing_loop();

    if (first_time_installation) {
    make_50_megabyte_swapfile();
    do_nothing_loop();
    totally_screw_up_HPFS_file_system();
    search_and_destroy_the_rest_of_OS/2();
    hang_system();
    }

    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_3.1();
    do_nothing_loop();å
    do_nothing_loop();
    }
    }

    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);
    }

    /* printf("Welcome to Windows 3.11"); */
    /* printf("Welcome to Windows 95"); */
    /* printf("Welcome to Windows 98"); */
    /* printf("Welcome to Windows 2000"); */
    printf("Welcome to Windows 2000");
    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);
    }

    create_general_protection_fault();



  2. #2
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    Oh wow! you found it! Has MS gone open source?!? That is amazing!

    hehehe, looks about right for Windows ME code anyway

  3. #3
    Chair Force
    Join Date
    Sep 2000
    Posts
    6,112

    Post

    I'll have you know that Win2k is the monst stable OS on the market for any use. Win2k will inspire a respect for Microsoft that you have never known. I was pissed off enough with win98 enough to buy a linux distrubution, but I bought Win2k instead. I'm glad I did.

    ------------------
    When Can I overclock a terahertz cpu?
    As heroes we must befriend the friendless, we must help the helpless and we MUST deaccuse the accused! -Minsc

    http://www.geocities.com/chaos45/signature.htm

  4. #4
    Mako Shark
    Join Date
    Sep 2000
    Posts
    3,326

    Talking

    Originally posted by Bateluer:
    I'll have you know that Win2k is the monst stable OS on the market for any use. Win2k will inspire a respect for Microsoft that you have never known. I was pissed off enough with win98 enough to buy a linux distrubution, but I bought Win2k instead. I'm glad I did.
    Win98 is only as bad as the programs and drivers you have installed. I have a bare bones Win98 install, and it's quite stable. I also have a dual boot to win2k, where I run everything except games. Win2k is more tolerant to programs or drivers (or hardware) that suck. I have all my stuff installed on win2k, and I can run tons of programs over weeks at a time without rebooting. It is a great OS for sure, and I would never try the same things in Win98.

  5. #5
    Tiger Shark
    Join Date
    Sep 2000
    Location
    NY, USA
    Posts
    666

    Post

    Funny.


    [This message has been edited by KR02 (edited October 12, 2000).]

  6. #6
    Tiger Shark BobTheSlob's Avatar
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    667

    Post

    Very

    ------------------
    DOWN WITH ACRONYMS!!! TYPE OUT THE WORDS!!!
    "Ich bin ein Mann des internationalen Hauses der Pfannkuchen"

  7. #7
    Master of the obvious Adisharr's Avatar
    Join Date
    Sep 2000
    Location
    A room large enough for my head
    Posts
    6,553

    Post

    LOL

    ------------------
    - Mouse not found - click to continue..
    ...WAIT FOR IT

  8. #8
    Reef Shark
    Join Date
    Sep 2000
    Posts
    421

    Talking

    That's cool! It's just a joke(some truth in it) so everybody relax.

    ------------------
    Tech GOD
    Tech GOD

  9. #9
    Catfish
    Join Date
    Sep 2000
    Location
    Kamloops, BC, Canada
    Posts
    163

    Smile

    Totally amusing!

    I think it's easy to slag MS for code bloat. Mainly because it's true. But I've noticed that some Linux distro's *cough*redhat*cough* are starting to be just as flakey.

    I wish it werent so, because a good viable alternative on the desktop is a good thing. Look at how much AMD drives Intel. We need someone to drive Miscrosoft in the same way!

    No Matter Where You Go, There You Are.

  10. #10
    Hammerhead Shark
    Join Date
    Sep 2000
    Location
    Luleå, Sweden
    Posts
    1,921

    Post

    Get UniTuner here

  11. #11
    Goldfish
    Join Date
    Oct 2000
    Posts
    89

    Post

    Originally posted by Klashe:
    /* printf("Welcome to Windows 3.11"); */
    /* printf("Welcome to Windows 95"); */
    /* printf("Welcome to Windows 98"); */
    /* printf("Welcome to Windows 2000"); */
    printf("Welcome to Windows 2000");

    LOL, amusing. However, including Win2k in your windows bashing seems to indicate that you have never used it. I noticed you didn't include WinNT in this bash session. Were you aware that Win2k is based on NT, not on win95 technology?

    I have used them all extensively, particularly for gaming. Arguably, gaming on an os can stress it far more than many other common tasks. Using win2k for all my tasks since Feb 17, I have not had a single os crash yet. With all the other abovementioned os's my systems crashed several times weekly.

    All in all, Windows 2000 is in a class by itself. Grouping it with those other os's shows your lack of experience with it.
    For all yer win2k gaming compatability and gaming tip needs check out www.win2kgamer.com and www.ntcompatible.com

  12. #12
    Expensive Sushi
    Join Date
    Oct 2000
    Location
    seattle,wa,usa
    Posts
    11

    Post

    I have been running win2K since it came out and it has truly been great. I had NT4 prior to that and that was solid the kick but thing about win2K is direct X. I used both OS's for gaming win2K being alot more friendly. I am running on a dual p2 400mhz. Very happy, ready for P4!
    Bring it on!
    faster is better....

  13. #13
    Mako Shark
    Join Date
    Sep 2000
    Posts
    3,518

    Post

    I think you meant to put windows ME instead of windows 2k.
    Icna tpye 300 wrdos per mnieut

  14. #14
    Tiger Shark
    Join Date
    Oct 2000
    Location
    Atlanta, GA. USA
    Posts
    971

    Post

    Whatever dude....trying Win2k as a Domain Controller/Web Server for my company and it sucked big time, when it was up it was slow and that wasn't often...the whole os might not crash often but IIS sure as hell does. Any unix flavor running apache can woop it with speed and reliability any day of the week.

    Originally posted by Bateluer:
    I'll have you know that Win2k is the monst stable OS on the market for any use. Win2k will inspire a respect for Microsoft that you have never known. I was pissed off enough with win98 enough to buy a linux distrubution, but I bought Win2k instead. I'm glad I did.


  15. #15
    Hammerhead Shark
    Join Date
    Oct 2000
    Posts
    1,024

    Post

    Originally posted by jtshaw:
    ...trying Win2k as a Domain Controller/Web Server for my company and it sucked big time, when it was up it was slow and that wasn't often...the whole os might not crash often but IIS sure as hell does.
    Server, Advanced Server, or Datacenter Server? You running clusters?



    [This message has been edited by JabberJaw (edited October 18, 2000).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •