GBDK 2020 Docs  4.4.0
API Documentation for GBDK 2020
Links, Tools and Debugging

This is a brief list of useful tools and information. It is not meant to be complete or exhaustive, for a larger list see the Awesome Game Boy Development list.

SDCC Compiler Suite User Manual

Getting Help

Game Boy Documentation

Sega Master System / Game Gear Documentation

Mega Duck / Cougar Boy Documentation

Tutorials

Example code

Graphics Tools

Music And Sound Effects for the Game Boy

Music And Sound Effects for the SMS/Game Gear

Emulators

Intellisense in VSCode may have trouble identifying some GBDK types or functions, and therefore flag them as warnings or unidentified.

GBDK platform constants can be declared so that header files are parsed more completely in VSCode. The following c_cpp_properties.json example may be adapted for your own project.

    {
        "configurations": [
            {
                "name": "gameboy",
                "includePath": [
                    "${workspaceFolder}/src/**",
                    "${workspaceFolder}/res/**",
                    "${workspaceFolder}/include/**",
                    "${workspaceFolder}/../../../gbdk/include/**"
                ],
                "defines": ["__PORT_sm83", "__TARGET_gb"],
                "compilerPath": "",
                "cStandard": "c11",
                "intelliSenseMode": "${default}",
                "compilerArgs": [],
                "browse": {
                    "limitSymbolsToIncludedHeaders": true
                }
            }
        ],
        "version": 4
    }

Debugging tools

Optimizing Assembly

Continuous Integration and Deployment