A85: Random Numbers


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

A85: Random Numbers




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]


Follow-Ups: