schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
731 stars 61 forks source link

Core crashing on Nintendo Switch #131

Open evillurker opened 3 years ago

evillurker commented 3 years ago

Hey man. Loved the latest updates! I recently hacked my switch and was eager to try out dosbox-pure on the new system, however, whenever I try to load any game, the menu does not appear - instead it just crashes retroarch immediately.

This does not happen with any other core as I am running it with full ram access (hold r1 etc) So it's definitely a dosbox pure core problem

I will mention that I tested it in around 3-4 games which were LBA, LBA2, Flashback and a few others. There was only 1 instance when it didn't crash and it was on Blood.

Tested on EXE, BAT files, nightly retroarch build and official stable.

Would love it if you check it out. Thanks

schellingb commented 3 years ago

I recently pushed some buttons and twiddled some knobs to get the buildbot to output a Switch build. I was waiting for someone to try it but was hoping for a more positive result... Without any ways to test it myself it's really hard to say what could be wrong. I'm surprised Blood runs at all, that is certainly not a simple DOS game. Weird... I guess I need to disable to Switch build then, no use if it's that broken :-(

evillurker commented 3 years ago

Oh man, That is sad news... I was building on that.. I really wish you will find a way to test and fix this. Love your work man, keep it up and please update us when you release a working core. Thank you so much.

evillurker commented 3 years ago

Hey man. Just tried running dosbox through a playlist and it seems that it is working. For another world anyways, didnt try others, and it fixes a lot of stuff that svn has issues with on the core.

bladeSk commented 3 years ago

Same problem here. If it's any help - I could get real mode games to run and got a crash only after exitting RetroArch. All protected mode games I tried crashed immediately. Might be a coincidence, though.

evillurker commented 3 years ago

Same problem here. If it's any help - I could get real mode games to run and got a crash only after exitting RetroArch. All protected mode games I tried crashed immediately. Might be a coincidence, though.

It's just broken as the core author said.. nothing can be done. I managed to run everything perfectly though , through DOSBox-SVN, needs a heavy configuration though.

colinschwegmann commented 2 years ago

What is the status of this?

Is there anyway someone could share a build of this core for the Nintendo Switch? My hope is that it'll work with the few games I have.

schellingb commented 2 years ago

As far as I understand, it works when the "dynamic recompilation" isn't used. Older (non protected mode) DOS games by default don't use that, so they probably work. It can be fully disabled in the options but this would make the core unusably slow for most mid to late era DOS games. If there's demand for a slow version of this core for Switch, I can re-enable the build but with the "dynamic recompilation" option removed I guess. Ideally I'd get help from someone with debugging/development skills on Switch so we could make it work properly.