New in version 1.3
------------------
- Added an option to show hex numbers in uppercase.
- Improved font-sensitive layout.
- Switched from Standard C Library I/O to a basic buffered
I/O implementation of my own, shaving several kilobytes
off the executable.
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.
Using the settings menu, you can choose, for each base,
whether the current number should be displayed as a signed
or unsigned value, and whether hexadecimal numbers should
use uppercase letters.
When you save your settings, the size and position of the
window is saved as well.
The program will run on all Amigas (Kickstart 1.2 and
later), but also takes advantage of features provided by
later releases, such as tab cycling, input filtering and
new-look menus, and being able to specify the public screen
upon which to open. It will adopt the font of the host
screen.
The program can also be localized on Workbench 2.1 or later.
A translation to Danish is included.
Full source code included.
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 Kickstart 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.
The source code
---------------
This program is written in C with a bit of assembler as
well.
It demonstrates how some of the things that were introduced
with Kickstart 2.04 can be accomplished on 1.x, including:
- Finding the application's home directory
- Parsing arguments according to a template
- Creating Gadtools-like menus
- Buffered and formatted I/O with minimal bloat
Also includes a toolkit for creating proper requesters in
the style of AutoRequest, creating a couple of different
types of gadgets, and other useful functions.
More stuff
----------
I have released several projects on Aminet. Almost all of
them include source code. Here are a few of the more useful
ones:
ScreenTime - A highly configurable screen clock with a popup
calendar:
https://aminet.net/package/util/time/ScreenTime
ToolsMenu - Add tools and projects to the Workbench Tools
menu with a simple graphical user interface:
https://aminet.net/package/util/cdity/ToolsMenu
Character Map - Browse your Amiga's character set and copy
characters to the system clipboard:
https://aminet.net/package/text/misc/CharacterMap
Labyrinth - Remake of a Commodore 64 game:
https://aminet.net/package/game/misc/labyrinth64
You can get a list of all my projects with this link:
https://aminet.net/search?readme=kimflarsen
History
-------
1.3 (Jul 23, 2026)
- Added an option to show hex numbers in uppercase.
- Improved font-sensitive layout
- Switched from Standard C Library I/O to a basic buffered
I/O implementation of my own, shaving several kilobytes
off the executable.
1.2.2 (Oct 30, 2024)
- Fixes and improvements.
1.2.1 (Jul 21, 2024)
- Will now suppress DOS requesters asking to insert ENV: or
ENVARC: if these are not mounted.
- Now activates a "busy" state while saving settings.
- For those interested in the source code, the requester
code now lays out buttons like EasyRequest, ie. equally
spaced apart.
1.2 (Jun 28, 2024)
- Gadget labels now indicate a gadget's shortcut key by
underlining a character à la GadTools.
- Now works better on public screens with unusual pen ar-
rangements.
- Now updates the font used for menus when preferences are
changed on Workbench 1.2/1.3.
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.
|