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

util/wb/BaseConv.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:Convert numbers between bin/oct/dec/hex
Author:Kim Fastrup Larsen
Uploader:kimflarsen hotmail com (Kim Fastrup Larsen)
Type:util/wb
Version:1.1
Architecture:m68k-amigaos
Date:2024-05-30
Download:http://aminet.net/util/wb/BaseConv.lha - View contents
Readme:http://aminet.net/util/wb/BaseConv.readme
Downloads:363

New in version 1.1
------------------

- Now refreshes the window when preferences are changed on
  Workbench 1.2/1.3.


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 key corresponding to the first letter 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
--------------------

This program is written in C with a bit of assembler as
well. Full source code is included. In fact, one of the main
purposes of this release is to provide quality source code
to anyone trying to write similar tools for the Amiga, or as
a sort of document on how such programs work.

I originally wrote a simple 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.1 (May 30, 2024)

- Now refreshes the window when preferences are changed on
  Workbench 1.2/1.3.

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 30 17:47 BaseConv.info
[unknown]                10645   16116  66.1% -lh5- 5b18 May 30 17:47 BaseConv/BaseConv
[unknown]                  310     436  71.1% -lh5- cdf9 May 30 17:47 BaseConv/BaseConv.info
[unknown]                  266     414  64.3% -lh5- 95e9 May 30 17:47 BaseConv/Catalogs/dansk/BaseConv.catalog
[unknown]                12641   35147  36.0% -lh5- 7994 May 30 17:47 BaseConv/gpl-3.0.txt
[unknown]                  198     370  53.5% -lh5- ea97 May 30 17:47 BaseConv/gpl-3.0.txt.info
[unknown]                 1544    3130  49.3% -lh5- fe22 May 30 17:47 BaseConv/ReadMe
[unknown]                  193     370  52.2% -lh5- 6cdb May 30 17:47 BaseConv/ReadMe.info
[unknown]                37962   37962 100.0% -lh0- 491e May 30 17:47 BaseConvSrc.lha
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         9 files   64103   94845  67.6%            May 31 03:06

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