Windows '98 source code

Gast #1424925
Lesenswert?

1
/*
2
TOP SECRET Microsoft(c) Code
3
Project: Chicago(tm)
4
Projected release-date: Summer 1998
5
*/
6

7

8
#include "win31.h"
9
#include "win95.h"
10
#include "evenmore.h"
11
#include "oldstuff.h"
12
#include "billrulz.h"
13

14

15
#define INSTALL_HARD
16

17

18
char make_prog_look_big[1600000];
19

20

21
void main()
22
{
23
  while(!CRASHED)
24
  {
25
    display_copyright_message();
26
    display_bill_rules_message();
27
    do_nothing_loop();
28
    if (first_time_installation)
29
    {
30
      make_50_megabyte_swapfile();
31
      do_nothing_loop();
32
      totally_screw_up_HPFS_file_system();
33
      search_and_destroy_the_rest_of_OS2();
34
      hang_system();
35
    }
36
    
37
    write_something(anything);
38
    display_copyright_message();
39
    do_nothing_loop();
40
    do_some_stuff();
41
    
42
    if (still_not_crashed)
43
    {
44
      display_copyright_message();
45
      do_nothing_loop();
46
      basically_run_windows_3.1();
47
      do_nothing_loop();
48
      do_nothing_loop();
49
    }
50
  }
51
  
52
  if (detect_cache())
53
    disable_cache();
54
  
55
  
56
  if (fast_cpu())
57
  {
58
    set_wait_states(lots);
59
    set_mouse(speed, very_slow);
60
    set_mouse(action, jumpy);
61
    set_mouse(reaction, sometimes);
62
  }
63
  
64
  
65
  /* printf("Welcome to Windows 3.11");*/
66
  /* printf("Welcome to Windows 95"); */
67
  printf("Welcome to Windows 98");
68
  
69
  if (system_ok())
70
    crash(to_dos_prompt);
71
  else
72
    system_memory = open("a:\swp0001.swp",
73
    O_CREATE);
74
  
75
  while(something)
76
  {
77
    sleep(5);
78
    get_user_input();
79
    sleep(5);
80
    act_on_user_input();
81
    sleep(5);
82
  }
83
  
84
  create_general_protection_fault();
85
}

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren