Click to See Complete Forum and Search --> : Windows 2000 source code! Adv. users only!
Klashe
10-12-2000, 03:02 PM
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();
jtshaw
10-12-2000, 05:01 PM
Oh wow! you found it! Has MS gone open source?!? That is amazing!
hehehe, looks about right for Windows ME code anyway
Bateluer
10-12-2000, 08:45 PM
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?
Arcadian
10-12-2000, 08:57 PM
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.
Funny.
[This message has been edited by KR02 (edited October 12, 2000).]
BobTheSlob
10-12-2000, 11:21 PM
Very http://www.sharkyforums.com/ubb/wink.gif
------------------
DOWN WITH ACRONYMS!!! TYPE OUT THE WORDS!!!
Adisharr
10-13-2000, 02:48 AM
LOL http://www.sharkyforums.com/ubb/biggrin.gif
------------------
- Mouse not found - click to continue..
Rick_James9
10-13-2000, 11:23 AM
That's cool! It's just a joke(some truth in it) so everybody relax.
------------------
Tech GOD
Warin
10-14-2000, 01:13 AM
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!
Humus
10-14-2000, 06:20 AM
http://www.sharkyforums.com/ubb/smile.gif
BlackTriad
10-14-2000, 03:48 PM
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.
loukings
10-15-2000, 12:00 PM
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!
I think you meant to put windows ME instead of windows 2k. http://www.sharkyforums.com/ubb/smile.gif
jtshaw
10-17-2000, 10:43 PM
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.
JabberJaw
10-17-2000, 11:59 PM
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).]
JabberJaw
10-18-2000, 08:09 AM
Where's the section that
turns on the
permanent Screen saver?
You know, the Blue one.
That was such a fun option in NT.
I'm really going to miss it...
jtshaw
10-18-2000, 09:49 AM
I think it was Advanced Server though I don't even remember. Our linux server (which also serves as a WinNT domain controller) has never ever crashed in any way, shape, or form in the last 3 years or so (since we got it). Only time it has been down is to upgrade hardware. After a week of screwing with whatever version of Win2k we were trying we decided to take it back, sure as hell wasn't worth the massive price we paid (around $4500 or something for os and licensing we wanted) for it since it did nothing, absolutely nothing, better then the linux server we have that we paid very little for.
Originally posted by JabberJaw:
Server, Advanced Server, or Datacenter Server? You running clusters?
[This message has been edited by JabberJaw (edited October 18, 2000).]
[This message has been edited by jtshaw (edited October 18, 2000).]
Klashe
10-20-2000, 01:07 PM
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.
This was written a while back. Sorry that I forgot to change it to WinME. My bad. Thank you for so graciously pointing at the error of my ways in a FRICKIN JOKE POST. Please excuse me if my faith in Microsoft is...dwindling.
TolTas
10-20-2000, 04:58 PM
while (Klashe == NEVER_USED_WIN2k)
{
if (Klashe_OS == WIN98)
{
if (KlasheCompilesAnyProgram)
{
makeCompSUPERsLow();
crashComputer(NO_DELAY);
}
else
beCrappyWindowZ();
}
else if (Klashe_OS == LINUX)
RunStableUntilUserDefininedShutdown();
}
hehe i like linux....but use Win2k, which has some problems but NOTHING compared to 98 and Me.
------------------
--> £¿Quanza!¿£ <--
Phlux
10-23-2000, 08:25 PM
LOL
Gotta love Code jokes :-)
BloodRed
10-28-2000, 01:49 AM
Sweet http://www.sharkyforums.com/ubb/smile.gif
That dude that blasted the post because it was refering to Win2K instead of WinMe needs to calm down. It was a joke! A funny one too.
I use Win2K Pro, Win98SE, and Linux at home. Win2K is MUCH better than Win9x or WinME, but I still prefer Linux for stability and control. The only reason I keep Win98SE around at all is for gaming, since I don't have to worry about compatibility with it.
------------------
-BR
P3 700@933
Leadtek GF2 32MB
BloodRed's House.com (http://www.bloodredshouse.com)
"That Linux duck sure is cute.....What? That's a penguin??"
slick
10-30-2000, 08:43 PM
haha to damn funny
Chill everyone .. or does No1 know how to take a joke anymore http://www.sharkyforums.com/ubb/smile.gif