What Compiler Is Used for WonderSwan Development
This article provides a technical overview of the software development kit required for the Bandai WonderSwan, specifically identifying the specialized compiler utilized by programmers to create games for the handheld console. It details the architecture of the system and the specific toolchain names recognized by both official developers and the modern homebrew community.
The Bandai WonderSwan, released in 1999, utilized a custom CPU based on the NEC V30 architecture. To develop software for this unique hardware, programmers required a specialized toolchain capable of compiling code into the specific binary format required by the console. The primary software package used for this purpose was the official WonderSwan SDK. Within this SDK, the specialized compiler used for development was a proprietary C compiler based on the GNU Compiler Collection (GCC).
While the official kit was proprietary, the homebrew community has since standardized on open-source alternatives that replicate the original functionality. These modern toolchains are often referred to as gcc-wswan or simply the WonderSwan GCC. Regardless of whether using the original Bandai tools or modern equivalents, the core specialized compiler remains a GCC port tailored for the NEC V30 core, allowing developers to write efficient C code that interacts directly with the WonderSwan’s hardware registers and display capabilities.