0 Members and 1 Guest are viewing this topic.
"welcome to the world of computers, where everything seems to be based on random number generators"
As I said, for now it's only for non-CX calcs -> no colors
int ... , *initRand = 0x90090000; // IRQ timer location// mallocs heresrand(*initRand);
static unsigned x;void sxorrand(unsigned seed){ x = seed;}unsigned xorrand() { x ^= x << 13; x ^= x >> 17; x ^= x << 5; return x;}