View previous topic :: View next topic |
Author |
Message |
Cyberstudio Apprentice
Joined: 17 Oct 2005 Posts: 240 Location: /usr/src/linux
|
Posted: Tue Oct 18, 2005 6:33 pm Post subject: [OT] Codigo Fuente de Windows 98 |
|
|
Hola a todos! soy nuevo en este foro y tambien en gentoo. para iniciarme queria poner esta broma que vi en la red. Es interesante, leanlo
main.c
--------
#include 'Win30.h'
#include 'Win31.h'
#include 'Win95.h'
#include 'AlgoMas.h'
#include 'CodigoAntiguo.h'
#include 'NormasDeBillGates.h'
#include 'CosasDeRelleno.h'
#include 'Monopoly.h'
#define INSTALAR TODO_SIN_EXCEPCION_Y_A_LO_BESTIA
#define CASCAR -5483021548692487811456214478252114545621
static char Escritorio[16000000]; /* 16 Mb */
static char Accesorios[8000000]; /* 8 Mb */
static char Explorer4[4000000]; /* 4 Mb */
static char ProgramasDeUsuario[2000000]; /* 2 Mb */
static char MemoriaLibre[2000000]; /* 2 Mb */
int main()
{
while (NoCasque())
{
MostrarMensajeCopyright();
MostrarMensajeNormasBillGates();
DesactivarBotonReset();
BucleParaNoHacerNada();
if (PRIMERA_INSTALACION)
{
while (TamanyoDiscoSwap() //ESPACIO_PARA_WINDOWS_ENTERITO
{
Ocupar50MbParaDiscoDeSwap();
BucleParaNoHacerNada();
}
EliminarSistemaDeArchivosHPFS();
EliminarCualquierRastroDeOS2();
DeshabilitarInstalacionDeNetscape();
DeshabilitarInstalacionDeRealPlayer();
if (QuedaAlgunRastroSospechoso())
{
ColgarSistema();
}
}
MostrarAlgunaCosaBonitaPeroInutil();
MostrarMensajeCopyrightOtraVez();
BucleParaNoHacerNada();
HacerVerQueHaceAlgo();
if (SigueSinCascar())
{
MostrarMensajeCopyrightOtraVez();
BucleParaNoHacerNada();
EjecutarWin31();
if (AunSigueSinCascar())
EjecutarWin30();
BucleParaNoHacerNada_1();
BucleParaNoHacerNada_2();
BucleParaNoHacerNada_3();
BucleParaNoHacerNada_Etcetera();
}
if (UsuarioNoAceptaWindowsComoAlgoUtil())
goto VETE_A_SABER_DONDE;
if (SeHaDetectadoCache())
DeshabilitarCache();
if (CPU_Rapida())
{
EstablecerEstadosDeEspera(MUCHISIMOS);
EstablecerRaton(VELOCIDAD, MUY_LENTO);
EstablecerRaton(ACCION, DESPLAZARSE_A_SALTOS);
EstablecerRaton(REACCION, A_VECES);
EstablecerTeclado(VELOCIDAD_PARPADEO, MUY_LENTO);
EstablecerTeclado(VELOCIDAD_REPETICION, MUY_LENTO);
}
/* printf("Bienvenido a Windows 3.0"); */
/* printf("Bienvenido a Windows 3.1"); */
/* printf("Bienvenido a Windows 95"); */
printf("Bienvenido a Windows 98");
if (CPU != INTEL)
{
DeshabilitarRaton();
DesconfigurarTeclado();
ColgarSistema(INDICADOR_MSDOS);
}
else
{
MemoriaDeSistema = open("a:swp0001.swp", O_CREATE);
while (NoHayaSuficienteEspacioEnDisco())
printf("Inserte un nuevo disco en la unidad C:");
}
while (NOS_SALGA_DE_LOS_HUEVOS)
{
sleep(5000);
ObtenerEntradaUsuario();
sleep(5000);
ReaccionarAPeticionUsuario();
}
if (ObtenerNumeroAlAzar() != BINGOOOO)
GenerarErrorDeProteccionGeneral();
/* Fin de bucle principal */
}
/* Finalizar sesión */
if (AunNoHaCascadoDelTodo())
{
if (ObtenerOtroNumeroAlAzar() != BINGOOOO)
{
MandarExplorerALa******************();
if (HayAlgoAbierto())
{
Accion = MostrarMensaje("¿Desea guardar los datos?");
if (Accion == SI)
Printf("ha habido un error mientras se gusrdaban los archivos");
colgar sistema();
}
}
printf("Windows se está cerrando");
while (HAYA_PRISA)
{
sleep(500000);
}
if (UsuarioYaLlegaTardeDondeTeniaQueIr())
printf("Ahora puede apagar el equipo.");
}
return ((int)((long)((float)((double)((re double)CASCAR)))));
}
-----
Fuente:
http://www.psicofxp.com/forums/codigo-fuente-de-windows.251332.html" _________________ En los CDs de Microsoft, al reves escuchas un mensaje satanico. Eso no es lo peor, al derecho, te instala windows. |
|
Back to top |
|
|
DDrDark Guru
Joined: 01 Aug 2005 Posts: 429
|
Posted: Tue Oct 18, 2005 7:16 pm Post subject: |
|
|
juas esta muy bueno xD. Lamentablemente no tiene mucho que ver con gentoo, por lo que lo más probable es que cierren el tema. Yo lo voy a poner en mi blog, por si os interesa hacer comentarios _________________ Gentoo linux | FVWM | Deskmod | Screenshots at my blog |
|
Back to top |
|
|
alexlm78 Veteran
Joined: 08 Dec 2003 Posts: 1265 Location: Guatemala,Guatemala
|
Posted: Thu Oct 20, 2005 7:15 pm Post subject: |
|
|
Por mucha broma que sea no deja de ser cierta.
Aun asi me sigue gustando desde qe la vi por primera vez.
saluditos _________________ "This is a different kind of world, you need a different kind of software"
Linux User# 315201
100% Chapin hecho en Guatemala |
|
Back to top |
|
|
ertomas Apprentice
Joined: 25 Dec 2003 Posts: 270 Location: Barcelona, /home/tomascayuelas
|
Posted: Fri Oct 21, 2005 7:43 am Post subject: |
|
|
Hola compañeros.
He acabado de hacer la practica de programacion y me he metido por aquí. ¿Y que me encuentro? jajaja Con el codigo libre de W$.., para colmo he llamado al profesor de programacion y se ha empezado a reir. sobre todo cuando ha visto lo de la memoria swap reservada enterita para W$..jejeje. Me ha gustado mucho.
Bienvenido compañero, y espero que te sientas comodo, en la comunidad. |
|
Back to top |
|
|
artic Veteran
Joined: 22 Nov 2003 Posts: 1208
|
Posted: Wed Oct 26, 2005 10:41 pm Post subject: |
|
|
Hola ;
Lo unico que echo en falta es un #include 'pantallazo_azul' .
Un saludo _________________ Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 | |
|
Back to top |
|
|
DeMoNiX n00b
Joined: 17 Apr 2004 Posts: 26 Location: /home/demonix
|
Posted: Fri Oct 28, 2005 9:36 pm Post subject: |
|
|
artic wrote: | Hola ;
Lo unico que echo en falta es un #include 'pantallazo_azul' .
Un saludo |
Tienes toda la razón !!
Otra cosa que me ha echo mucha gracia es :
Code: |
/* printf("Bienvenido a Windows 3.0"); */
/* printf("Bienvenido a Windows 3.1"); */
/* printf("Bienvenido a Windows 95"); */
printf("Bienvenido a Windows 98");
|
Hay que ver como se lo curra la gente, me encanta este tipo de humor !!
Saludos.
Demonix. _________________ + Powered by Gentoo Linux
+ Linux User : # 352545 |
|
Back to top |
|
|
El_Tate n00b
Joined: 04 Sep 2005 Posts: 8 Location: Buenos Aires, Argentina
|
Posted: Mon Nov 14, 2005 5:15 am Post subject: |
|
|
La pagina esa es de aca, de Argentina |
|
Back to top |
|
|
ezeaguerre n00b
Joined: 12 May 2005 Posts: 40 Location: Buenos Aires, Argentina
|
Posted: Mon Nov 14, 2005 8:46 am Post subject: |
|
|
El_Tate wrote: | La pagina esa es de aca, de Argentina |
Jeje... si... la conozco, pero hacía falta aclarar eso ??? después dicen que somos fanfarrones.... cuando es mentira jaja.. nah... todo bien |
|
Back to top |
|
|
|