] 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)
Fill a table of 10000 values and check for patterns. You will see that it is
not random at all.
Kind regards,
Alex Wulms
--
Visit The MSX Plaza (http://www.inter.nl.net/users/A.P.Wulms) for info on
XelaSoft, Merlasoft, Quadrivium, SD-Snatcher on fMSX, the MSX Hardware list,
XSA Disk images, documentation, Japanese MSX news from Ikeda and lots more.
****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****