Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Segmentation fault

Name: Anonymous 2009-08-08 14:31

What's that?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-08 15:07

I'll post it here
#define rdt(timer) ;asm volatile("rdtsc\n\t":"=A"(timer)); // unsigned long long timer
inline uc rndbyte(void){
ull tmp;rdt(tmp);uc a,c,b,d;a=tmp&0xFF;d=a%5;if(d<3){d++;}
rdt(tmp);b=tmp&0xFF;d=(d*(b%5))^a;if(d>10){d-=10;};
rdt(tmp);c=tmp&0xFF;if(d&1){return a^b^c;}else{return b^c^a;}}



_____________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Writing is not a profession but a vocation of unhappiness. I don't think an artist can ever be happy.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List