Re: [cc65] offtopic: random numbers in c64

Date view Thread view Subject view

From: Marko Mäkelä (marko.makela_at_hut.fi)
Date: 2003-06-27 13:18:44


On Thu, Jun 26, 2003 at 06:41:09AM +0200, 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.

On some computers, their value depends exactly on what the video chip fetched
on the previous cycle.  In 1994, I wrote a program "dadb" that executes in
the $d800-$dbff area.  Mind you, it was much harder to write than a program
that runs in the $de00-$dfff area.

	Marko
----------------------------------------------------------------------
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-27 13:19:31 CEST