Converter - LAMP-Platform/LAMP GitHub Wiki

The Converter is a small tool that can convert between Hexadecimal (HEX) and Decimal (DEC) numbers.

Converter Tool Interface

Hexadecimal

In Computer Science and ROM-Hacking, binary data is often represented as HEX, where 1 Byte equals 2 HEX digits. LAMP predominantly uses HEX notation. If unsure of the number base being used, it's safe to assume it is HEX unless stated otherwise. To assist users unfamiliar with HEX, LAMP includes a Converter tool capable of converting between HEX and DEC. This tool uniquely includes a DEC input for ease of use.

Converting

To convert a number:

  • HEX to DEC: Enter a HEX value into the Hexadecimal box; the corresponding DEC value will automatically appear in the Decimal box.
  • DEC to HEX: Input a DEC value into the Decimal box; the corresponding HEX value will automatically be populated in the Hexadecimal box.

Docking

The Converter can be integrated directly into LAMP's Main Window:

  • Docking the Converter: Select View -> Converter from the main window menu to dock the Converter under the Tileset display.
  • Undocking: To remove the Converter, select View -> Converter again from the main menu.

The functionality of the Converter remains unchanged whether it is docked or standalone.