Exemplo n.º 1
0
Arquivo: rows.c Projeto: 7ym0n/hack
int main(int argc, char *argv[])
{
     maths();
     x_maths();
     xx_maths();
     xxx_maths();
     xxxx_maths();
     return 0;
}
void parsecommand(char * s){
	if(!strcmp(s,"help")){
		help();
	}
	else if(!strcmp(s,"maths")){
		maths();
	}
	else if(!strcmp(s,"piano")){
		piano();
	}
	else if(!strcmp(s,"printbios")){
		checkbios();
	}
	else if(!strcmp(s,"printidt")){
		get_IDT_information();
	}
	else if(!strcmp(s,"effectslow")){
		espeed = 10;
	}
	else if(!strcmp(s,"effectfast")){
		espeed = 1;
	}
	else if(!strcmp(s, "exit")){
		goodbye();
	}
	else if(!strcmp(s,"setsound")){
		setExceptionSound();
	}
	else if(!strcmp(s,"printsounds")){
		printSoundSetting();
	}
	else if(!strcmp(s,"playsound")){
		playsound();
	}
	else if(!strcmp(s,"clear")){
		k_clear_screen();
	}
	else if(!strcmp(s,"checkzerodivide")){
		checkzerodiv();
	}
	else if(!strcmp(s,"checkgeneralprotect")){
		checkgeneralprotect();
	}
	else if(!strcmp(s,"checkdebug")){
		breakpoint();
	}
	else if(!strcmp(s,"dolarcalculator")){
		afip();
	}
	else if(!strcmp(s,"about")){
		about();
	}
	else if(!strcmp(s,"printidtentry")){
		printidtentry();
	}
	else {
		printf("Marito says: COMMAND NOT FOUND\n");
		genericBeep();
	}
	return;
}