At 21:06 26-8-00 +0200, you wrote:
>Albert Beevendorp wrote:
> > ld a,r
> > ld b,a
> > ld a,r
> > xor b
> > ld b,a
> > ld a,r
> > xor b
> >
> > is a better way to randomize and repeating this more should improve it.
>I don't think so, because the time it takes to repeat it is constant so R
>will be increased with the same number all the time.

Well, I tested it yesterday and I got a pretty random table (I filled a 
table with 16 bytes with it, later even with a little routine to get the 
value beneath a given value)


GreeTz, BiFi

Visit my Home Page at www.bifi.msxnet.org
mail me at: [EMAIL PROTECTED]
FTP: ftp.bifi.msxnet.org
ICQ #36126979

****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****

Reply via email to