Melonds vs desmume6/24/2023 ![]() If this proves to be viable in the long run (despite the problems I will get to later), it may be an option for low-end platforms.ġ0 comments (last by ^.^) | Post a commentĪll the way back in early 2021 (I can't believe it's been 2 years) I wrote the compute shader renderer for the Switch port of melonDS as described in my previous post on it. * There is a substantial speed gain from HLEing the ARM7. So far, I've implemented enough of the utility services to get some games to boot, and observe a few things: So I've been experimenting with this in a private repo. Most of these services are fairly simple, with sound and wifi being by far the most complex ones. The services serve to provide access to the ARM7-side hardware: sound, wifi, touchscreen controller, PMIC, firmware memory, etc. When the game boots, there is a IPCSYNC handshake, then the ARM7 exposes a bunch of services that are accessed via the IPC FIFO. The ARM9 communicates with the ARM7 via the IPC hardware (IPCSYNC and the IPC FIFO), and some shared memory areas. It also means that the ARM7 is limited to taking care of utility tasks, while all the game logic is running on the ARM9. This means that, in theory, all commercial games out there will have one of the few possible ARM7 binary versions. It may seem feasible if you consider that Nintendo never allowed game developers to write their own ARM7 binaries. What I've been experimenting with melonHLE goes further: HLEing the ARM7. BIOS calls aren't critical enough that HLEing them might boost performance significantly. The main advantage to this is that the emulator doesn't require a proper BIOS dump to run games, but there is no other real benefit from this. Some emulators, like DeSmuME, are able to HLE the BIOS calls, basically replicating them inside the emulator. DS games are mostly self-contained and run on the bare metal, relying on the small BIOSes for basic functions like interrupt waits, decompression, etc. While my situation is being sorted out, I will make a post about an idea I had a while ago: attempting HLE for DS emulation.Īll the existing DS emulators, as far as I'm aware, are essentially LLE. If you're running into trouble: Howto/FAQ (WIP) Wifi: local multiplayer, online connectivity.Various display position/sizing/rotation modes.Nearly complete core (CPU, video, audio.While it is still a work in progress, it has a pretty solid set of features: Images used in the Input Config Dialog - see src/frontend/qt_sdl/InputConfig/resources/LICENSE.MelonDS aims at providing fast and accurate Nintendo DS emulation.The Free Software Foundation, either version 3 of the License, or It under the terms of the GNU General Public License as published by MelonDS is free software: you can redistribute it and/or modify All of you comrades who have been testing melonDS, reporting issues, suggesting shit, etc.Martin for GBAtek, a good piece of documentation.any feature you can eventually ask for that isn't outright stupid.LCD refresh time (used by some games for blending effects).other non-core shit (debugger, graphics viewers, etc).support for rendering screens to separate windows.the impossible quest of pixel-perfect 3D graphics.tools/mac-bundle.rb melonDS.app after the build is completed, or add -DMACOS_BUNDLE_LIBS=ON to the first CMake command. If you want an app bundle that can be distributed to other computers without needing to install dependencies through Homebrew, you can additionally run. If everything went well, melonDS.app should now be in the build directory. Arch Linux: sudo pacman -S base-devel cmake extra-cmake-modules git libpcap sdl2 qt5-base qt5-multimedia libslirp libarchive zstdĭownload the melonDS repository and prepare:Ĭmake -B build -DCMAKE_PREFIX_PATH= " $(brew -prefix ) $(brew -prefix libarchive ) " -DUSE_QT6=ONĬmake -build build -j $(sysctl -n hw.logicalcpu ).Older Ubuntu: sudo apt install cmake extra-cmake-modules libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qt5-default qtbase5-private-dev qtmultimedia5-dev libslirp-dev libarchive-dev libzstd-dev.Ubuntu 22.04: sudo apt install cmake extra-cmake-modules libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev qtbase5-dev qtbase5-private-dev qtmultimedia5-dev libslirp-dev libarchive-dev libzstd-dev.If you have a question, don't hesitate to ask, though! How to build Linux I don't know.Īs for the rest, the interface should be pretty straightforward. DSi BIOS dumps (in DSi mode) are not compatible. 128KB: DSi/3DS DS-mode firmware (reduced size due to lacking bootcode)ĭS BIOS dumps from a DSi or 3DS can be used with no compatibility issues.But also to, you know, have a fun challenge :)įirmware boot (not direct boot) requires a BIOS/firmware dump from an original DS or DS Lite.ĭS firmwares dumped from a DSi or 3DS aren't bootable and only contain configuration data, thus they are only suitable when booting games directly. The goal is to do things right and fast, akin to blargSNES (but hopefully better).
0 Comments
Leave a Reply. |