進階會員 | 【分享】微軟 WINDOWS XP 程式碼大公開 /* 這段程式我看可以列入Windows的經典笑話了.... */ /* 註解版(不詳盡的地方或有淺顯有趣的解釋,請高手幫忙補上) */ /* Source Code to Windows XP */ #include "win31.h" /*載入win31的程式碼*/ #include "win95.h" /*載入win95的程式碼*/ #include "win98.h" /*載入win98的程式碼*/ #include "workst~1.h" #include "evenmore.h" #include "oldstuff.h" #include "oldstuff.h" #include "billrulz.h" /*載入Bill的法則*/ #include "monopoly.h" #define INSTALL HARD char make_prog_look_big(1600000); /* 讓程式看起來非常大 */ void main() { while(!CRASHED) /* 假如沒有當機 */ { display_copyright_message(); /* 顯示版權訊息 */ display_bill_rules_message(); /* 顯示bill的法則 */ do_nothing_loop(); /* 無所事事迴圈 */ if (first_time_installation) /* 如果是第一次安裝 */ { make_50_megabyte_swapfile(); /* 做一個超大的交換檔案 */ do_nothing_loop(); /* 無所事事迴圈 */ totally_screw_up_HPFS_file_system(); /* 整個拆掉?? HPFS檔案系統 (OS2的檔案系統) */ search_and_destroy_the_rest_of_OS/2(); /* 搜尋然後破壞OS2 */ make_futile_attempt_to_damage_Linux(); /* 企圖破壞Linux */ disable_Netscape(); /* 關掉Netscape */ disable_RealPlayer(); /* 關掉RealPlayer */ disable_Lotus_Products(); /* 關掉Lotus相關產品 */ 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(); /* 根本就是在跑win31 */ 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.1"); */ /* printf("Welcome to Windows 3.11"); */ /* printf("Welcome to Windows 95"); */ /* printf("Welcome to Windows 98"); */ /* printf("Welcome to Windows me"); */ /* printf("Welcome to Windows 2000"); */ /* 以上代表winXP包還很多之前程式碼,完全沒有清除 */ printf("Welcome to Windows XP"); if (system_ok()) /* 如果機器還活著 */ crash(to_dos_prompt) /* 把DOS命令列當掉 */ else /* 否則 */ system_memory = open("a:\swp0001.swp",O_CREATE); /* 在軟碟機開一個交換檔 */ while(something) /* ?? */ { sleep(5); /* 停五秒 */ get_user_input(); /* 然後才讀取user的輸入 */ sleep(5); /* 停五秒 */ act_on_user_input(); /* 才處理user的輸入 */ sleep(5); /* 停五秒 */ } create_general_protection_fault(); /* GPF */ /* printf("Welcome to Windows NT 3.0"); */ /* printf("Welcome to Windows 98"); */ /* printf("Welcome to Windows NT 4.0"); */ /* 以上代表winXP包還很多之前程式碼,完全沒有清除 */ printf("Welcome to Windows XP"); if (system_ok()) /* 如果機器還活著 */ crash(to_dos_prompt) /* 把DOS命令列當掉 */ else /* 否則 */ system_memory = open("a:\swp0001.swp",O_CREATE); /* 在軟碟機開一個交換檔 */ while(something) /* ?? */ { sleep(5); /* 停五秒 */ get_user_input(); /* 然後才讀取user的輸入 */ sleep(5); /* 停五秒 */ act_on_user_input(); /* 才處理user的輸入 */ sleep(5); /* 停五秒 */ } } |
回覆 |
會員 ![]() | 真的就是醬子阿~~ |
回覆 |
高級會員 | 真好笑 真的嗎? |
回覆 |
高級會員 | 這個程式的作者還真是強!! |
回覆 |
網路流浪者...... ![]() | 我們來出個win pozone版吧...... |
回覆 |
|
![]() | ||||
主題 | 主題作者 | 討論版 | 回覆 | 最後發表 |
【新聞】(偽) Windows Pre-SPX (快速下載 WINDOWS XP 的更新檔) | threesecond | -- Windows 更新 & 驅 動 程 式 版 | 156 | 2012-02-29 12:11 AM |
Windows Internet Explorer 8 Beta 1 for Windows XP | Wanderium | -- Windows 更新 & 驅 動 程 式 版 | 0 | 2008-03-07 11:46 PM |
Service Pack 2 for Windows Server 2003 & Windows XP Professional, x64 Edition | Wanderium | -- Windows 更新 & 驅 動 程 式 版 | 11 | 2007-04-08 03:06 AM |
Windows XP 2002 和 Windows XP 2600 | artstudio | -- Windows 討 論 版 | 5 | 2002-01-15 10:52 PM |
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。