> it was in the newest version here: > http://sourceforge.net/projects/jal/files/ > > in the lib folder, named random.jal
Thanks, I found a random3.jal. I can see no magic in there, there's a little difference in initialization, though: Wouter just makes sure that at least one bit is set in one of the variables, while joep fully initializes the variables to start values. Therefore I'd say it is pure luck if after power-up the sequences are not starting at the same point with wouters lib. If we change joeps lines var volatile dword _rndx = 2282008 if (defined(random_downgrade) == false) then var volatile dword _rndy = 362436069 end if to something like var volatile dword _rndx _rndx = _rndx | 2 if (defined(random_downgrade) == false) then var volatile dword _rndy _rndy = _rndy | 65536 end if then I'd expect similar results from joep's lib. You haven't used the randomize() procedure from wouters lib? If you had, the sequence would have always started at the same point. Greets, Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
