Re: [cc65] offtopic: random numbers in c64

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-06-26 20:17:08


On Thursday 26 June 2003 06:41, sandree wrote:
> BTW another method for generation random numbers is to read the upper four
> bits of any register between $d800 and $dbff. they are not connected to the
> computer so their value depends on the radiation in the environment.

no, their value depends on what other value was on the bus before (dont 
remember any details, its documented somewhere though) - thus these values 
are highly predictable and in no way random. (you can even write code that 
runs there!-although thats one of the most tricky things regarding c64 
programming)

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-26 20:19:33 CEST