BCalc is a versatile Hex/Bin/Dec converter and calculator. It is designed specifically for people working with micro-controller projects and other digital circuits.

BCalc
BCalc

Overview

One of the key features of BCalc is that it simultaneously converts the inputted number, whatever the radix, into other supported bases.

BCalc features three groups of number fields. Each group can be used independently of the others. There are 32 check boxes — representing the 32 bit number — divided into 4 bytes and each byte is divided further into two nibbles. These check boxes make bit manipulation very intuitive. The 32-bit layout should satisfy most of the work done in the MCU world.

BCalc runs cross-platform via Mono.

License

The application is released under Apache License, Version 2.0.

Copyright 2012 Kerry D. Wong

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Platform Compatibility

This application is compatible with Microsoft Windows (.Net framework 2.0 or higher) and Linux (with Mono).

Keyboard Shortcuts

ALT+C — Clears all fields (set to 0)
ALT+F4 — Exit
F1 — About

Downloads

Version 1.1
Based on many requests, I have added the ability to clear all fields via keyboard shortcut. Also, I have fixed some conversion issues existed in the previous version due to the inconsistencies in the number formats used.

Source Code: BCalcV1.1_Source.tar
Binary Only: BCalcV1.1_BinaryOnly.tar

Version 1.0
The original release can be found here.

Be Sociable, Share!

7 Thoughts on “BCalc — A Hex/Bin/Dec Converter And Calculator”

  • Great program, though I would really like to see it tick the binary tick boxes as you type, rather than having to hit the ‘Calculate’ button. That would be useful when you just want to find the binary value of a number, not necessarily do any calculations.

    Thanks for making the program available anyway :)

    • As soon as you tab off the hex/dec number you are entering, the number is automatically converted to binary. No need to click the calculate button.

  • That’s good to know, though having it ‘on the fly’ I think would be nicer. Also having the ‘Enter’ work as the Tab (or as appropriate) to move to the next section would be a nice addition. This calc looks very useful for those tinkering with micros or any binary devices. Thanks again.

  • (1) Nice layout, useful.
    (2) Suggestion: unsigned integer (UINT32) and signed integer (INT32) decimal would be better than DEC only.
    (3) Suggestion: Make it more compact layout, lot of unused space can be reduced, ie height.
    Good design well done.

    • This is desired behavior for 2’s compliment (the most significant digit is the sign). If you start from the second most significant digit the result would be what you expected.

Leave a Reply

Your email address will not be published. Required fields are marked *