Skip to content

Cerallin/HexCalculatorDS

Repository files navigation

HexCalculatorDS

build test publish-container release license

An integer calculator for Nintendo DS.

Screenshot (DeSmuME)

screenshot

Milestones

v1.0.0

  • input by touching sub screen
  • update current number
  • implement operators
  • add quotes to the formula tree
  • switch base: hex/dec/oct/bin
  • switch depth: QWORD/DWORD/WORD/BYTE
  • switch sign: signed/unsigned
  • evaluate the formula
  • disable number buttons with base
  • Implement bitwise not & negative
  • Implement backspace
  • Implement brackets

v1.1.0

  • Activate last pressed button (show focus sign)
  • Count unclosed left brackets
  • Disable width drawer if base == bin
  • Display version number on the sub screen

v1.2.0

  • Add background to the UINT32 on topleft
  • Modify the font shadows
  • Add animations

v2.0.0

  • scroll the formula
  • add color type for GBA/NDS 16-bit color
  • enable download play

License

This software is under GPL-2.0-or-later license.

HexCalculatorDS - An integer calculator for Nintendo DS.
Copyright (C) 2026  Cerallin <cerallin@cerallin.top>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Third parties

Develop

Devcontainer

This project supports VS Code Dev Container. To run the devcontainer:

  • Locally (with VS Code):

    1. Open the project folder in VS Code.
    2. If prompted, click "Reopen in Container". Or use the command palette: Dev Containers: Reopen in Container.
    3. The environment will be automatically set up and ready for development.
  • GitHub Codespaces:

    1. Open the repository in GitHub.
    2. Click the "Code" button and select "Open with Codespaces".
    3. The workspace will launch in a cloud devcontainer with all dependencies pre-installed.

pre-commit

A git pre-commit hook is configured. Before each commit, all staged C/C++ files are automatically formatted using clang-format, according to the rules defined in the .clang-format file.

# Install clang-format if not present
sudo apt update && sudo apt install -y clang-format
# Intall the hooks
./scripts/install-hooks

About

An integer calculator for Nintendo DS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors