An integer calculator for Nintendo DS.
- 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
- Activate last pressed button (show focus sign)
- Count unclosed left brackets
- Disable width drawer if base == bin
- Display version number on the sub screen
- Add background to the
UINT32on topleft - Modify the font shadows
- Add animations
- scroll the formula
- add color type for GBA/NDS 16-bit color
- enable download play
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.
- libnds v1.8.x
- A modified version of Ark Pixel Font
This project supports VS Code Dev Container. To run the devcontainer:
-
Locally (with VS Code):
- Open the project folder in VS Code.
- If prompted, click "Reopen in Container". Or use the command palette:
Dev Containers: Reopen in Container. - The environment will be automatically set up and ready for development.
-
GitHub Codespaces:
- Open the repository in GitHub.
- Click the "Code" button and select "Open with Codespaces".
- The workspace will launch in a cloud devcontainer with all dependencies pre-installed.
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