Category : C Source Code
Archive   : RECIPEX.ZIP
Filename : IRBIT1.C
#define IB2 2
#define IB5 16
#define IB18 131072
int irbit1(iseed)
unsigned long *iseed;
{
unsigned long newbit;
newbit = (*iseed & IB18) >> 17
^ (*iseed & IB5) >> 4
^ (*iseed & IB2) >> 1
^ (*iseed & IB1);
*iseed=(*iseed << 1) | newbit;
return (int) newbit;
}
#undef IB1
#undef IB2
#undef IB5
#undef IB18
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/