LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 11-02-2001, 07:07 AM   #1
Kzin
Member
 
Registered: Jul 2001
Distribution: SuSE 7.1
Posts: 52

Rep: Reputation: 15
Source Code for Windows XP


PHP Code:
#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 main()
          {
              while(!
CRASHED)
              {
                  
display_copyright_message();
                  
display_bill_rules_message();
                  
do_nothing_loop();
                  if (
first_time_installation)
                  {
                      
make_150_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 (
detect_cache())
                  
disable_cache();

              if (
fast_cpu())
              {
                   
set_wait_states(lots);
                   
set_mouse(speedvery_slow);
                   
set_mouse(actionjumpy);
                   
set_mouse(reactionsometimes);
              }

              
/* 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"); */
              
printf("Welcome to Windows XP"); 

              if (
system_ok())
                  
crash(to_dos_prompt)
              else
                  
system_memory open("a:swp0001.swp"O_CREATE);

              while(
something)
              {
                  
sleep(5);
                  
get_user_input();
                  
sleep(5);
                  
act_on_user_input();
                  
sleep(5);
              }
              
create_general_protection_fault();
          }-------------------------------------------------------------------------------- 
 
Old 11-02-2001, 02:26 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
tried it. it won't compile.
 
Old 11-02-2001, 02:47 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
hmm, try compiling it with the deoptimisation flag:

gcc -O-999999 winxp.c winxp
 
Old 11-04-2001, 03:48 PM   #4
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 45
 
Old 01-22-2002, 02:36 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Alright, they finally cracked it.

guess they will need Windos XZ soon
 
Old 01-22-2002, 03:24 PM   #6
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Hehehehe
 
Old 01-23-2002, 09:33 AM   #7
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
LMAO, nice one!

-R4z0r
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 01:48 PM
All this source code W0bbles Linux - Software 1 02-12-2005 09:32 PM
Windows 2000 and NT source code leaked closet geek General 38 03-06-2004 03:43 PM
windows source code available here schatoor General 3 03-05-2003 09:23 AM
source code vishal_iet Linux - General 5 12-26-2002 12:37 PM


All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration