Stephane-D/SGDK logo

Stephane-D/SGDK

Free

SGDK - A free and open development kit for the Sega Mega Drive

FreeFree tier
Type
Open Source

About Stephane-D/SGDK

SGDK is a free and open-source development kit for creating software in C programming language for the Sega Mega Drive (also known as Sega Genesis). It provides a complete library with source code, custom resource compilation tools, and relies on the GCC compiler (m68k-elf target) and libgcc to generate ROM images. Binaries are pre-built for Windows, and the kit also requires Java for its custom tools. The library and custom tools are distributed under the MIT license, while the GCC compiler is under GPL3 with runtime exception. SGDK includes an online Doxygen documentation covering all structures and functions, and a wiki with installation instructions and tutorials. Last updated in April 2025 (version 2.11).

Key Features

Develop Sega Mega Drive software in C language
Complete development library with source code provided
Custom resource compilation tools for graphics, sounds, etc.
Uses GCC compiler (m68k-elf target) to generate ROM images
Pre-built binaries for Windows; cross-platform with manual installation
Online Doxygen documentation for all library structures and functions
Wiki with installation guides and tutorials
MIT licensed library and tools; GCC under GPL3 with runtime exception
Active development with recent release (v2.11, April 2025)

Pros & Cons

Pros
  • Free and open-source with permissive MIT license for library
  • Comprehensive library and tools bundled in one kit
  • Active community and ongoing development (latest v2.11)
  • Good documentation via wiki and Doxygen
  • Cross-platform support (Windows binaries provided, other OS can compile)
  • Uses industry-standard GCC compiler
Cons
  • Requires knowledge of C programming and Sega Mega Drive hardware
  • Java dependency for custom resource tools
  • Not beginner-friendly for those new to retro development
  • Only targets Sega Mega Drive (limited to one platform)
  • Manual installation needed on non-Windows systems

Best For

Homebrew game development for Sega Mega Drive / GenesisLearning retro console programming and hardwareCreating demos or ROM hacks for the Mega Drive platformEducational projects for understanding 16-bit game development

FAQ

What is SGDK?
SGDK is a free development kit for creating software in C for the Sega Mega Drive. It includes a development library, custom resource tools, and uses the GCC compiler to generate ROM images.
What programming language does SGDK use?
SGDK primarily uses the C programming language. Assembly is also possible but not necessary.
What platform does SGDK target?
SGDK targets the Sega Mega Drive (also known as Sega Genesis) and generates ROM images compatible with emulators and hardware flash carts.
Is SGDK free to use?
Yes, SGDK is free and open-source. The library and custom tools are distributed under the MIT license, and the GCC compiler is under GPL3 with a runtime exception.
What tools are required to use SGDK?
SGDK requires a GCC compiler (pre-built binaries for Windows are included) and Java for custom resource tools. A text editor and basic knowledge of the Sega Mega Drive hardware are recommended.