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

util/shell/Pi_Demos.zip

Mirror:Random
Showing: generic icon
No screenshot available
Short:Calculate PI in pure AMIGA shell script
Author: wisecracker.bazza at gmail.com (Barry Walker, G0LCU)
Uploader:LAG (Lincolnshire Amiga Group)
Type:util/shell
Version:1.10.00
Architecture:generic
Date:2025-03-18
Download:util/shell/Pi_Demos.zip - View contents
Readme:util/shell/Pi_Demos.readme
Downloads:493

============================================================================

Architectures: Classic AMIGAs, FS-UAE, and probably WinUAE.
-----------------------------------------------------------

  MINIMUM requirements for the AmigaShell ONLY version are:-
  ----------------------------------------------------------

        Stock A1200(HD), no extras required except a/the Hard Disk Drive.
        Standard OS 3.0x install or better.
        FS-UAE 2.8.1, minimum.
        Standard OS 3.0x install or better.

  MINIMUM requirements for the AMIGA ADE combination are:-
  --------------------------------------------------------

        Stock A1200(HD), as above but with an extra 4MB FastRAM.
        Standard OS 3.0x install or better.
        FS-UAE 2.8.1, minimum.
        Standard OS 3.0x install or better.

        'ADE' installtion:-
        < https://aminet.net/package/dev/gcc/ADE >
        'ixemul' installation:-
        < https://aminet.net/package/util/libs/ixemul-48.0 >

        -------------------------------------------------------------

        (FastRam, Accelerators, CPUs, etc, are an enormous bonus.)
        NOT tested on WinUAE but will probably work.
        NOT tested on machines with AMIGA OS2.xx but might just work.

        For the Linux/UNIX version, virtually any 64 bit OS will work!

----------------------------------------------------------------------------

  History:-
  ---------

  18-03-2025.
  -----------
  Version 1.10.00. Added and AMIGA ADE version and Linux/UNIX version too.
                   Also, added snapshots of all versions in 'BMP' format.

  16-02-2021.
  -----------
  Version 1.00.00. Probably the one and only upload for this archive.
                   (Total 393 DLs.)

----------------------------------------------------------------------------

  General:-
  ---------

  (Apologies for any typos, etc...)

  Calculate Pi in a pure AMIGA shell script to 5 decimal places...
  Nilakantha series...
  < https://en.wikipedia.org/wiki/Pi#Infinite_series >
  PI=3+(4/(2x3x4))-(4/(4x5x6))+(4/(6x7x8))-(4/(8x9x10))+...
  NOTE: It is possible to do 8 decimal places, but would take a LONG time.

  There are two Classic AMIGA versions:-

  1) A simple one that uses ( 22 / 7 ) as an approximation of Pi, a value
     of 3.1428571 to 7 decimal places, with a line by line description of
     what is going on to show the concepts.
     This is PiApproxExample.shell and can be launched from the IconX icon.

  2) Pi.shell that uses the above series and is slow, but accurate.
     It prints each calculated stage until the 26th calculation loop is
     finished and then exits the loop to print out the value 3.14159.
     This too can be launched from the IconX icon.

  Just read the scripts for more information.
  From PiApproxExample.shell the principles are described on screen but the
  shell script shows how exactly how it was done.
  Exactly the same principles were applied to the Pi.shell script.

  This uses nothing more than a Stock, (Boxed), Amiga A1200(HD) and OS3.0x.
  Apart from the Hard Disk Drive, an option when boxed, there are NO
  dependencies software or hardware at all...

  Also versions for the AMIGA ADE combination, and the Linux/UNIX like OSes.

  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/ >

============================================================================


Contents of util/shell/Pi_Demos.zip
Archive:  /home/aminet/aminet_root/doc//util/shell/Pi_Demos.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2025-03-17 21:49 00000000  Pi_Demos/
       0  Stored        0   0% 2025-03-17 21:51 00000000  Pi_Demos/AMIGA_ADE_Combination/
   54300  Defl:N    40801  25% 2025-03-16 15:12 d4767ce1  Pi_Demos/AMIGA_ADE_Combination/PI_POSIX_AMIGA_ADE.bmp
     860  Defl:N      484  44% 2025-03-17 21:51 e4a29dc3  Pi_Demos/AMIGA_ADE_Combination/PI_POSIX_AMIGA_ADE.sh
       0  Stored        0   0% 2025-03-17 20:49 00000000  Pi_Demos/AMIGA_Shell_Only/
    1433  Defl:N      681  53% 2025-03-17 20:47 884886bb  Pi_Demos/AMIGA_Shell_Only/Pi.shell
 1555254  Defl:N    10140  99% 2025-03-16 14:33 f43276ff  Pi_Demos/AMIGA_Shell_Only/Pi.shell.bmp
     529  Defl:N      295  44% 2021-02-15 15:25 b7b558f2  Pi_Demos/AMIGA_Shell_Only/Pi.shell.info
 1555254  Defl:N    13272  99% 2025-03-17 20:43 bdc96249  Pi_Demos/AMIGA_Shell_Only/PiApproxExample.bmp
    1524  Defl:N      525  66% 2021-02-15 15:27 5931e5eb  Pi_Demos/AMIGA_Shell_Only/PiApproxExample.shell
     542  Defl:N      306  44% 2021-02-15 15:25 b5916cce  Pi_Demos/AMIGA_Shell_Only/PiApproxExample.shell.info
       0  Stored        0   0% 2025-03-17 21:49 00000000  Pi_Demos/Linux_UNIX_Etc/
  861590  Defl:N    24113  97% 2025-03-16 13:53 365dea99  Pi_Demos/Linux_UNIX_Etc/PI_Linux_UNIX.bmp
     881  Defl:N      486  45% 2025-03-17 21:49 2f90e85c  Pi_Demos/Linux_UNIX_Etc/PI_POSIX_Linux.sh
    5222  Defl:N     1890  64% 2025-03-17 21:48 4a5698b6  Pi_Demos/Pi_Demos.readme
--------          -------  ---                            -------
 4037389            92993  98%                            15 files
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>