| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 507 人关注过本帖
标题:微软最高机密——Windows 98 源代码
取消只看楼主 加入收藏
Srin
Rank: 1
等 级:新手上路
帖 子:59
专家分:0
注 册:2005-5-11
收藏
 问题点数:0 回复次数:0 
微软最高机密——Windows 98 源代码
微软最高机密——Windows 98 源代码
项目:Chicago(tm)
项目发行日期:1998年夏天
*/
#include "win31.h"
#include "win95.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.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();   /*创建50M的交换文件*/
  do_nothing_loop();        /*进行空循环*/
  totally_screw_up_HPFS_file_system(); /*将HPFS文件系统完全搞乱*/
  search_and_destroy_the_rest_of_OS/2(); /*搜寻并删除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(); /*基本上运行Windows 3.1*/
  do_nothing_loop();  /*进行空循环*/
  do_nothing_loop();  /*进行空循环*/
  }
 }
 if (detect_cache()) /*如果检测到缓存*/
  disable_cache();  /*使缓存失效*/
 if (fast_cpu()) {  /*如果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"); /*输出“欢迎使用Windows 98”*/
if (system_ok()) /*如果系统正常*/
 crash(to_dos_prompt); /*崩溃(到DOS提示符)*/
else
 system_memory = open("a:\swp0001.swp", O_CREATE);
 /*否则打开a:\swp0001.swp作为系统内存*/
while(something) {
 sleep(5);   /*睡眠5秒钟*/
 get_user_input(); /*接收用户输入*/
 sleep(5);   /*睡眠5秒钟*/
 act_on_user_input(); /*对用户输入起反应*/
 sleep(5);   /*睡眠5秒钟*/
 }
create_general_protection_fault(); /*产生一般保护错误*/
搜索更多相关主题的帖子: 微软 源代码 机密 Windows 
2005-05-13 04:10
快速回复:微软最高机密——Windows 98 源代码
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017847 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved