找回密码
 立即注册
搜索
查看: 648|回复: 9

微软windows 98 源代码

[复制链接]

22

主题

108

回帖

187

积分

海星

积分
187
发表于 2006-1-21 10:44:16 | 显示全部楼层 |阅读模式
微软windows 98 源代码

/*
TOP SECRET Microsoft(c)á Code
Project: Chicago(tm)
Projected release-date: Summer 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();
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");
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();
}

42

主题

596

回帖

836

积分

金牌会员

积分
836
发表于 2006-1-21 13:07:07 | 显示全部楼层
只有这一点吗
回复

使用道具 举报

42

主题

596

回帖

836

积分

金牌会员

积分
836
发表于 2006-1-21 13:34:15 | 显示全部楼层
晕,刚看懂

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(); /*产生一般保护错误*/
回复

使用道具 举报

76

主题

807

回帖

1169

积分

金牌会员

积分
1169
发表于 2006-1-22 02:10:18 | 显示全部楼层
window2000 的源码流出有几百M
回复

使用道具 举报

42

主题

596

回帖

836

积分

金牌会员

积分
836
发表于 2006-1-22 12:43:41 | 显示全部楼层
谁有源代码共享下
回复

使用道具 举报

332

主题

3769

回帖

5397

积分

网站编辑

积分
5397
发表于 2006-1-23 08:34:36 | 显示全部楼层
这种东西!
回复

使用道具 举报

3

主题

52

回帖

72

积分

注册会员

积分
72
发表于 2006-3-2 16:21:26 | 显示全部楼层
到baidu搜搜
回复

使用道具 举报

13

主题

351

回帖

476

积分

中级会员

积分
476
发表于 2006-3-6 14:10:28 | 显示全部楼层
百度有很多,以前我也有,但硬盘坏了,给弄丢了。
回复

使用道具 举报

114

主题

1864

回帖

2643

积分

论坛元老

积分
2643
发表于 2006-3-6 21:02:50 | 显示全部楼层
哈,水区的东西。
我想,ME以及以前的东西确实不太好用,到NT以后这种笑话可以休矣。
音乐、QIII
回复

使用道具 举报

1

主题

146

回帖

198

积分

海星

积分
198
发表于 2006-3-8 11:04:42 | 显示全部楼层
肯定不止这点
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|海浩社区

GMT+8, 2025-9-17 03:23 , Processed in 0.089531 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表