simple console with custom scripting language for nintendo ds written in c++ using devkitpro's headers
Go to file
2022-07-21 02:52:27 +02:00
.vscode implemented the call process function but not found the execv corrispective for libnds 2022-07-16 11:31:03 +02:00
source added frees for malloced data, except for NScript::Node, todo: add frees also for Node 2022-07-21 02:52:27 +02:00
.gitignore fixed a lot of bugs, included fat lib didn't work, not it works 2022-07-11 16:34:07 +02:00
Makefile trying to use fat libs but initdefault fails even on hw 2022-07-10 16:35:32 +02:00
readme.md added readme 2022-07-10 14:20:44 +02:00

why

  • for fun
  • having a terminal application on your ds which gets more control over it

requirements

  • devkitpro
  • make
  • desmume (optional)

how to compile it

clone https://github.com/christallo/nds-console
cd nds-console
make

how to run it

  • on desmume (for debugging)
make && desmume nds-console.nds
  • on physical nintendo ds console (for distrubution)
    • make
    • move nds-console.nds to your R4 or your modded sd

how to edit it in vscode

  • create a configuration json file for c/cpp
  • open .vscode\c_cpp_properties.json
  • write
{
    "configurations": [
        {
            "name": "Win32", // for windows
            "name": "Linux", // for linux

            "includePath": [
                "C:/devkitpro/devkitARM/arm-none-eabi/include",   // for windows
                "/opt/devkitpro/devkitARM/arm-none-eabi/include", // for linux

                "C:/devkitpro/libnds/include",   // for windows
                "/opt/devkitpro/libnds/include", // for linux

                "${workspaceFolder}/**"
            ],
        
            "defines": ["ARM9"],

            "compilerPath": "C:/devkitPro/devkitARM/bin/arm-none-eabi-g++.exe",   // for windows
            "compilerPath": "/opt/devkitPro/devkitARM/bin/arm-none-eabi-g++.exe", // for linux

            "cStandard": "gnu17",
            "cppStandard": "gnu++14",
            "intelliSenseMode": "windows-gcc-x64", // for windows
            "intelliSenseMode": "linux-gcc-x64",   // for linux
        }
    ],
    "version": 4
}
  • delete the line you don't care with comments about your os