Re: A85: Random Numbers


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

Re: A85: Random Numbers




You're right.  Thanks.  
One thing tho, if this way isn't very good, then is there a better way?

--JdAoMtEyS
-----------------------------
"Oh my god, they killed Kenny!"


On Sat, 28 Feb 1998 09:39:30 -0600 Jim Reardon <eviljim@megsinet.net>
writes:
>
>Actually, I think only A gets randomized, and either way, it's a bad 
>random
>number thing I've noticed...
>
>At 09:01 AM 2/28/98 -0500, you wrote:
>>
>>I am fairly new to Z80 Assembly, and I would like to know how to do
>>random numbers.  I have been fooling with the RANDOM call in USGard, 
>but
>>it always returns the value  32907 in the hl pair.  In the 
>USGARDFN.TXT
>>file, it says this about the funciton:
>>"Output:    AF, BC, DE, HL = random numbers"
>>Am I misinterperating this, or do each of those pairs contain a 
>random
>>number? And if so, then why would it not be working for me?
>>
>>Thanx
>>
>>--JdAoMtEyS
>>-----------------------------
>>"Oh my god, they killed Kenny!"
>>
>>_____________________________________________________________________
>>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]
>> 
>---
> Jim Reardon
> eviljim@megsinet.net              ICQ UIN #1893323
> Webmaster: All 4 Free http://all4free.hypermart.net/
> Webmaster: STE/IO Software http://steio.hypermart.net/
> Homepage: http://eviljim.home.ml.org
> "There's no such thing as a stupid question, just stupid people that 
>ask
>stupid questions."
>

_____________________________________________________________________
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]


Follow-Ups: References: