💾 Archived View for cugi.ie › aminet › 1715387480.gmi captured on 2024-08-31 at 13:13:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-12)

-=-=-=-=-=-=-

Convert numbers between bin/oct/dec/hex

   Author:       Kim Fastrup Larsen
   Uploader:     kimflarsen hotmail com (Kim Fastrup Larsen)
   Type:         util/wb
   Version:      1.0
   Architecture: m68k-amigaos
   Date:         2024-05-10
   Readme:       http://aminet.net/util/wb/BaseConv.readme
   Downloads:    7

http://aminet.net/util/wb/BaseConv.lha

Base Converter

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

This is a little Workbench utility that lets you convert

numbers between binary, octal, decimal and hexadecimal. Sim-

ply enter a number in one of the string gadgets, press the

Return key, and the other three will be updated.

When no gadget is currently active, you can activate one by

pressing the first key in the gadget's label, fx. 'd' for

decimal.

Using the settings menu, you can choose, for each base,

whether the current number should be displayed as a signed

or unsigned value.

When you save your settings, the size and position of the

window is saved as well.

The program was designed for Kickstart 1.2/1.3, but runs

cleanly on later releases, and when doing so will take ad-

vantage of certain features, such as tab cycling, input fil-

tering and new look menus. You can also specify the public

screen upon which you want the utility to appear, and it

will use the font of whatever screen on which it is running.

The program can also be localized on Workbench 2.1 or later.

A translation to Danish is included.

Source code included

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

Full source code is included. In fact, one of the main pur-

poses of this release is to provide quality source code for

anyone trying to write similar tools for the Amiga, or as a

sort of document on how such programs work.

I originally wrote a basic version of this utility way back

in the early 1990s (never released), but have rewritten it

completely to incorporate what I've learned over the years

about writing modular, reusable and adaptable code.

Installation

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

Simply drag the tool's drawer to the desired location.

Configuration

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

You can use the SETTINGS tool type or Shell argument to

specify a file or directory in which settings should be

saved (and from which they will be loaded if found).

On Release 2 and later, you can use the PUBSCREEN tool type

or argument to specify the public screen on which you want

to program's window to open.

History

-------

1.0 (May 10, 2024)

Initial release.

Contents of util/wb/BaseConv.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  344     900  38.2% -lh5- 6fc7 May 10 20:03 BaseConv.info
[unknown]                10634   16088  66.1% -lh5- 86a5 May 10 20:03 BaseConv/BaseConv
[unknown]                  310     436  71.1% -lh5- cdf9 May 10 20:03 BaseConv/BaseConv.info
[unknown]                  266     414  64.3% -lh5- 95e9 May 10 20:03 BaseConv/Catalogs/dansk/BaseConv.catalog
[unknown]                12641   35147  36.0% -lh5- 7994 May 10 20:03 BaseConv/gpl-3.0.txt
[unknown]                  198     370  53.5% -lh5- ea97 May 10 20:03 BaseConv/gpl-3.0.txt.info
[unknown]                 1442    2818  51.2% -lh5- 5b38 May 10 20:03 BaseConv/ReadMe
[unknown]                  193     370  52.2% -lh5- 6cdb May 10 20:03 BaseConv/ReadMe.info
[unknown]                37808   37808 100.0% -lh0- 2ac1 May 10 20:03 BaseConvSrc.lha
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         9 files   63836   94351  67.7%            May 11 00:31

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