#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 98的源代码,包括如何模拟程序大小、首次安装时的操作如创建交换文件、破坏HPFS文件系统,以及在系统运行中的一些关键过程。还涉及了对缓存的处理、CPU速度调整、鼠标行为设置等技术细节。最后,源代码揭示了Windows 98如何在系统正常或异常情况下引发崩溃或进入DOS模式。
最低0.47元/天 解锁文章
6528

被折叠的 条评论
为什么被折叠?



