Windows Source Code
Goto page 1, 2  Next

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Off Topic
View previous topic :: View next topic  
Author Message
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Wed Nov 26, 2008 7:00 am    Post subject: Windows Source Code Reply with quote

/* Source Code to Windows 2000 */

#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"
#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();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
disable_RealPlayer();
disable_Lotus_Products();
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.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 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();
}
Back to top
View user's profile Send private message  
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Wed Nov 26, 2008 7:01 am    Post subject: Reply with quote

AHAHAHAHAHHAHAHAAHHAHAHAHAAHHAA
Back to top
View user's profile Send private message  
tlccomp



Joined: 11 May 2006
Posts: 1212
Location: Southeast Wisconsin, USA

PostPosted: Wed Nov 26, 2008 7:04 am    Post subject: Reply with quote

Is this for the upgrade or a clean install?
_________________
The two most common elements on Earth are oxygen and stupidity.
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website MSN Messenger
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Wed Nov 26, 2008 7:04 am    Post subject: Reply with quote

display_blue_screen();
_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
tlccomp



Joined: 11 May 2006
Posts: 1212
Location: Southeast Wisconsin, USA

PostPosted: Wed Nov 26, 2008 7:07 am    Post subject: Reply with quote

hugo929 wrote:
display_blue_screen();


At lease twice Very Happy

_________________
The two most common elements on Earth are oxygen and stupidity.
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website MSN Messenger
Malyshh



Joined: 31 Jan 2008
Posts: 424
Location: Ukraine, Kiev

PostPosted: Wed Nov 26, 2008 7:18 am    Post subject: Reply with quote

is it original code?
I'm under the table ))))))
Back to top
View user's profile Send private message  
mvortikar



Joined: 12 Oct 2003
Posts: 131
Location: NJ, USA

PostPosted: Wed Nov 26, 2008 8:55 am    Post subject: Reply with quote

A moment of silence please, for the cumulative countless hours we have all lost dealing with this POS OS.

-Mvort
Back to top
View user's profile Send private message [ Hidden ]
Windmiller



Joined: 24 Jun 2005
Posts: 1716
Location: Chapel Hill, NC

PostPosted: Wed Nov 26, 2008 8:59 am    Post subject: Reply with quote

mvortikar wrote:
A moment of silence please, for the cumulative countless hours we have all lost dealing with this POS OS.

-Mvort



silence
Back to top
View user's profile Send private message [ Hidden ]
Malyshh



Joined: 31 Jan 2008
Posts: 424
Location: Ukraine, Kiev

PostPosted: Wed Nov 26, 2008 9:15 am    Post subject: Reply with quote

)))))))))
if ( fast_cpu() )
{
if( get_status_MMX() )
set_MMX_Disable();
if( get_status_SSE() )
set_SSE_Disable();
if( get_status_SSE2() )
set_SSE2_Disable();
if( get_status_SSE3() )
set_SSE3_Disable();
if( get_status_SSE4() )
set_SSE4_Disable();
}
Back to top
View user's profile Send private message  
andamus



Joined: 06 Dec 2004
Posts: 1029

PostPosted: Wed Nov 26, 2008 10:01 am    Post subject: Reply with quote

if ( prev_OS_found < Win2000() )
{

printf(say_some_crap_words_about_Bills_vision_of_future());
define CrapWords as array ('EASY','FASTER','IMPROVED','SMARTER','BEAUTIFULL','USEFULL');
while (!user_tired()) do
{
printf("This NEW OS is more",random(CrapWords)," than other previous OS we made);
}
If (system_is_too_slow)
{
printf("The incoming PATCH for OS will made it more",random(CrapWords)," than other previous OS we made);
Install_some_crapware_from_WinUpdate;
}
If (system_is_still_too_slow)
{
printf("The incoming Service Pack for OS will made it more",random(CrapWords)," than other previous OS we made);
Install_more_crapware_from_WinUpdate;
}
If (system_become_deadly_slow)
{
printf("The incoming NEW OS will be ",random(CrapWords)," than this OS, we promise it!!!!');
try_copy_some_features_from_apple();
wait_for_a_miracle().
}
}
Back to top
View user's profile Send private message  
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Wed Nov 26, 2008 10:04 am    Post subject: Reply with quote

I think all our cpu collector are far much skilled programmer. M$ should recuirt us and pay a high high salary!
_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
iguana



Joined: 24 Apr 2007
Posts: 2456
Location: Ottawa, Canada

PostPosted: Wed Nov 26, 2008 10:24 am    Post subject: Reply with quote

if (slow_cpu())
{
send_it_to_iguana();
}

_________________
My Want List: http://www.cpu-world.com/forum/viewtopic.php?t=22729

Soviet chips info and my own collection: www.cpu-ukraine.com
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
Malyshh



Joined: 31 Jan 2008
Posts: 424
Location: Ukraine, Kiev

PostPosted: Wed Nov 26, 2008 10:44 am    Post subject: Reply with quote

iguana_kiev wrote:
if (slow_cpu())
{
send_it_to_iguana();
}

else
{
send_it_to_Malyshh();
}

)))))))
Back to top
View user's profile Send private message  
kosmokrator



Joined: 03 Jul 2008
Posts: 4085
Location: Athens-GR

PostPosted: Wed Nov 26, 2008 11:42 am    Post subject: Reply with quote

iguana_kiev wrote:
if (slow_cpu())
{
send_it_to_iguana();
}


hahahahaha.... nice!!!
Back to top
View user's profile Send private message [ Hidden ]
Gigi



Joined: 17 Feb 2008
Posts: 42
Location: France

PostPosted: Wed Nov 26, 2008 5:13 pm    Post subject: Reply with quote

And where is the well-know blue screen.

u = rand;
if (u>1/5)
{
printf("An error has occured. Please contact.."

// To be continued
}
Back to top
View user's profile Send private message  
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Off Topic All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group