A83: Re: ZLIB Random #'s


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

A83: Re: ZLIB Random #'s




It probably does have to do with the range 0-8....
A simple fix could be to do:
 ld a,r
 ld (data),a
every so often in your program.
I'll try to fix this problem with the next release of ZLib.

Joe Wingbermuehle
http://www.usmo.com/~joewing/

-----Original Message-----
From: Alan C Johnson <benjamin99@juno.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Wednesday, August 26, 1998 10:44 AM
Subject: A83: ZLIB Random #'s


>
>Even though I enabled interupts, the random numbers stil vary between the
>same 2 numbers.  Does it have something to do with asking for a random #
>between 0 & 8?
>There's no way a would be destroyed between the generation and the cp's
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>