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

dev/basic/SANE.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:80bit SANE & numeric functions for Blitz.
Author:lombi at iprimus.com.au (Lorence Lombardo)
Uploader:lombi iprimus com au (Lorence Lombardo)
Type:dev/basic
Version:6-Aug-2012
Architecture:m68k-amigaos
Date:2012-08-06
Download:http://aminet.net/dev/basic/SANE.lha - View contents
Readme:http://aminet.net/dev/basic/SANE.readme
Downloads:2687
Here are some functions used for dealing with Apple Macintosh's SANE
Normalized numeric format. Some of the functions may have other uses also.

So far the only place I have encountered this format is in the stored
frequency of the AIFF/AIFC header specification.

See "www.mactech.com/articles/mactech/Vol.06/06.01/SANENormalized" for
related interest.

aif_info is a demonstration program which obtains some basic specification
information of AIFF/AIFC files.

Usage:- aif_info <AIFF/AIFC_file> 


"fsize.exe" is a program which shows you how to obtain file sizes of up to
4GB with the "CVF{}" numeric function.

Usage:- fsize.exe <file>

Here are the results of "fsize.exe" using different float types for the same
2.58GB file:-

Float 32 no FPU:-  2775528000   bytes
Float 32 with FPU:- 2775528448   bytes
Float 64 with FPU:- 2775528454   bytes, same result as windows.

As you can see the Float 32 results are OK if you want to round off your
result to GB, but if you want the precise bytes then you really need an FPU
using Float64.

"CVFS{}" is the signed version of the "CVF{}" function.

"fsz_new.exe" now uses a different method for obtaining file sizes.
"fsz_new.exe" is able to obtain precise file sizes of up to 4GB without the
use of floats or FPU.


"ffp2ieee.ab2" shows you how to convert Amiga FFP to IEEE float.

"ieee2ffp.ab2" shows you how to convert IEEE float to Amiga FFP, without
an FPU.


"ValF{}" is an alternative to the "Val" command which may also be useful
for people with a more classic Blitz setup.


"octal.ab2" is a set of functions for dealing with the octal number system. 

"bint.ab2" is a set of functions for dealing with big integer and big
floating point numeric strings.


"ValL.ab2" is a set of alternative equivalent functions to AB2/3's "Vallong"
command and a little bit more, which may also be useful for people with a
more classic Blitz setup. 


"unsign.ab2" is a set of functions for converting signed numbers to
unsigned numbers.


Tips for people without FPU and a more classic Blitz setup:-

Since I have "Lotan Libs" installed I must use "PeekS" instead of "Peeks$".
So you need to replace "PeekS" with "Peeks$". You will also need to replace
"Vallong" with "Val".

I have aleardy done this for you in the "classic" directory you will find
a "Peeks$" version of "SANE.ab2", "ieee2ffp.ab2", a "Val" version of
"ValF.ab2" and "bint.ab2".

"aif_info", "ieee2ffp", "ieee2ffp_OS", "fsize.exe", "fsz_new.exe",
"bint.exe", "ValF2.exe" and "vll.exe" were tested with a "1.3 rom", no FPU
and lots of RAM on WinUAE.



Feeling bored ?  :)
Why not check out this URL ?

http://home.iprimus.com.au/lombi/1/homepage.htm



Contents of dev/basic/SANE.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 9134    9280  98.4% -lh5- 17c4 Sep  2  2008 SANE/aif_info
[unknown]                15718   15864  99.1% -lh5- 350e Aug 30  2008 SANE/aif_info_fpu
[unknown]                 6618   29156  22.7% -lh5- ca61 Aug  6 15:09 SANE/bint.ab2
[unknown]                  200    1286  15.6% -lh5- 78a8 Aug  6 15:09 SANE/bint.ab2.xtra
[unknown]                25387   25644  99.0% -lh5- 69fc Aug  6 15:13 SANE/bint.exe
[unknown]                 6638   29201  22.7% -lh5- f4be Aug  6 15:12 SANE/classic/bint.ab2
[unknown]                  203    1286  15.8% -lh5- de76 Aug  6 13:29 SANE/classic/bint.ab2.xtra
[unknown]                  615    1164  52.8% -lh5- d1e7 Jan 31  2010 SANE/classic/fsz2.ab2
[unknown]                  148    1218  12.2% -lh5- 11de Jan 31  2010 SANE/classic/fsz2.ab2.xtra
[unknown]                  945    2110  44.8% -lh5- d452 Feb 10  2010 SANE/classic/fsz3.ab2
[unknown]                  147    1218  12.1% -lh5- 266c Jan 31  2010 SANE/classic/fsz3.ab2.xtra
[unknown]                 1585    4914  32.3% -lh5- 2f3a Jan 31  2010 SANE/classic/ieee2ffp.ab2
[unknown]                  167    1218  13.7% -lh5- 677f Jan 31  2010 SANE/classic/ieee2ffp.ab2.xtra
[unknown]                 1158    2324  49.8% -lh5- 1af0 Jan 31  2010 SANE/classic/SANE.ab2
[unknown]                  169    1218  13.9% -lh5- 36c2 Jan 31  2010 SANE/classic/SANE.ab2.xtra
[unknown]                 1015    2573  39.4% -lh5- 3135 Jan 31  2010 SANE/classic/ValF.ab2
[unknown]                  172    1218  14.1% -lh5- 3ebf Jan 31  2010 SANE/classic/ValF.ab2.xtra
[unknown]                 7267    7408  98.1% -lh5- 4508 Sep  2  2008 SANE/classic/ValF2.exe
[unknown]                 8002    8144  98.3% -lh5- 5800 Aug 18  2008 SANE/ffp2ieee
[unknown]                  994    2683  37.0% -lh5- 1e2c Aug 18  2008 SANE/ffp2ieee.ab2
[unknown]                  206    1286  16.0% -lh5- 879b Aug 18  2008 SANE/ffp2ieee.ab2.xtra
[unknown]                 5599    5708  98.1% -lh5- 5aef Sep 22  2008 SANE/ffp2ieee_OS
[unknown]                  523    1146  45.6% -lh5- eb01 Sep 22  2008 SANE/ffp2ieee_OS.ab2
[unknown]                  202    1286  15.7% -lh5- 14fb Sep 22  2008 SANE/ffp2ieee_OS.ab2.xtra
[unknown]                 6413    6524  98.3% -lh5- 59e5 Aug 13  2008 SANE/fsize.exe
[unknown]                  699    1309  53.4% -lh5- ebd5 Aug  5  2008 SANE/fsz.ab2
[unknown]                  198    1286  15.4% -lh5- 83e3 Aug  5  2008 SANE/fsz.ab2.xtra
[unknown]                  972    2122  45.8% -lh5- a16c Feb  9  2010 SANE/fsz3.ab2
[unknown]                  189    1286  14.7% -lh5- 766a Feb  9  2010 SANE/fsz3.ab2.xtra
[unknown]                17095   17256  99.1% -lh5- bd97 Feb 10  2010 SANE/fsz_new.exe
[unknown]                 7513    7640  98.3% -lh5- 0be1 Sep  2  2008 SANE/ieee2ffp
[unknown]                 1584    4823  32.8% -lh5- 5cf2 Aug 16  2008 SANE/ieee2ffp.ab2
[unknown]                  197    1286  15.3% -lh5- 9a74 Aug 16  2008 SANE/ieee2ffp.ab2.xtra
[unknown]                 4914    5008  98.1% -lh5- f94a Sep 24  2008 SANE/ieee2ffp_OS
[unknown]                  904    2717  33.3% -lh5- 9932 Jan 31  2010 SANE/ieee2ffp_OS.ab2
[unknown]                  169    1218  13.9% -lh5- 7c60 Jan 31  2010 SANE/ieee2ffp_OS.ab2.xtra
[unknown]                  420     850  49.4% -lh5- 859a Aug 15  2008 SANE/octal.ab2
[unknown]                  204    1286  15.9% -lh5- f68f Aug 15  2008 SANE/octal.ab2.xtra
[unknown]                 7604    7732  98.3% -lh5- f478 Aug 15  2008 SANE/octal.exe
[unknown]                82281   82281 100.0% -lh0- 94b0 Aug  9  2008 SANE/pics/AIFF-C.jpg
[unknown]                 4334    4604  94.1% -lh5- 962a Aug  6  2008 SANE/pics/Double_IEEE_Float.png
[unknown]                 1360    1360 100.0% -lh0- 22e9 Aug  9  2008 SANE/pics/Extended_IEEE_float.gif
[unknown]                 4166    4166 100.0% -lh0- 3fd7 Aug  6  2008 SANE/pics/Extended_vs_Double_float.gif
[unknown]                 7855    8002  98.2% -lh5- 6726 Aug  6  2008 SANE/pics/Single_IEEE_Float.png
[unknown]                 1263    2587  48.8% -lh5- f9d5 Aug 16  2008 SANE/SANE.ab2
[unknown]                  203    1286  15.8% -lh5- e47c Aug 16  2008 SANE/SANE.ab2.xtra
[unknown]                 1313    2884  45.5% -lh5- ba36 Aug  6 16:04 SANE/SANE.readme
[unknown]                 1211    2572  47.1% -lh5- e935 Aug 30  2008 SANE/SANE_FPU.ab2
[unknown]                  206    1286  16.0% -lh5- d894 Aug 16  2008 SANE/SANE_FPU.ab2.xtra
[unknown]                  881    2256  39.1% -lh5- a9d4 Nov  6  2007 SANE/test/ffp2ieee_dev.ab2
[unknown]                  201    1286  15.6% -lh5- d889 Nov  6  2007 SANE/test/ffp2ieee_dev.ab2.xtra
[unknown]                  555    1394  39.8% -lh5- e2f7 Nov  7  2007 SANE/test/float.txt
[unknown]                 1122    2491  45.0% -lh5- 978b Nov  8  2007 SANE/test/ieee2ffp_dev.ab2
[unknown]                  201    1286  15.6% -lh5- 822b Nov  8  2007 SANE/test/ieee2ffp_dev.ab2.xtra
[unknown]                 1125    2728  41.2% -lh5- 7a53 Feb 15  2010 SANE/unsign.ab2
[unknown]                  211    1286  16.4% -lh5- 0010 Feb 12  2010 SANE/unsign.ab2.xtra
[unknown]                 9539    9680  98.5% -lh5- 0a99 Feb 12  2010 SANE/unsign_fpu.exe
[unknown]                 1083    2721  39.8% -lh5- 1923 Aug 30  2008 SANE/ValF.ab2
[unknown]                  208    1286  16.2% -lh5- 60ae Aug 14  2008 SANE/ValF.ab2.xtra
[unknown]                 8396    8552  98.2% -lh5- 4462 Aug 30  2008 SANE/ValF.exe
[unknown]                  733    1732  42.3% -lh5- 4e0a Aug 30  2008 SANE/ValF_lite.ab2
[unknown]                  210    1286  16.3% -lh5- cd11 Aug 18  2008 SANE/ValF_lite.ab2.xtra
[unknown]                 7863    8012  98.1% -lh5- 903a Aug 30  2008 SANE/ValF_lite.exe
[unknown]                 1625    5379  30.2% -lh5- 341f Oct 14  2010 SANE/ValL.ab2
[unknown]                  216    1290  16.7% -lh5- 1f08 Oct 14  2010 SANE/ValL.ab2.xtra
[unknown]                 5991    6108  98.1% -lh5- a866 Oct 14  2010 SANE/vll.exe
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        66 files  286239  390697  73.3%            Aug  6 08:12

Aminet © 1992-2020 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>