============================================================================
Architectures: Classic AMIGAs, FS-UAE and possibly WinUAE.
----------------------------------------------------------
MINIMUM Requirements Are:-
--------------------------
Stock A1200(HD), no extras required.
Standard OS 3.0.x install or better.
FS-UAE 2.8.1, minimum.
Standard OS 3.0.x install or better.
(FastRam, Accelerators, CPUs, etc, are an enormous bonus.)
NOT tested on WinUAE but will probably work.
NOT tested on machines with AMIGA OS 2.xx, but might just work.
----------------------------------------------------------------------------
History:-
---------
01-01-2022.
-----------
Version 1.00.00. Probably the one and only upload for this archive.
----------------------------------------------------------------------------
General:-
---------
(Apologies for any typos, etc...)
This little selection are PURE AmigaShell scripts that generates a random
number between 2 and 1000, the same depth as ARexx.
It uses this method:
Wichmann-Hill method using 32 bit integer arithmetic.
https://en.wikipedia.org/wiki/Wichmann%E2%80%93Hill
Ensure ENV: is assigned to ENVARC: by adding or changing the
Startup-Sequence script to:-
Assign ENV: ENVARC:
Do not delete the 3 SEEDs, unless you want to change them, as these will
give pseudo-timer settings for the next time they will ever be needed.
(Read ALL the text file insrtuctions thorouhly.)
A quick listing and rundown...
WH_RANDOM_AMIGA/S drawer:
1) SetRandomSeedsFixed.shell file only needs to be run once and feeds the
random number generator the necessary parameters for the very first run.
2) Random.shell, the workhorse.
These files should reside inside the S: volume.
There are two other #?.shell files that are optional.
3) SetRandomSeedsManual.shell and Input.shell if you want to set the seeds
for yourself.
Also, there is a WH_RANDOM_AMIGA/Bonus drawer with two other #?.shell
files inside it as demos.
1) Dice.shell, a simple shell script to pseudo-roll dice.
2) RandomTest.shell, A slow script to show inside 25 prints to the screen
that 0 and 255 appear with seeds in the script and using 256,
[ byte sized ;o) ], as the user value.
This uses nothing more than a Stock, (Boxed), Amiga A1200(HD) and OS 3.0x.
Enjoy...
Bazza...
----------------------------------------------------------------------------
Lincolnshire Amiga Group:
https://lincsamiga.org.uk/wordpress/
----------------------------------------------------------------------------
This archive is issued under the CC0 Licence. Public Domain.
----------------------------------------------------------------------------
IMPORTANT:-
-----------
The Legal Stuff:-
-----------------
This code is CC0 licenced, Public Domain.
The author is not responsible for any damage to, or loss of, or failure
of equipment or data caused in any way by the use of this code.
There is NO warranty with the use of this software release and
YOU USE IT AT YOUR OWN RISK.
----------------------------------------------------------------------------
Testing Evaluation:-
--------------------
All FS-UAE and Classic AMIGA test conditions were/are running standard
OS 3.0x and using standard ~topaz 8~ fonts throughout. The minimum
hardware and software requirements ARE needed however.
I have no idea what strange configuration setups will create so refer
to the ~The Legal Stuff~ above.
----------------------------------------------------------------------------
Barry Walker, G0LCU.
wisecracker.bazza@gmail.com
----------------------------------------------------------------------------
A very useful HardWare related site, (C) Anthony Hoffman, for
modifications, schematics, repairs and the like is:-
http://amiga.serveftp.net/
============================================================================
|