delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/27/09:01:37

Message-ID: <37EF5092.AC25A67F@pmail.net>
Date: Mon, 27 Sep 1999 13:10:10 +0200
From: Fred Backman <fredrick DOT backman AT pmail DOT net>
X-Mailer: Mozilla 4.6 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: srand()
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990927095045 DOT 8548G-100000 AT is>
Reply-To: djgpp AT delorie DOT com

This is a bit off-topic but when we made games for the Commodore 64, we used to
play around with different random number generators a lot, and one lazy hack was
to use the white noise waveform generated by the SID sound chip, which basically
was an undocumented random number generator. Pretty mad, but it actually worked
:-)

Eli Zaretskii wrote:

> On Sun, 26 Sep 1999, Thomas Harte wrote:
>
> >       Remember that DJGPP and most other compilers of
> > most other languages get random numbers from a list of random numbers
>
> There's no list of random numbers anywhere in the DJGPP library
> sources.

--
Fred Backman
Lead Wizard
Binary Spells
www.binaryspells.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019