[A83] Re: Random numbers


[Prev][Next][Index][Thread]

[A83] Re: Random numbers




RandData is a local variable. If you have an 83-, which I assume you have, 
because you talk about SOS, you can replace randData by 809Ch. So instead of

	ld	hl,(randData)

you get

	ld	hl,(809Ch)

It should work.


>From: Guillaume Hoffmann <crono@ifrance.com>
>
>For the moment, my prog doesn't run under SOS or Ion, so I have to
>paste the routines in the code, but it doesn't work because IMO it uses
>a variable in ram called RandData ... and I don't understand why it's
>there for...
>
>
>10/08/01 19:12:16, "Tijl Coosemans" <tijlc@hotmail.com> a écrit:
>
> >
> >>From: Guillaume Hoffmann <crono@ifrance.com>
> >>
> >>What is the best random number generator routine , in terms of
> >>effectiveness and speed ?
> >>
> >>TruRand seems to be slow (it uses OPs), and I can't paste Joe Wing's
> >>random numbers routine (that is used in Ion and Zlib) in my program.
> >
> >Why can't you use Joe's? It's a very good routine.
> >


_________________________________________________________________
Download MSN Explorer gratis van http://explorer.msn.nl/intl.asp