Hozzászólások
Sziasztok!
Regen keringett a neten egy poen W2K forraskod. Kicsit megfoltoztam, kiegeszitettem es gondoltam megosztom Veletek is... Esetleg varom a tovabbi patch otleteket... :) Jo szorakozast! Ime:
[code:1:d5780290c6]
/* Source Code to Windows 2000 */
/* Patched by Waiter aka Peter Blazso */
#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#define INSTALL = HARD
char make_prog_look_big[1600000];
void crash();
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();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
disable_RealPlayer();
disable_Lotus_Products();
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 ( processes.count > PROC_NO_TO_CRASH )
crash();
start_unneeded_services();
open_more_tcp_ports();
open_more_udp_ports();
disable_firewall_in_the_background();
}
collect_info_about_users();
send_collected_info_to_ms();
}
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.1"); */
/* printf("Welcome to Windows 3.11"); */
/* printf("Welcome to Windows 95"); */
/* printf("Welcome to Windows NT 3.0");*/
/* printf("Welcome to Windows 98"); */
/* printf("Welcome to Windows NT 4.0");*/
printf("Welcome to Windows 2000");
if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("a:\swp0001.swp", O_CREATE);
if( still_ok() )
{
set_screen( TEXTUAL );
set_backgr_color( BLUE );
set_text_color( WHITE );
printf( STANDARD_USER_FOOLISHING_UNUSABLE_TEXT );
sleep(10);
}
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
}
create_general_protection_fault();
}
void crash()
{
disable_ESC();
disable_CTRLBRK();
disable_CRTLALTDEL();
stop_all_services();
stop_all_processes();
while( 1 );
}
[/code:1:d5780290c6]
- A hozzászóláshoz be kell jelentkezni
Küldök neked patchet:
[code:1:1c06130e6b]} //end of main[/code:1:1c06130e6b]
:D
- A hozzászóláshoz be kell jelentkezni
van neki vége, csak a bekezdés csúszott el kicsit... ;)
- A hozzászóláshoz be kell jelentkezni
Akkor ilyet:
[code:1:940f242478]
/* printf("Welcome to Windows XP");*/
/* printf("Welcome to Windows Server2003");*/
/* printf("Welcome to Windows Longhorn");*/
[/code:1:940f242478]
- A hozzászóláshoz be kell jelentkezni
[code:1:d6fb7cc746]
start_main_functions ()
{
/* this code belongs to microsoft (c) corporation (tm), you have to buy
a licence to be allowed to read this code (c). Your mouse is also under copyright (tm), buy a licence (c) to use it! */
printf("What are you going to do today?");
send_information(www.microsoft.com); // (c)
exec(os2.bin); // (tm)
}
[/code:1:d6fb7cc746]
:lol:
- A hozzászóláshoz be kell jelentkezni
[quote:7680b525ca="bitumen"][code:1:7680b525ca]
start_main_functions ()
{
/* this code belongs to microsoft (c) corporation (tm), you have to buy
a licence to be allowed to read this code (c). Your mouse is also under copyright (tm), buy a licence (c) to use it! */
printf("What are you going to do today?");
send_information(www.microsoft.com); // (c)
exec(os2.bin); // (tm)
}
[/code:1:7680b525ca]
:lol:
if(VER<=3.11)
{
exec(macos_7.1.bin);
}
- A hozzászóláshoz be kell jelentkezni
Én arra lennék kiváncsi, hogy a kormányoknak kiadott forrást le lehet e fordítani, és mennyiben eggyezik meg a terhesztett binárisokkal...
- A hozzászóláshoz be kell jelentkezni
Szerintem a "bepillantást nyerhetnek" != "teljes source". :lol:
Azért kíváncsi lennék én is, hogy mennyire fedi a kód a kiadott binárisokat.
- A hozzászóláshoz be kell jelentkezni
Elfogtunk egy Longhornos koddarabot :D
[code:1:33b0485794]void NoValidLisence(void) {
CPU.ExecASMInPriority0("cli\nhlt\n");
}
[/code:1:33b0485794]
- A hozzászóláshoz be kell jelentkezni