MelonDS (Source)
melonDS aims at providing fast and accurate Nintendo DS emulation. While it is still a work in progress, it has a pretty solid set of features...
* Nearly complete core (CPU, video, audio, ...)
* JIT recompiler for fast emulation
* OpenGL renderer, 3D upscaling
* RTC, microphone, lid close/open
* Joystick support
* Savestates
* Various display position/sizing/rotation modes
* (WIP) Wifi: local multiplayer, online connectivity
* (WIP) DSi emulation
* DLDI
* (WIP) GBA slot add-ons
melonDS requires BIOS/firmware copies from a DS. Files required:
- bios7.bin, 16KB: ARM7 BIOS
- bios9.bin, 4KB: ARM9 BIOS
- firmware.bin, 128/256/512KB: firmware
Firmware boot requires a firmware dump from an original DS or DS Lite. DS firmwares dumped from a DSi or 3DS aren't bootable and only contain configuration data, thus they are only suitable when booting games directly.
-------------------------
How to build
- Install dependencies:
sudo apt install cmake libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qt5-default libslirp-dev libarchive-dev libepoxy-dev
- Download the melonDS repository and prepare:
git clone https://github.com/Arisotura/melonDS cd melonDS mkdir build && cd build
- Compile:
cmake ..
make -j$(nproc --all)
-------------------------
Personal note:
Does not compile with GCC 11.... 9 and 10 had no issues.