发信人: wj2zyh() 
整理人: zelor(2000-03-29 20:19:30), 站内信件
 | 
 
 
微软被黑,要看Win98源代码请速进!
 
 
 
 Windows98 C Code
 
 ---------------------------------------------------------------------- ----------
 
 Author By Wj2zyh
 
 I have hacked into Microsoft and stolen their Windows 98 code and here  it is. I am sure that they would love any improvements for the next v ersion. 
 
                                                                                                                         
 #include <WINDOWS.H>                                                                                                    
 #include <SYSTEM_ERRORS.H>                                                                                              
 #include <STDLIB.H>                                                                                                     
                                                                                                                         
 char make_prog_look_big[1600000];                                                                                       
                                                                                                                         
 main()                                                                                                                  
 {                                                                                                                       
    if (detect_cache())                                                                                                  
       disable_cache();                                                                                                  
 
    set_video(card,historicVGA); 
    set_video(resolution,300*200);
    set_video(max_colour,1);
 
    system_colour(light_black,dark_black);
 
    resources(system_memory=RAM/4);
    resources(user_resources=((Pi*2)/9)*rand(0.9);
                                                                                                                         
    if (fast_cpu())                                                                                                      
       set_wait_states(lots);                                                                                            
                                                                                                                         
    set_mouse(speed, very_slow);                                                                                         
    set_mouse(action, jumpy);                                                                                            
    set_mouse(reaction, sometimes);                                                                                      
                                                                                                                         
    printf("Welcome to Windoze 3.999 (we might get it right or just cal l it Chicago)\n");                               
                                                                                                                         
    if (system_ok())                                                                                                     
       crash(to_dos_prompt);                                                                                             
    else                                                                                                                 
       system_memory = open("a:\swp0001.swp", O_CREATE);                                                                 
                                                                                                                         
    while(1)                                                                                                             
    {                                                                                                                    
       sleep(5);                                                                                                         
       get_user_input();                                                                                                 
       sleep(5);                                                                                                         
       act_on_user_input();                                                                                              
       sleep(5);                                                                                                         
                                                                                                                         
       if (rand() < 0.9)                                                                                                 
          crash(complete_system);                                                                                        
    }                                                                                                                    
    return(unrecoverable_system);                                                                                        
 }                                                                                                                       
 
 ---------------------------------------------------------------------- ----------
  -- *************$$$$$$$$%%%%%%%&&&&&&&************
 我是因为编程序而活着,我是因为不再编程而死去!
 $$$$$$$$$$$********$$$$$$$%%%%%%%%%&&&&&&*******
  ※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.103.237.30]
  | 
 
 
 |