joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.53k stars 369 forks source link

Homebrew ports for old consoles #5005

Open strikersix23 opened 1 month ago

strikersix23 commented 1 month ago

Question

Does any of the devs see the possiblity of dosbox-x being to UWP/3ds/vita/switch or is tbat currently possible I know this may not be in the scope of this project but. I think its kinda of a novelty idea

Have you checked that no similar question(s) exist?

Code of Conduct & Contributing Guidelines

BridgeHeadland commented 1 month ago

Speaking of which, I would like to know something about this myself. Of course, I wonder if DOSBox-X will theoretically be able to be run in older consoles as well, via everdrive or something like that, and which consoles, despite the limitations. If possible, it would be fun to use DOSBox-X to experiment with the Stop 'n' Swop feature of the Nintendo 64, for example, if you're up to it.

joncampbell123 commented 2 weeks ago

Memory might be an issue for older consoles. DOSBox-X is quite a bit heavier memory wise than stock DOSBox.

If a port is made, it might help to reduce memory load by removing features that are not needed and possibly to limit the maximum memory range to less than 1GB instead of the full 4GB.

For example, do consoles need the video/audio capture functions?

strikersix23 commented 2 weeks ago

Id try to slim down a bit like remove some uncommon componates like external font loading "just the app", pcap networking, no audio video capture options, maybe a way to load the load the dosbox-x internal config drives? Id have to look more it depends on the console though a uwp port would be interesting. It maybe possible to support swap files on consoles like the 3ds or dsi up to (as far as I'm aware) 32mb on dsi, and maybe 1G 3ds I don't really know that for sure. I do know that there are linux ports for both consoles, 3ds does have a kernel and userspace networking but i dont about swap. But those may help a bit for system hardware reference. as an easier target for compiling toolchain would devkitpro as it uses msys64 and mingw for windows, and gcc and console lib ports that should help. networking, usb support and extra code for controllers code be striped amd optimized for a target specifc enviroment maybe something like lto could help if the toolchain supports it. So consoles like 3ds/2ds/psp 2k/ vita/ xbox 360/ wii/ wii u/ switch/ ps3 could be possible