百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gbdk-2020

> 编程语言
开源

GBDK 的更新版本、C 编译器、汇编器、链接器以及用于 Nintendo Gameboy、Nintendo Entertainment System、Sega Master System、Sega

2.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

GBDK 的更新版本、C 编译器、汇编器、链接器以及用于 Nintendo Gameboy、Nintendo Entertainment System、Sega Master System、Sega

GBDK-2020

GBDK is a cross-platform development kit for sm83, z80 and 6502 based gaming consoles. It includes libraries, toolchain utilities and the SDCC C compiler suite.

Supported Consoles: (see docs)

  • Nintendo Game Boy / Game Boy Color
  • Analogue Pocket
  • Sega Master System & Game Gear
  • Mega Duck / Cougar Boy
  • NES

Experimental consoles (not yet fully functional)

  • MSXDOS

Current Release

Upgrading to a new version? Check the Migration notes. You can find older versions here.

For a full list of changes see the ChangeLog file or online Docs.

Build status

Made with GBDK-2020

See our gallery showcasing Games and Programs made with GBDK, including open source and cart release filters.

Docs

GBDK includes extensive documentation. A good place to begin is the Getting Started Section.

Check the Links and Third-Party Tools Section for a list of recommended emulators, graphics tools, music drivers and more.

For SDCC you can check its website and the manual

Usage

Most users will only need to download and unzip the latest release

Then go to the examples folder and build them (with compile.bat on Windows or running make). They are a good starting point.

The sources in this repo are only needed if you want to re-compile GBDK-2020 yourself instead of using the release binaries linked above.

Discord servers

  • gbdk/zgb Discord - For help with using GBDK (and ZGB), discussion and development of gbdk-2020

  • gbdev Discord - There is a #gbdk channel and also people with a lot of Game Boy development knowledge

  • SMS Power! Discord - Additional SMS & Game Gear discussion and resources.

Forums

  • The Game Boy Development Forum - A good place to search for Game Boy related answers.
  • SMS Power! Forum - Additional SMS & Game Gear discussion and resources.

Current status

  • Updated CRT and library that suits better for game development
  • SDCC Versions
    • A custom build of SDCC is used with patches to support Sega GG/SMS and the Nintendo NES. See the github workflow for details of how to patch and build SDCC.
    • The default calling convention changed in SDCC 4.2. This is supported starting with GBDK-2020 4.1.0. Older versions of GBDK should use SDCC builds #12539 or older (see per-version GBDK notes).
  • The compiler driver lcc supports the latest sdcc toolchain.

Origin

Over the years people have been complaining about all the GBDK issues caused by a very old version of SDCC (the compiler). This is a proper attempt of updating it while also keeping all the old functionality working, like support for banked code and data and so on.

The last version in the OLD repo is 2.96 although releases are available until 2.95-3. Version 2.96 is the starting point of this repo.

Build instructions

Unless you are interested on recompiling the sources for some reason (like fixing some bugs) you don't need to build GBDK

  • Windows only: Download and install mingw
  • Clone, download this repo or just get the source from the releases
  • Download and install the PATCHED sdcc builds from the separate repo for that (https://github.com/gbdk-2020/gbdk-2020-sdcc).
  • On Linux don't use package managers The latest release available won't work, you need to compile or download one of the nightlies
  • Create SDCCDIR environment variable, that points into the folder, where you installed sdcc
  • Open command prompt or a terminal, go to the root directory of the repo and run make

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Nintendo Game Boy / Game Boy Color
  • •Analogue Pocket
  • •Sega Master System & Game Gear
  • •Mega Duck / Cougar Boy
  • •gbdk/zgb Discord - For help with using GBDK (and ZGB), discussion and development of gbdk-2020
  • •gbdev Discord - There is a #gbdk channel and also people with a lot of Game Boy development knowledge
  • •SMS Power! Discord - Additional SMS & Game Gear discussion and resources.
  • •The Game Boy Development Forum - A good place to search for Game Boy related answers.
  • •SMS Power! Forum - Additional SMS & Game Gear discussion and resources.
  • •Updated CRT and library that suits better for game development

> 标签

Cgameboygbdksdcc

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言