AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/e/stayrandom.lha

Mirror:Random
Showing: ppc-amigaos icongeneric icon
No screenshot available
Short:Seeds RND # generator in E.
Author:Joseph E. Van Riper III
Uploader:vanriper cs unca edu
Type:dev/e
Architecture:m68k-amigaos
Date:1994-09-22
Download:dev/e/stayrandom.lha - View contents
Readme:dev/e/stayrandom.readme
Downloads:683

Long:

	StayRandom is simply an Amiga E module to help
generate random numbers a little better.  Simply call
'stayrandom()' at the beginning of your program (after
including "MODULE 'other/stayrandom'" in your source) and
you should be able to use Amiga E's random number generator
to create very random numbers.

	StayRandom opens the timer.device to get at the
ticks, as well as scanning the vscan thingy.  StayRandom no
longer create an ENV:RND file.  As far as I can tell, this
works quite well; if you've been complaining that Amiga E's
random number generator isn't working very well, try
executing this function before your code and see if your
assessment still holds true <grin>.

- Trey Van Riper


Contents of dev/e/stayrandom.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  504     770  65.5% -lh5- a7b2 Sep 14  1994 stayrandom.m
[generic]                  285     465  61.3% -lh5- a8e0 Sep 14  1994 StayRandom.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files     789    1235  63.9%            Sep 21  1994
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>