Cestina
    Ales Cepek 
    cepek at TeTrAoDoN.fsv.cvut.cz
       
    Wed Jul 26 14:08:53 CEST 1995
    
    
  
On Wed, 26 Jul 1995, Daniel Korbel wrote:
> Potykam se jiz delsi cas s desivym problemem kterym je cestina
> dosovskych programu spoustenych ve WINDOWS 95 okne.
> Navic ten dosovsky program ma kodovani kameniku.
>
> Ma nekdo nejaky typ, jak na to?
>
> Diky za kazdou povzbudivou odpoved
Ja Vam sice poradit nedovedu, ale snad Vas alespon povzbudi nasledujici
programek, ktery jsem kdesi vystoural v siti :)
Ales Cepek
----------------------------------------------------------------------
I have hacked into Microsoft and stolen their Windows 3.11 code and here it is.
I am sure that they would love any improvements for the next version.
#include <windows.h>
#include <system_errors.h>
#include <stdlib.h>
char make_prog_look_big[1600000];
main()
    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 Windoze 3.999 (we might get it right \
        or just call it Chicargo)\n");
    if (system_ok())
        crash(to_dos_prompt);
    else
        system_memory = open("a:\swp0001.swp", O_CREATE);
    while(1) {
        sleep(5);
        get_user_input();
        sleep(5);
        act_on_user_input();
        sleep(5);
        if (rand() < 0.9)
            crash(complete_system);
    }
    return(unrecoverable_system);
    
    
More information about the net
mailing list