I have used the following to re-seed the random number generator at the
start of a program, or a routine if a set of random numbers need to be
generated every time the routine is called:

   POKE 64634, PEEK(63791)

This reads the memory location (63791) that is constantly counting between
1 and 125, as Ken described, but is simpler and uses no variables.

Regards,
PeterN


On Wed, Dec 27, 2023 at 1:03 PM <[email protected]> wrote:

> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 26 Dec 2023 14:28:32 -0800
> From: Peter Vollan <[email protected]>
> To: Model 100 Discussion <[email protected]>
> Subject: [M100] dice
> Message-ID:
>         <CA+g2JxnO5J3-eq9CC8upjSVtxB_c=
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Whoever wrote the Model 100 Dice Box, how do you account for the fact that
> supposedly the Model 100 will generate the same random numbers every time
> it is asked to due to its limited memory?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.bitchin100.com/private.cgi/m100-bitchin100.com/attachments/20231226/e24c169e/attachment-0001.htm
> >
>
>

Reply via email to